diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-12-23 17:21:01 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-12-23 17:21:01 +0100 |
commit | 9ef83e044ed4f8409156b19d529dfc7e45f565c1 (patch) | |
tree | eb740dce9e81c68f4c465ed4ddcfaec3f77cb407 /lib/csapi/registration.h | |
parent | 104356d945671762af23e346f7898a3208770d97 (diff) | |
download | libquotient-9ef83e044ed4f8409156b19d529dfc7e45f565c1.tar.gz libquotient-9ef83e044ed4f8409156b19d529dfc7e45f565c1.zip |
BaseJob: tolerate unexpected error payloads
Proxy servers may return arbitrary HTML, for one example; so don't
expect to find a valid JSON object in whatever non-empty payload
next to a non-2xx HTTP code. Fixes #421.
Diffstat (limited to 'lib/csapi/registration.h')
0 files changed, 0 insertions, 0 deletions