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
Fix For: 0.1
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.