Re: [gdal-dev] cURL response content output

2022-07-12 Thread Daniel Evans
Hi again, To loop back in the mailing list on the conversation Even and I had on the PR, the answer to my original question (at least in the /vsis3/ use case) was to enable CPL_DEBUG, which outputs the raw response in these sorts of error cases, e.g.: "CPLE_None in S3: \nNoSuchBucketThe specified

Re: [gdal-dev] cURL response content output

2022-07-06 Thread Even Rouault
Daniel, https://github.com/OSGeo/gdal/pull/6028 should help, but with the restriction indicated in the commit message. Even Le 06/07/2022 à 13:13, Daniel Evans a écrit : Hi, I'm trying to diagnose some issues with accessing remote datasets in GDAL - I believe the problem is unrelated to GD

[gdal-dev] cURL response content output

2022-07-06 Thread Daniel Evans
Hi, I'm trying to diagnose some issues with accessing remote datasets in GDAL - I believe the problem is unrelated to GDAL itself, but it's proving hard to debug. By enabling CPL_CURL_VERBOSE, I can see that the server is kicking back a 400 Bad Request status, but the debug output doesn't include