aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hello_world/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-09-14 13:42:17 +0200
committerLoïc Hoguin <[email protected]>2017-09-14 13:42:17 +0200
commit3cbf885961dc93df1b39d2de89f2a871402acbd5 (patch)
tree8f8f80ea6e6756fb5136cd6eff9bc03ea00cf481 /examples/hello_world/src
parent15ceaf1edff2a68e461fafd8cd77fc7f98918c8a (diff)
downloadcowboy-3cbf885961dc93df1b39d2de89f2a871402acbd5.tar.gz
cowboy-3cbf885961dc93df1b39d2de89f2a871402acbd5.tar.bz2
cowboy-3cbf885961dc93df1b39d2de89f2a871402acbd5.zip
Improve how we detect request errors
When the request process exits with a {request_error, Reason, Human} exit reason, Cowboy will return a 400 status code instead of 500. Cowboy may also return a more specific status code depending on the error. Currently it may also return 408 or 413. This should prove to be more solid that looking inside the stack trace.
Diffstat (limited to 'examples/hello_world/src')
0 files changed, 0 insertions, 0 deletions