libcurlssl bug
BlitzMax Forums/Brucey's Modules/libcurlssl bug
| ||
Found a small bug with libcurlssl, possibly with libcurl as well but haven't checked it yet. In TCurlInfo.responseCode() you're passing CURLINFO_HTTP_CONNECTCODE to bmx_curl_easy_getinfo_long. But after reading the libcurl documentation it says CURLINFO_RESPONSE_CODE replaced CURLINFO_HTTP_CONNECTCODE. When using CURLINFO_HTTP_CONNECTCODE the function returns 0. When using CURLINFO_RESPONSE_CODE I get the correct HTTP status code returned. Could you change this one? |
| ||
Fixed in SVN. (both libcurl and libcurlssl) Thanks :-) |
| ||
Great! Going to check it out soon. Currently working on an interface to the Mosso CloudFiles REST service and HTTP status codes are quite important for it :-). |