Adaptation of the HttpServer by user yueee_yt. This version has improved handling of the HTTP headers (**NOTE**: There are limitations with this implementation and it is not fully functional. Use it only as a starting point.)

Dependents:   DMSupport DMSupport DMSupport DMSupport

Fork of DM_HttpServer by EmbeddedArtists AB

Files at this revision

API Documentation at this revision

Comitter:
yueee_yt
Date:
Thu Feb 20 13:11:34 2014 +0000
Parent:
2:82892309f848
Child:
4:1b6b021ee21d
Commit message:
FileSystem OK
; RPC OK

Changed in this revision

Handler/RPCHandler.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Handler/RPCHandler.cpp	Thu Feb 20 13:08:59 2014 +0000
+++ b/Handler/RPCHandler.cpp	Thu Feb 20 13:11:34 2014 +0000
@@ -107,15 +107,6 @@
       memset((void*) p,*(p+2),1);
       }
   }
-  /**
-  static const char* lGarbage[2] = {"%20", "+"};
-  for(int i = 0; i < 2; i++)
-  {
-    while( p = strstr(data, lGarbage[i]) )
-    {
-      memset((void*) p, ' ', strlen(lGarbage[i]));
-    }
-  }
-  **/
+  
 }
   
\ No newline at end of file