Minecraft extension
Dependencies: NySDFileSystem libMiMic mbed-rtos mbed registers
Fork of MiMicSimpleHttpd by
What is this?
This application works as a converter of the electronic circuit and Redstone circuit.
Getting started
http://nyatla.jp/mimic/wp/?p=617
Diff: main.cpp
- Revision:
- 2:28fd59d6be76
- Parent:
- 0:ec1e45489427
- Child:
- 5:00daa91538bc
diff -r 17ecb1647b64 -r 28fd59d6be76 main.cpp --- a/main.cpp Sat Apr 06 14:47:44 2013 +0000 +++ b/main.cpp Sat Apr 06 15:37:21 2013 +0000 @@ -25,9 +25,9 @@ { char url[32]; int method; - //try to ModRomFS module. + //call ModUrl module. if(this->modurl.execute(i_connection,url,32,&method)){ - //Otherwise, Send the redirect response to /rom/index.html + //send 200 OK and requested URL i_connection.sendHeader(200,"text/html",NULL); i_connection.sendBodyF("<html><body>Your Request path is %s.</body></html>",url); return;