httpmachine
httpmachine copied to clipboard
Chunked POST results in parse error
I've been attempting to use Kayak to build a simple event viewer for an event notification service. The client POSTs SOAP messages, but chunks them, rather than setting Content-Length.
So far as I can tell, HttpMachine does not yet support chunked transfer, judging from the comments in the source.
I can however supply WIreshark PCAPs of the offending message, and have created a test case that reliably fails.
Thanks for opening this. Could you attach a diff or send a pull for the test case?
Umm, I'm right at the bottom of the Git learning curve. How exactly does one upload a file?
Git/GitHub crash course:
The thing to do is fork this repository (using the GitHub fork button at the top of the page). That 'copies' it to your account. Then, clone your forked repo to your local computer. Make a new local branch named something like "chunked_transfer_tests", make your edits, commit the changes locally, then create a new remote branch (with the same name) and push it up to your GitHub account. Then, hit "Pull Request" in GitHub on your HttpMachine clone.
The GitHub help section is your friend. Just off here: http://help.github.com/fork-a-repo/