curl: fix POST request with empty body
CURLOPT_POST option without explicitly set CURLOPT_POSTFIELDS caused libcurl to use some internal implementation of CURLOPT_READFUNCTION, which reads body from stdin by default. Provided test case only covers argument handling because there is no repetable way to check reads from stdin from our test suite. Closes #2530
Please register or sign in to comment