nlohmann / crow

Crow - a C++ client for Sentry
https://nlohmann.github.io/crow
MIT License
133 stars 28 forks source link

evaluate return HTTP code #13

Open nlohmann opened 6 years ago

nlohmann commented 6 years ago

For instance, to react on invalid DSN.

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

nlohmann commented 6 years ago

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).