[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hybi] Errors in HTTP proxy examples in Web Socket protocol, 3.1 step 3



The examples don't (explicitly) include the (required) port number in the authority part of the Request-Line.  Also, they're missing HTTP/1.1's (required) Host header.  They instead should be:

  CONNECT example.com:80 HTTP/1.1
  Host: example.com

and

  CONNECT example.com:80 HTTP/1.1
  Host: example.com
  Proxy-authorization: Basic ZWRuYW1vZGU6bm9jYXBlcyE=


Jeff

Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.