Quick fix of value size in key:value in HTTP header.

Dependents:   CC3000_demo idd_cc3000_chat CC3000_Nodejs TurretController ... more

Fork of HTTPClient by Donatien Garnier

Revision:
17:679e15a3d3db
Parent:
16:1f743885e7de
diff -r 1f743885e7de -r 679e15a3d3db IHTTPData.h
--- a/IHTTPData.h	Thu Aug 30 15:38:57 2012 +0000
+++ b/IHTTPData.h	Fri May 02 13:13:39 2014 +0000
@@ -24,8 +24,17 @@
 
 using std::size_t;
 
+class IHTTPData
+{
+  protected:
+  /** Get a specific header
+  *
+  */
+  virtual bool getHeader(char* header, size_t maxHeaderLen) { return false; }
+};
+
 ///This is a simple interface for HTTP data storage (impl examples are Key/Value Pairs, File, etc...)
-class IHTTPDataOut
+class IHTTPDataOut : public IHTTPData
 {
 protected:
   friend class HTTPClient;
@@ -60,7 +69,7 @@
 };
 
 ///This is a simple interface for HTTP data storage (impl examples are Key/Value Pairs, File, etc...)
-class IHTTPDataIn
+class IHTTPDataIn : public IHTTPData
 {
 protected:
   friend class HTTPClient;