aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2019-03-29 19:18:58 -0300
committerHisham Muhammad <hisham@gobolinux.org>2019-03-29 19:21:57 -0300
commita05899a1182f1927095f73ba0d9092a59e0d4530 (patch)
treee5f35ddcf85445d2482ef6742bee4e51c06df9e4 /spec
parent973655f97869c7e27bb5cf23ac3ba58508451eee (diff)
downloadluarocks-a05899a1182f1927095f73ba0d9092a59e0d4530.tar.gz
luarocks-a05899a1182f1927095f73ba0d9092a59e0d4530.tar.bz2
luarocks-a05899a1182f1927095f73ba0d9092a59e0d4530.zip
upload: accept non-200 codes
This will try to JSON-decode any response, and if it succeds, will return it regardless of status code. If the body cannot be JSON-decoded, then the status code and URL are returned as an error. Fixes #975.
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions