Hi,

I posted this question here:
http://forums.mozillazine.org/viewtopic.php?p=2309944
but haven't gotten any responses so I thought I'd try here.

Using nsIWebProgressListener, I'm trying to write code that can
identify new nsIRequests as ones that were created as a result of a
redirect. The documentation for nsIWebProgressListener states:

"STATE_REDIRECTING: This flag indicates that a request is being
redirected. The request passed to onStateChange is the request that is
being redirected. When a redirect occurs, a new request is generated
automatically to process the new request. Expect a corresponding
STATE_START event for the new request, and a STATE_STOP for the
redirected request."

Is there any way to correlate the new nsIRequest to the original
nsIRequest? Maybe there's another way to correlate redirects to the
original URL if not with nsIWebProgressListener?

Thanks for any ideas,
Eric
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to