Some time the headers are received but sometimes not.
dushyant masta wrote:
>
> I am using version - commons-httpclient-3.1.
> i am using the code like
>
> Header[] headers = method.getResponseHeaders("abc");
>
> .........
>
> thanks,
> Dushyant
>
> Sam Crawford wrote:
>>
>> What version are you using?
>>
>> Can you enable header logging, as per the documentation? See
>> http://hc.apache.org/httpcomponents-client-4.0.1/logging.html for v4.0
>>
>> Thanks,
>>
>> Sam
>>
>>
>> On 1 July 2010 13:27, dushyant masta <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> I am sending a request to the sample.aspx page where the server adds
>>> some
>>> string and header information in the response . when i fetch the
>>> response ,
>>> i am able to get the response in the string but unable to get the header
>>> part. can ;someone tell me whats going wrong?
>>>
>>> thanks,
>>> Dushyant kumar masta
>>> --
>>> View this message in context:
>>> http://old.nabble.com/unable-to-get-header-information-from-the-response-tp29045063p29045063.html
>>> Sent from the HttpClient-User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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]
>>
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/unable-to-get-header-information-from-the-response-tp29045063p29052853.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]