Problem with http requests with body

6 views
Skip to first unread message

Ko

unread,
Jun 9, 2011, 10:20:55 AM6/9/11
to Manos de Mono
Hi,
I've problems dealing with http requests with body. For example i sent
the following POST request with curl to my HelloWorld style server:

curl -d "databody" http://127.0.0.1:8080/

and i obtain this Exception:

Exception while parsing
System.ArgumentException: Can't move past end of buffer.
at Manos.IO.ByteBuffer.Skip (Int32 bytes) [0x00060] in C:\Users\...
\Manos\src\Manos.IO\Manos.IO\ByteBuffer.cs:117
at Manos.Http.HttpParser.Execute (Manos.Http.ParserSettings settings,
Manos.IO.ByteBuffer data) [0x01e99] in C:\Users\...\Manos\src\Manos
\Manos.Http\HttpParser.cs:1266
at Manos.Http.HttpEntity.OnBytesRead (Manos.IO.ByteBuffer bytes)
[0x00000] in C:\Users\...\Manos\src\Manos\Manos.Http\HttpEntity.cs:
411
Reply all
Reply to author
Forward
0 new messages