I'm hoping that is possible
TIA
Syko
Daniel
TIA
Syko
and it changed the user-agent and re-added all the useless (in this
context) headers.... seems like a really stupid way for it to be acting
Syko
Mozilla's HTTP implementation conforms with the non-standard, but widely
implemented behavior, that the HTTP request method "should be" GET when
following a 302. To force Mozilla to preserve the original request
method, the server can send a 307 instead of a 302. That is, of course,
only an option if you have control over the server/site.
As for the headers not being added back in... that is reasonably a bug
in the implementation. The HTTP layer should preserve the request
headers from the original request. I've filed bug 216828 for this issue.
As for being able to disable the auto-redirect behavior when using
XMLHttpRequest, it doesn't look like there is a solution there. If
however you are using the Mozilla Networking Library (aka Necko)
directly, then there is a way to disable the auto-redirect behavior.
Darin