[Catalyst] Problem with POST from IE and Catalyst::Engine::HTTP
Dmitry
dmitry at bis.ru
Fri Mar 23 18:36:52 GMT 2007
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?
'_body' => bless( {
'content_length' => 27,
'body' => undef,
'length' => 29,
'content_type' =>
'application/x-www-form-urlencoded',
'upload' => {},
'buffer' =>
'username=test&password=test^M
',
'param' => {},
'state' => 'buffering'
}, 'HTTP::Body::UrlEncoded' ),
More information about the Catalyst
mailing list