Fix /unlist request
Currently /unlist
requests to the Master Server set CURLOPT_CUSTOMREQUEST
to "POST" to set the request as a POST request. This MR instead sets the more appropriate CURLOPT_POST
to 1.
This MR also sets CURLOPT_POSTFIELDSIZE
to 0 to include the Content-Length
field in the request, which would otherwise be completely missing and potentially cause issues.