Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formidable fails to parse requests using mikeals' module #46

Closed
aflatter opened this issue Mar 7, 2011 · 1 comment
Closed

formidable fails to parse requests using mikeals' module #46

aflatter opened this issue Mar 7, 2011 · 1 comment

Comments

@aflatter
Copy link

aflatter commented Mar 7, 2011

Hey there,

I put together a little example that fails with Error: parser error, 2 of 135 bytes parsed at IncomingForm.write but I don't see why. I thought it had to do with the unprefixed boundary value that the request module uses but that does not seem to be the case.

The following command lets me record the request which looks okay:
sudo tcpflow -i lo -c '(dst or src host 127.0.0.1) and (src or dst port 1234)'

The example is at https://gist.github.com/b6000d5777d28f9992ac .

@felixge
Copy link
Collaborator

felixge commented Mar 8, 2011

Not sure. It's probably my parser being a little too strict, or Mikeal's request not being compliant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants