When I call:


HttpMethod.removeRequestHeader( "User-Agent" ) ;

... the header is not removed and the value is "Jakarta-Commons-HttpClient ..." based on the packet capture that I have done.
If I call:


HttpMethod.setRequestHeader( "User-Agent", null ) ;

... the header is there without any value.
If I call:

   HttpMethod.setRequestHeader( "User-Agent", null ) ;
   HttpMethod.removeRequestHeader( "User-Agent" ) ;

... the User-Agent header is again not removed and the value is "Jakarta-Commons-Httpclient .. .blah"




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



Reply via email to