crow icon indicating copy to clipboard operation
crow copied to clipboard

evaluate return HTTP code

Open nlohmann opened this issue 7 years ago • 1 comments

For instance, to react on invalid DSN.

see https://stackoverflow.com/questions/290996/http-status-code-with-libcurl/291006

nlohmann avatar Jul 31 '18 20:07 nlohmann

From the documentation:

You’ll always want to check for a 200 response if you want to ensure that the message was delivered, as a small level of validation happens immediately that may result in a different response code (and message).

nlohmann avatar Aug 06 '18 20:08 nlohmann