https://issues.apache.org/bugzilla/show_bug.cgi?id=53547

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
The LWS inserted by Tomcat is permitted by RFC2616. See the definition of
"implied *LWS" on page 14.

The definition of content type (section 14.7) is:
Content-Type   = "Content-Type" ":" media-type
with no LWS limits

Expanding media-type (section 3.7) gives:
Content-Type   = "Content-Type" ":" type "/" subtype *( ";" parameter )
with the following LWS limits:
- LWS MUST NOT be used between the type and subtype
- LWS MUST NOT be used between an attribute and its value

Expanding parameter (section 3.6) gives:
Content-Type   = "Content-Type" ":" type "/" subtype *( ";" attribute "="
value)
with the following LWS limits:
- LWS MUST NOT be used between the type and subtype
- LWS MUST NOT be used between an attribute and its value

Tomcat inserts LWS after the ; and before attribute which is permitted by
RFC2616 under the "implied *LWS rule" since ; is a separator and attribute is a
token.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to