libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] Chunked encoding POST getting a 411 error


From: Kim Scarborough
Subject: [libmicrohttpd] Chunked encoding POST getting a 411 error
Date: Wed, 23 Jan 2019 20:14:06 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

I'm using libmicrohttpd-0.9.62, and I'm having a problem with posting
chunked-encoded files without a Content-Length header:

POST /upload HTTP/1.1
Host: myhost.example
Transfer-Encoding: chunked
Content-Type: application/vnd.fdo.journal

HTTP/1.1 411 Length Required
Connection: close
Content-Length: 35
Content-Type: text/plain
Date: Thu, 24 Jan 2019 01:21:41 GMT

I thought using "Transfer-Encoding: chunked" meant I didn't have to
specify "Content-Length". Am I incorrect?

-- 
Kim Scarborough
https://kim.scarborough.chicago.il.us/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]