matty i wrote: > i'm trying to write a script to grab mail from a (webmail) site that > uses an https POST to login. the login works fine in mozilla, but i > can't seem to make the script authenticate properly. is there a way i > can get a look at what mozilla is sending to the server > (pre-encrypted, of course)? if not (by set of flags), can anyone > point me at the relevant source? > > thanks. > >
you can do this to log the HTTP headers: set NSPR_LOG_MODULES=nsHttp:2 set NSPR_LOG_FILE=http.log set these environment variables, and you should be good to go... of course the mechanism by which you set them depends on your system :-) you can set nsHttp:5 if you'd like full debug output from the HTTP module, but this still won't generate the full data that is sent or received. darin
