made response more clear

This commit is contained in:
Justin Meza 2014-05-05 21:54:52 -04:00
parent d6fd79a5ec
commit 1faf08dd2f
1 changed files with 6 additions and 2 deletions

View File

@ -56,7 +56,7 @@ HAI 1.4
I IZ STDIO'Z DIAF YR file MKAY, O RLY? I IZ STDIO'Z DIAF YR file MKAY, O RLY?
YA RLY YA RLY
VISIBLE "FIEL NOT FOUND" VISIBLE "FIEL NOT FOUND"
reply R SMOOSH "HTTP/1.1 404 Not Found:3:):3:)" MKAY reply R "HTTP/1.1 404 Not Found:3:):3:)"
NO WAI NO WAI
VISIBLE "FIEL FOUND!" VISIBLE "FIEL FOUND!"
I HAS A data ITZ I IZ STDIO'Z LUK YR file AN YR 1024 MKAY I HAS A data ITZ I IZ STDIO'Z LUK YR file AN YR 1024 MKAY
@ -65,7 +65,11 @@ HAI 1.4
VISIBLE "LEN IZ " AN len VISIBLE "LEN IZ " AN len
VISIBLE "DATA IZ " AN data VISIBLE "DATA IZ " AN data
reply R SMOOSH "HTTP/1.1 200 OK:3:)Server: httpd.lol/0.1 (lci):3:)Context-Type: text/html:)Content-Length: :{len}:3:):3:):{data}:3:)" MKAY reply R SMOOSH "HTTP/1.1 200 OK:3:)"...
AN "Server: httpd.lol/0.1 (lci):3:)"...
AN "Context-Type: text/html:3:)"...
AN "Content-Length: :{len}:3:):3:)"...
AN ":{data}:3:)" MKAY
OIC OIC
BTW serve it up BTW serve it up