You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Jonathan Moore (JIRA)" <ji...@apache.org> on 2010/09/08 19:56:32 UTC

[jira] Created: (HTTPCLIENT-991) cache module produces improperly formatted Warning header when revalidation fails

cache module produces improperly formatted Warning header when revalidation fails
---------------------------------------------------------------------------------

                 Key: HTTPCLIENT-991
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-991
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: Cache
    Affects Versions: 4.1 Alpha2
            Reporter: Jonathan Moore


The warning header currently attached to a stale response by the caching module when validation with the origin server fails is not a properly-formatted Warning header.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.46

-- 
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


[jira] Resolved: (HTTPCLIENT-991) cache module produces improperly formatted Warning header when revalidation fails

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-991.
------------------------------------------

    Fix Version/s: 4.1 Alpha3
       Resolution: Fixed

Patch checked in.

Oleg

> cache module produces improperly formatted Warning header when revalidation fails
> ---------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-991
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-991
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 4.1 Alpha2
>            Reporter: Jonathan Moore
>             Fix For: 4.1 Alpha3
>
>         Attachments: revalidation-failed-warning.patch
>
>
> The warning header currently attached to a stale response by the caching module when validation with the origin server fails is not a properly-formatted Warning header.
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.46

-- 
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


[jira] Updated: (HTTPCLIENT-991) cache module produces improperly formatted Warning header when revalidation fails

Posted by "Jonathan Moore (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Moore updated HTTPCLIENT-991:
--------------------------------------

    Attachment: revalidation-failed-warning.patch

The following patch addresses this issue (as well as documenting a couple of other Warning-related SHOULD requirements as unit tests in TestProtocolRecommendations).

This patch is contributed to the ASF with the permission of my employer.


> cache module produces improperly formatted Warning header when revalidation fails
> ---------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-991
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-991
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 4.1 Alpha2
>            Reporter: Jonathan Moore
>         Attachments: revalidation-failed-warning.patch
>
>
> The warning header currently attached to a stale response by the caching module when validation with the origin server fails is not a properly-formatted Warning header.
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.46

-- 
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