aboutsummaryrefslogtreecommitdiff
path: root/src/Sproxy/Server/DB.hs
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-05-13 23:45:56 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-05-13 23:45:56 +0300
commit41133e1f2e83fff0dea8a5a1ce1ea53b2d9aa2d8 (patch)
tree15d59c0f8c6e9632341ac6606105e87d55b1edb9 /src/Sproxy/Server/DB.hs
parent850e5cc2d4ef96a2dd2a43c9b8d4c1355eb7a148 (diff)
downloadsproxy2-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/Server/DB.hs')
0 files changed, 0 insertions, 0 deletions