[
https://issues.apache.org/jira/browse/DIRMINA-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124778#comment-14124778
]
Emmanuel Lecharny commented on DIRMINA-940:
-------------------------------------------
In this case, I do think the response should be decoded following this grammar
rules :
{quote}
HTTP-message = Simple-Request ; HTTP/0.9 messages
| Simple-Response
| Full-Request ; HTTP/1.0 messages
| Full-Response
Simple-Response = [ Entity-Body ]
Entity-Body = *OCTET
{quote}
Now, this seems to be an antic 0.9 format. Not sure we want to support that
those days...
> HTTP Client decoder does not support responses without Content-Length header
> ----------------------------------------------------------------------------
>
> Key: DIRMINA-940
> URL: https://issues.apache.org/jira/browse/DIRMINA-940
> Project: MINA
> Issue Type: Bug
> Components: Protocol - HTTP
> Affects Versions: 2.0.7, 3.0.0-M2
> Reporter: Jeff MAURY
> Priority: Minor
> Labels: http, http-headers
> Fix For: 2.0.8, 3.0.0-trunk
>
>
> When an HTTP response is decoded has not Content-Length header, it is
> rejected by the decoder as it should be accepted according to the spec
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)