You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Nadav Fischer (JIRA)" <ji...@apache.org> on 2009/07/12 13:15:14 UTC
[jira] Assigned: (WINK-72) consistent behavior for mis-quoted etag
header values
[ https://issues.apache.org/jira/browse/WINK-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nadav Fischer reassigned WINK-72:
---------------------------------
Assignee: Nadav Fischer
> consistent behavior for mis-quoted etag header values
> -----------------------------------------------------
>
> Key: WINK-72
> URL: https://issues.apache.org/jira/browse/WINK-72
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.1
> Reporter: Mike Rheinheimer
> Assignee: Nadav Fischer
> Fix For: 0.1
>
> Attachments: patch.txt
>
>
> Currently, the runtime will throw an IllegalArgumentException (and thus a 500 response code) if an ETag (in the form of an If-Match or If-None-Match header value) with no quotes is passed to the server. If the ETag has a single quote at the front, or a single quote at the back, but is not fully wrapped, we'll get a 412 response code. I know this is very nit-picky, but I'd like to see consistency here.
> Current behavior:
> "etag" --> success
> "etag --> 412
> etag" --> 412
> etag --> 500
> Desired behavior is for that 500 to be a 412. Please see patch, which has tests and fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.