[Catalyst] Problem with POST from IE and Catalyst::Engine::HTTP
Andy Grundman
andy at hybridized.org
Fri Mar 23 20:34:56 GMT 2007
On Mar 23, 2007, at 11:48 AM, Andy Grundman wrote:
>
> On Mar 23, 2007, at 11:36 AM, Dmitry wrote:
>
>> Hello!
>> When user post some form from Internet Explorer it tries to keep
>> connection alive
>> and for that reason after url-encoded data send additional
>> <CR><LF> which is not
>> counted to "Content-length" header. Catalyst::Engine::HTTP ( as of
>> version 5.7007 )
>> pass all data received to HTTP::Body, but parser of
>> HTTP::Body::UrlEncoded
>> work only if to it passed exactly content-length bytes. So
>> parameters and
>> body_parameters left empty. Keepalive hack (-k) does not help.
>> Is there any way around this problem?
>
> I'm working on this right now actually, sometimes IE adds CRLF to
> the POST body, and we aren't handling it properly.
This bug has been fixed in svn [1] and will be part of the HTTP::Body
0.7 release, coming soon.
-Andy
[1] http://dev.catalyst.perl.org/changeset/6189
More information about the Catalyst
mailing list