From 1678f8f4f44281d33c64e9f43cbbea647bcd1c7e Mon Sep 17 00:00:00 2001 From: fuzhli Date: Sat, 18 Aug 2018 16:00:47 +0800 Subject: [PATCH] Update README.md Since the source code not strip the blank chars, if we use "Host: www.example.com", it will use " www.example.com" as the key to find the app, finally, it will report a error: $http :23456 'Host: www.example.com' HTTP/1.1 404 Not Found Content-Length: 30 Content-Type: text/plain; charset=utf-8 Date: Sat, 18 Aug 2018 07:46:17 GMT Server: fasthttp app www.example.com not exist So, I just use the easiest way to fix this issue. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b11384e..f8d9e5b 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ success! 4. and now, it works! whoops! try it: ```bash -$ http :23456 'Host: www.example.com' +$ http :23456 'Host:www.example.com' HTTP/1.1 200 OK ... ```