Error parsing body - doesn't seem to be a chunked message

412 views
Skip to first unread message

Marco

unread,
May 10, 2012, 6:47:16 PM5/10/12
to Behat
Hi

I have written a very simple test to check browsing a website but when
running it I am getting the following response

Error parsing body - doesn't seem to be a chunked message

When I view the response from the server however I can see the
following header

Transfer-Encoding chunked

I am running

Behat: 2.3.5
Mink: 1.3.3

Any suggestions on how I can debug this?

Thanks

Mark

Marco

unread,
May 11, 2012, 4:36:04 AM5/11/12
to be...@googlegroups.com
Hi All

After spending some time debugging I've found out this is caused by my server returning non chunked content but with a Transfer-Content: Chunked response, fixing that makes everything work as I would expect

Konstantin Kudryashov

unread,
May 11, 2012, 4:37:30 AM5/11/12
to be...@googlegroups.com
Great to know you've solved it. Sorry for no answer - lot of work around next big releases currently :-)
Will try to help you faster next time ;)
Reply all
Reply to author
Forward
0 new messages