fetchival
fetchival copied to clipboard
POST with empty body
POST with empty body is not forbidden by the HTTP spec. However I cannot do it using fetchival. Probably the problem is caused by the Content-Type header (set to "application/json") which is not removed when the body is deleted. It is also expected that when the body is empty the Content-Lenght header is set to 0.
If you agree, I can make a PR fixing it.
Thanks, Damian.