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. |
||
|---|---|---|
| .. | ||
| requests-docs.factor | ||
| requests-tests.factor | ||
| requests.factor | ||