CocoaSPDY
CocoaSPDY copied to clipboard
the host should is host:port
In -allSPDYHeader of NSURLRequest + SPDYURLRequest.m.
- - NSMutableDictionary *spdyHeaders = [[NSMutableDictionary alloc] initWithDictionary:@{
- - @":method" : self.HTTPMethod,
- - @":path" : path,
- - @":version" : @"HTTP/1.1",
- - @":host" : url.host,
- - @":scheme" : url.scheme
- - }];
the host should is host:port。
(http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3#TOC-3.2.1-Request) ":host" - the hostport (See RFC1738) portion of the URL for this request (e.g. "www.google.com:1234"). This header is the same as the HTTP 'Host' header.
Good find, thanks! Feel free to submit a pull request.