From a29b55d06d4206488188217a693772087c09ad01 Mon Sep 17 00:00:00 2001 From: ncou Date: Tue, 1 Jan 2019 15:03:54 +0100 Subject: [PATCH] update --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3974d4..e9f2e3c 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,8 @@ HttpExceptions ============== **All HTTP statuses from [RFC 7231](http://tools.ietf.org/html/rfc7231) implemented as separated exceptions.** -**This library provides a simple and straightforward implementation of the IETF Problem Details for HTTP APIs [RFC 7807](https://tools.ietf.org/html/rfc7807).** -[Reference](https://www.iana.org/assignments/http-status-codes/http-status-codes.xml) +**This library provides also a straightforward implementation of the IETF Problem Details for HTTP APIs [RFC 7807](https://tools.ietf.org/html/rfc7807).** abstract `HttpException` class and its subclasses provide exceptions corresponding to HTTP error status codes. The most common are included, but you can create exceptions @@ -79,6 +78,8 @@ And `Chiron\Http\Exception\Server` namespace for 5xx http errors. | [NotExtendedHttpException](src/Server/NotExtendedHttpException.php) | 510 | "Not Extended" | | [NetworkAuthenticationRequiredHttpException](src/Server/NetworkAuthenticationRequiredHttpException.php) | 511 | "Network Authentication Required" | +[Reference 4xx - 5xx](https://www.iana.org/assignments/http-status-codes/http-status-codes.xml) + Basic Usage -----------