The idea is that read-request throws request-error if something is wrong with the request. handle-client* can then catch it and respond with 400 bad request. This way you can differentiate between bad requests and requests that causes the HTTP server to crash. |
||
---|---|---|
.. | ||
client | ||
parsers | ||
server | ||
test | ||
authors.txt | ||
http-docs.factor | ||
http-tests.factor | ||
http.factor | ||
summary.txt | ||
tags.txt |