You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/03/01 23:15:12 UTC

[jira] Commented: (DIRMINA-666) HTTP header parsing example incompatible with rfc2616 / content-length field name should be interrepted as case-insensitive

    [ https://issues.apache.org/jira/browse/DIRMINA-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677858#action_12677858 ] 

Emmanuel Lecharny commented on DIRMINA-666:
-------------------------------------------

Just to be sure, are you refering to class HttpResponseDecodingState ?

> HTTP header parsing example incompatible with rfc2616 / content-length field name should be interrepted as case-insensitive
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-666
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-666
>             Project: MINA
>          Issue Type: Bug
>          Components: Example
>    Affects Versions: 1.1.0
>         Environment: Linux
>            Reporter: Janne Siren
>            Priority: Critical
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Qt4 (4.4.3) QHttp class sends HTTP/POST command with HTTP header which has "content-length" field name in small letters. HTTP header parsing functionality in MINA Example does not accept these POST commands as it expects case-sensitive field name "Content-Length". MINA Example HTTP header parser functionality incorrectly drops these POST messages send by Qt4 QHttp class although those messages are fully compatible with rfc2616. Cut from rfc2616 (4.2 Message Headers):  Field names are case-insensitive.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.