A minimal HTTP server written in LOLCODE.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Justin Meza 1faf08dd2f made response more clear 7 years ago
LICENSE Initial commit 7 years ago
README.md link to LOLCODE website 7 years ago
httpd.lol made response more clear 7 years ago
lol.html initial project import 7 years ago

README.md

httpd.lol

A minimal HTTP server written in LOLCODE. Because programming languages.

Usage

Check out and build the future branch of lci.

$ ./lci httpd.lol
point your favorite HTTP-getter to http://127.0.0.1:13337/lol.html
...
profit?

Example

Here we're using Netcat, but browsers work just fine as well.

$ ./lci httpd.lol &
$ echo "GET /lol.html HTTP/1.1" | nc 127.0.0.1 13337
CMD IZ GET /lol.html HTTP/1.1

FIEL IZ lol.html
FIEL FOUND!
LEN IZ 74
DATA IZ <html>
<body><h1><blink>HAI, INTERWEBZ!!!1!!~</blink></h1></body>
</html>

REPLY IZ HTTP/1.1 200 OK
Server: httpd.lol/0.1 (lci)
Context-Type: text/html
Content-Length: 74

<html>
<body><h1><blink>HAI, INTERWEBZ!!!1!!~</blink></h1></body>
</html>


HTTP/1.1 200 OK
Server: httpd.lol/0.1 (lci)
Context-Type: text/html
Content-Length: 74

<html>
<body><h1><blink>HAI, INTERWEBZ!!!1!!~</blink></h1></body>
</html>