Comment 2 for bug 745486

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 745486] Re: We need to return the URL as a header in AJAX request for logging

On Thu, Mar 31, 2011 at 6:47 AM, Deryck Hodge
<email address hidden> wrote:
> Independent of the request for a new header here, I'm confused a bit.
> You want to log AJAX requests but don't know the URL being requested?
> How can you make a XHR without a URL?
>
> Perhaps you could explain more about what you're trying to do and what
> you don't have access to the URL, just in case there's some way to get
> the URL that isn't obvious.  My apologies if you've been over this with
> others and already covered this ground.

the response object doesn't know the originating url in a
cross-browser fashion; the log hooks into the response handler not the
submission.