Song Chang wrote:
Is there a configuration where I can put all header
values instead of manually setting them? Or does it
make sense at all?

The 'http.default-headers' parameter is your friend. For details see the
HttpClient preference API guide:

http://jakarta.apache.org/commons/httpclient/preference-api.html#Host_configuration_parameters

Oleg


--- Roland Weber <[EMAIL PROTECTED]> wrote:

Hi Song Chang,

works for those sites which didn't work for me
before.
Could it be an issue of user-agent?
Yes, it could. Nowadays, sites have to protect
themselves
against lots of malicious attacks. We've had at
least one
case where a firewall somewhere along the line would
simply
drop the connection because the User-Agent header
had a
value that was not in it's list.

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to