Skip to content

Commit

Permalink
Merge pull request #32 from cmacdonald/master
Browse files Browse the repository at this point in the history
Fix HTTP message formatting to be RFC2616 (section 5.1) compliant, an…
  • Loading branch information
pral2a committed Jul 27, 2015
2 parents e1d321f + fce2277 commit 535b851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sck_beta_v0_9/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ static char buffer[buffer_length];
// Basic Server Posts to the SmartCitizen Platform - EndPoint: http://data.smartcitizen.me/add
static char* WEB[8]={
"data.smartcitizen.me",
"PUT /add HTTP/1.1 \n",
"PUT /add HTTP/1.1\n",
"Host: data.smartcitizen.me \n",
"User-Agent: SmartCitizen \n",
"X-SmartCitizenMacADDR: ",
Expand All @@ -226,7 +226,7 @@ static char* WEB[8]={
// Time server request - EndPoint: http://data.smartcitizen.me/datetime
static char* WEBTIME[3]={
/*Servidor de tiempo*/
"GET /datetime HTTP/1.1 \n",
"GET /datetime HTTP/1.1\n",
"Host: data.smartcitizen.me \n",
"User-Agent: SmartCitizen \n\n"
};
Expand Down

0 comments on commit 535b851

Please # to comment.