summaryrefslogtreecommitdiff
path: root/.reviewboardrc
diff options
context:
space:
mode:
authorChristian Hammond <chipx86@chipx86.com>2010-01-29 21:13:23 -0800
committerChristian Hammond <chipx86@chipx86.com>2010-02-06 09:52:00 -0800
commit5968f84456d1e349bd174c2b79d348de77321cd8 (patch)
tree11cda1714ddda5884b936d0442b4e030042525a4 /.reviewboardrc
parenta822ccf61e9ded0f5a8f76acf04c0f2deeec1c20 (diff)
Be more flexible with HTTP response codes.
post-review's HTTP GET/POST code always assumed that any Review Board API error code would be in an HTTP 200, and that anything else was an unknown failure. It's now more flexible and understands that any HTTP status code could have a JSON payload in it, and processes them accordingly. This introduces some new unit tests for testing the error parsing code paths. Reviewed at http://reviews.reviewboard.org/r/1375/
Diffstat (limited to '.reviewboardrc')
0 files changed, 0 insertions, 0 deletions