W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2012

Re: HTTP 1.1 --> 2.0 Upgrade

From: Phillip Hallam-Baker <hallam@gmail.com>
Date: Mon, 20 Aug 2012 15:25:49 -0400
Message-ID: <CAMm+LwiY_GV3Ch5ePquksLaNF5BeLfyhnpHi6MVdu5km7GZOzw@mail.gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
Cc: Eliot Lear <lear@cisco.com>, Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
I think the URI proposal is an excellent way to allow a Web Service to
be identified by means of just a DNS name. So instead of specifying
http://wev.google.com/_well-known/wev, someone can just type
'google.com' into their wev client and it works.

It is not a good match for resolving http URLs but it is a good way to
resolve a raw dns name and a service identifier to a web service
endpoint.


That said, how does a Web service using the URI scheme tell clients
that the service is available via http/1.1 or http/2.0 so that it can
select the appropriate host and port first time?

It would be rather useful to have http2: and http2s: defined as URL
schemes for 'this really has to run over http2, don't try anything
else, just do it', ditto for http1 and http1s and have http:, https:
be used for 'try what works'.

http2 is not a scheme people should use as a regular thing, it should
only be used when the distinction between http1 and http2 really
matters. For example, when the Web site is only available on http2 and
http1 is not supported or for debugging Web sites or to enable
negotiation of the protocol version whether via SRV or some other
scheme.

On Mon, Aug 20, 2012 at 3:00 PM, Ted Hardie <ted.ietf@gmail.com> wrote:
> On Mon, Aug 20, 2012 at 10:39 AM, Eliot Lear <lear@cisco.com> wrote:
>
>> Reasonable?  Yes.  Best course of action?  I don't know.  I know I'm
>> beginning to sound like a broken record, but I don't know if SRV is the
>> right record for the job.  For one thing, if you use another record, you
>> can use that same optimistic approach for an explicit port in the URI.
>> Of course, then there is the added implementation headache of a new
>> record.  We've gotten around that elseewhere with TXT records, but I
>> don't recommend it here.
>>
>
> Do you mean to suggest something like
> http://tools.ietf.org/id/draft-faltstrom-uri-06.txt ?
>
> regards,
>
> Ted
>



-- 
Website: http://hallambaker.com/
Received on Monday, 20 August 2012 19:26:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 August 2012 19:26:22 GMT