Re: :scheme and CONNECT method

On Wed, Aug 14, 2013 at 2:35 AM, Martin Thomson <martin.thomson@gmail.com>wrote:

> On 13 August 2013 15:42, William Chan (陈智昌) <willchan@chromium.org> wrote:
> > I suggest opening an issue for this.
>
> https://github.com/http2/http2-spec/issues/230
>
> Just spit-balling, but I think that the '*' form is a better way to
> deal with this, i.e.,
>
> :method = CONNECT
> :scheme https
> :host example.org:443
> :path *
>
>
I'm fine with these values as long as it is clearly defined in the spec..
but proxy may not use the value of scheme in this case because
the tunneled protocol may be unknown to the proxy.


> The trick here is that the DATA frames that form the "request body"
> constitute a separate channel that is reliable, in-ordered, etc...
> This channel can be used to perform a TLS handshake and run any
> protocol you like.
>

This is what the SPDY proxy currently does as far as I know.

Best regards,

Tatsuhiro Tsujikawa

Received on Wednesday, 14 August 2013 07:55:45 UTC