Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

formidable fails to parse requests using mikeals' module #46

Closed
aflatter opened this Issue · 1 comment

3 participants

Alexander Flatter Felix Geisendörfer Andrew Kelley
Alexander Flatter

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 .

Felix Geisendörfer
Owner

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

Andrew Kelley andrewrk referenced this issue from a commit
Andrew Kelley andrewrk add test to cover #46 d04ab43
Andrew Kelley andrewrk closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.