hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Porter" <PORTE...@WMGMAIL.wmg.warwick.ac.uk>
Subject Tips for first timers...
Date Wed, 08 Mar 2006 17:25:19 GMT
I'd like to share some tips for first times with the HTTP Client API.



HTTP Client is a great API. Sometimes you need to persist a little, but
in the end it will save you a lot of code/time.



If you're not sure what is being sent between your browser & server,
then you will not have a chance.

Quote: "After all it is all about bits and bytes transmitted across the
wire - Oleg"


Try this program out if you're not sure what headers/cookies etc are
being sent.



It also good to confirm what you are sending/getting back.




Check the settings like...

ADER, true);


It forces all request cookies into one request header, which it seems IE
does, but Firefox doesn't (from my testing).

So if you're having a problem with signing into a website, then try
setting this to true.



Set up "AuthenticationPreemptive", will save you a lot of hassle. Its
worth looking into.



I know that's not a lot of tips, but I hope they will help someone else


Finally, a big thanks to Oleg & Roland.




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message