You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Ortwin Glück (JIRA)" <ji...@apache.org> on 2008/09/04 13:05:44 UTC
[jira] Resolved: (HTTPCLIENT-794) HTTP.DATE_HEADER
[ https://issues.apache.org/jira/browse/HTTPCLIENT-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ortwin Glück resolved HTTPCLIENT-794.
-------------------------------------
Resolution: Invalid
Apparently the server sends the wrong time in the Header. How is that the client's fault?
> 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
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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