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:27:06 +0100 |
commit | 374377c37e8b82f1503fbb259e529f6551716df3 (patch) | |
tree | a5a52dac1d215eeafcac0376eed5828c8110a88f /lib/csapi/administrative_contact.h | |
parent | 3ef036cd5936df4c0324ef54aa2bc11d745bd4c7 (diff) | |
download | libquotient-374377c37e8b82f1503fbb259e529f6551716df3.tar.gz libquotient-374377c37e8b82f1503fbb259e529f6551716df3.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.
(cherry picked from commit 9ef83e044ed4f8409156b19d529dfc7e45f565c1)
Diffstat (limited to 'lib/csapi/administrative_contact.h')
0 files changed, 0 insertions, 0 deletions