On Tue, 28 Jul 2009, Joseph Pecoraro wrote:
>
> I originally helped someone in an IRC channel with this question. He
> wanted to check a "Date" header being sent from his server, via
> Javascript. I don't know what his exact reason was. We provided him
> the same solutions mentioned here.
W
On Tue, 28 Jul 2009, Adam de Boor wrote:
>
> one of the biggest use cases is for an app to understand whether its pages
> are coming through a proxy. in theory this shouldn't be necessary, but in
> practice it sometimes is. perhaps not a large enough use case to justify
> adding the capability to t
On Jul 28, 2009, at 9: 21PM, Ian Hickson wrote:
Use Cases:
Any that apply to XHR accessing their response headers would
certainly
apply here. Some thoughts are accessing the Content-Type header or
Custom Headers and acting accordingly.
You can just include the data straight into the page, f
one of the biggest use cases is for an app to understand whether its pages
are coming through a proxy. in theory this shouldn't be necessary, but in
practice it sometimes is. perhaps not a large enough use case to justify
adding the capability to the spec.
a
On Tue, Jul 28, 2009 at 6:21 PM, Ian Hi
On Wed, 15 Jul 2009, Joseph Pecoraro wrote:
>
> It seems like an oversight that Javascript can read response headers off
> of XHR but not for the current document. So in order to find out the
> headers for the current document you would need to make another request,
> refetching the current pag
Is it possible that the usage of HTTP to obtain a document for rendering and
to obtain a document for XHR would differ sufficiently that the HTTP headers
would differ?
On Wed, Jul 15, 2009 at 12:07 PM, Joseph Pecoraro wrote:
> It seems like an oversight that Javascript can read response headers o
It seems like an oversight that Javascript can read response headers
off of XHR but not for the current document. So in order to find out
the headers for the current document you would need to make another
request, refetching the current page, to find that out [1].
Use Cases:
Any that appl