hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Conway (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCLIENT-794) HTTP.DATE_HEADER
Date Thu, 04 Sep 2008 10:47:44 GMT
HTTP.DATE_HEADER
----------------

                 Key: HTTPCLIENT-794
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-794
             Project: HttpComponents HttpClient
          Issue Type: Question
          Components: HttpClient
    Affects Versions: 4.0 Beta 1
         Environment: MAC OS X, Eclipse, 
            Reporter: Patrick Conway


In my code below the Time Stamp returned in Headers is always off by an hr?
At the time of running the code it was 11.38 GMT

Any idea where the problem is ?  Is it correctable in my code?

I've checked the time, both on the client and server and both are correct

"
  HttpResponse response = httpclient.execute(httpget);
        HttpEntity entity = response.getEntity();
        
        Header h1 = response.getFirstHeader(HTTP.DATE_HEADER);
"

output

2604 [main] DEBUG org.apache.http.headers SiteMonitor - << Date: Thu, 04 Sep 2008 10:38:55
GMT


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message