From 2f4c1f044d62829153c18a797a3465eea7ac23dd Mon Sep 17 00:00:00 2001 From: Michael Skvortsov Date: Thu, 2 Mar 2017 03:51:48 +0200 Subject: [PATCH] Update 04-http.md A typo fixed --- 04-http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04-http.md b/04-http.md index 53ed554..cf9226d 100644 --- a/04-http.md +++ b/04-http.md @@ -59,7 +59,7 @@ $response->setContent('404 - Page not found'); $response->setStatusCode(404); ``` -Remember that the object is only storing data, so you if you set multiple status codes before you send the response, only the last one will be applied. +Remember that the object is only storing data, so if you set multiple status codes before you send the response, only the last one will be applied. I will show you in later parts how to use the different features of the components. In the meantime, feel free to read the [documentation](https://github.com/PatrickLouys/http) or the source code if you want to find out how something works.