This module maps exceptions from various parts of the HTTP libraries as well as exceptions from user handler predicates into meaningful HTTP error codes such as 4XX and 5XX codes. For example, existence errors on http locations are mapped to 404 while out-of-stack is mapped to 503.
This library provides two hooks:
http(not_modified)
provides backward compatibility to http_reply(not_modified)
.The following predicates are exported, but not or incorrectly documented.