diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-05-13 23:45:56 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-05-13 23:45:56 +0300 |
commit | 41133e1f2e83fff0dea8a5a1ce1ea53b2d9aa2d8 (patch) | |
tree | 15d59c0f8c6e9632341ac6606105e87d55b1edb9 /src/Sproxy/Application/OAuth2.hs | |
parent | 850e5cc2d4ef96a2dd2a43c9b8d4c1355eb7a148 (diff) | |
download | sproxy2-41133e1f2e83fff0dea8a5a1ce1ea53b2d9aa2d8.tar.gz |
Respond with 502 on every backend exception
From RFC 7231:
6.6.3. 502 Bad Gateway
The 502 (Bad Gateway) status code indicates that the server, while
acting as a gateway or proxy, received an invalid response from an
inbound server it accessed while attempting to fulfill the request.
Diffstat (limited to 'src/Sproxy/Application/OAuth2.hs')
0 files changed, 0 insertions, 0 deletions