1
I can send telnet command to google.com but not to tinyurl.com
On windows telnet I typed the following:
set localecho
set crlf
o tinyurl.com 80
It returns 400-bad request, why?
I know I should use HTTP 1.1 the problem is I cannot even connect to the server it closes it after sending 404 error. Why?
Michiel wrote "one of the headers", which is correct: http://web-sniffer.net/?url=tinyurl.com%2Ffoobar&http=1.1&rawhtml=yes&gzip=yes&type=GET&uak=0 It does support HTTP 1.0 though (when used with Host header) and should not respond with 400 Bad Request when just opening the connection. Rebol needs to provide more details about the desired request.
– Arjan – 2009-08-18T11:09:27.683Ah, you wrote the last statement, so: you were referring to the which suggests part. (I somehow thought you were saying that the quoted header itself was false information.) You're totally right, the first header indeed indicates the server is supposed to support 1.1 and earlier. – Arjan – 2009-08-20T21:16:56.807