[Greasemonkey] Feature request: access to HTTP headers

Matt McCarthy dnl2ba at gmail.com
Fri Jun 3 00:00:48 EDT 2005


Does it have to be the header for that exact page load? Would it suffice to 
make a HEAD request for the current location (XMLHTTP) and use that? 
Naturally, some values will change from request to request, so it's not 
perfect.

Which header fields do you need?

On 6/1/05, Mark Pilgrim <pilgrim at gmail.com> wrote:
> 
> It would help in several scripts I'm working on if I could get access
> to the HTTP headers that the server returned along with the page. An
> associative array would be best, although I could parse a big honking
> string if I had to.
> 
> --
> Cheers,
> -Mark
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
> 



-- 
When I am king, you will be first against the wall
With your opinion, which is of no consequence at all.
-Radiohead, "Paranoid Android"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/greasemonkey/attachments/20050602/926e2edb/attachment.htm


More information about the Greasemonkey mailing list