summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2016-01-06 14:41:30 +0100
committerJuuso Lapinlampi <wub@partyvan.eu>2016-01-06 14:41:30 +0100
commit24ca593462cebdbddf660c4ef13532e93f90d97e (patch)
tree19d721f3c239bcadd91180ac3b41371376f1dbfa /package.json
parentd6345a667436fd29d81552aed55ca51a5506673b (diff)
parentb94ac9a9bc957623687bf3cd21548569b96d4a01 (diff)
Merge WubTheCaptain's branch 'refactor-response-api'
Clean up a lot of the cruft in Response class. Gyazo is deprecated and falls back to 'text' for similar functionality, reducing code duplication. It will be removed in a future release. CSV gets a text/csv Content-Type. CSV linebreaks are also now CRLF, and values are wrapped in quotes. The default error is now a JSON response instead of a generic 400 Bad Request in plaintext. output=json is now explicit and no longer undefined behavior.
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions