diff --git a/05-request/03-headers/page.md b/05-request/03-headers/page.md index 6ec09f5..904cd0f 100644 --- a/05-request/03-headers/page.md +++ b/05-request/03-headers/page.md @@ -5,7 +5,7 @@ status: live A Slim application will automatically parse all HTTP request headers. You can access the request headers using the request object's public `headers` property. The `headers` property is an instance of `\Slim\Helper\Set`, meaning -it provides a simple, standardized interface to interactive with the HTTP request headers. +it provides a simple, standardized interface to interact with the HTTP request headers. response; - //Is this an informational response? + // Is this an 1xx informational response? $res->isInformational(); - //Is this a 200 OK response? + // Is this a 200 OK response? $res->isOk(); - //Is this a 2xx successful response? + // Is this a 2xx successful response? $res->isSuccessful(); - //Is this a 3xx redirection response? + // Is this a 3xx redirection response? $res->isRedirection(); - //Is this a specific redirect response? (301, 302, 303, 307) + // Is this a specific redirect response? (301, 302, 303, 307) $res->isRedirect(); - //Is this a forbidden response? + // Is this a forbidden response? $res->isForbidden(); - //Is this a not found response? + // Is this a not found response? $res->isNotFound(); - //Is this a client error response? + // Is this a client error response? $res->isClientError(); - //Is this a server error response? + // Is this a server error response? $res->isServerError(); diff --git a/07-view/04-data/page.md b/07-view/04-data/page.md index c99ba0a..f2eda40 100644 --- a/07-view/04-data/page.md +++ b/07-view/04-data/page.md @@ -6,7 +6,7 @@ status: live