Single instance HTTP Server using WiFly Interface.

Dependents:   WiFlyHTTPServerSample MultiThreadingHTTPServer

This is my implementation for a HTTP Server using the WiFly Interface. Please note that this is still under development.

It may still contain several bugs. I have tested it using a 1768 on an application board plus RN-XV board.

Currently there is only a FileSystem implemented. Also it is limited to GET request.

I try to extend it further so it will be more useful.

Btw, it does NOT work with RTOS, which seems not to be the Problem of my library.

Do not Forget to Import the WiFly Interface into your Project when using this library.

Change History:

REV5: - added support for basic RPC GET request functionality.

REV4: - added argument parsing from the request uri. - documentation extended and updated.

Revision:
10:cbde7929db7f
Parent:
9:c2a1462b9b71
Parent:
8:ccbdf6e28655
Child:
11:3943841e1798
diff -r c2a1462b9b71 -r cbde7929db7f HTTPRequestHandler.cpp
--- a/HTTPRequestHandler.cpp	Sun Jun 02 00:33:56 2013 +0000
+++ b/HTTPRequestHandler.cpp	Sun Jun 02 00:37:38 2013 +0000
@@ -2,7 +2,7 @@
 #include "mbed.h"
 #include "HTTPRequestHandler.h"
 
-#define _DEBUG 0
+#define _DEBUG 1
 
 #if (_DEBUG && !defined(TARGET_LPC11U24))
 #define INFO(x, ...) std::printf("[HTTPRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);