Re: New Version Notification for draft-kazuho-httpbis-selftrace-00.txt

2021年8月16日(月) 10:50 Martin Thomson <mt@lowentropy.net>:

> On Mon, Aug 16, 2021, at 11:33, Ryan Sleevi wrote:
> > I don’t see why it would help? Isn’t this assuming the subsequent
> > request will be negotiated over the same transport connection, which is
> > not something guaranteed by any modern browser?
>
> No, I wouldn't assume anything of the sort.  The contract would be that
> this URL, no matter how it was resolved, would return a trace for the
> connection(s) on which the original request was made.
>
>
Martin, thank you for suggesting this. I like it.

I think this might be the correct thing to do, being uncertain if browsers
would send requests for traces over the same connection.

For privacy reasons (and probably also for security reasons), the
requirement we have is that only the client that created the connection
should be capable of fetching the trace.

In the original approach, we had the implicit binding between the
connection to be traced and the trace request - the trace request was sent
over the connection to be traced.

In the proposed approach (of using a response header field that points to
the URL from which the trace can be obtained), an explicit token can be
included in that URL (or the server can send an authentication token if
necessary).

-- 
Kazuho Oku

Received on Tuesday, 17 August 2021 03:54:23 UTC