RE: Question about Resource timing Spec (http://www.w3.org/TR/resource-timing/)

Thanks for getting back to me on this.
I have commented on the ticket: https://github.com/w3c/resource-timing/issues/8#issuecomment-74702073

________________________________
From: Ilya Grigorik [igrigorik@google.com]
Sent: Tuesday, February 17, 2015 11:49 AM
To: Venkataraman, Narendra
Cc: public-web-perf@w3.org
Subject: Re: Question about Resource timing Spec (http://www.w3.org/TR/resource-timing/)


On Mon, Feb 16, 2015 at 1:45 PM, Venkataraman, Narendra <naren@vimeo.com<mailto:naren@vimeo.com>> wrote:

I would like to log OPTIONS request timings so I can report to Google Cloud support. Unfortunately, the HTTP method is not recorded in the resource timing spec.

Right now I can't distinguish b/w PUT vs OPTIONS.

I'm assuming the request is invoked via XHR -- right? Is there any reason why you can't instrument the upload logic to get the method and/or any other variables from the request object itself? We don't want to duplicate unnecessary data in the timing object.

ig

Received on Tuesday, 17 February 2015 17:42:45 UTC