Skip to content

Commit

Permalink
Merge pull request #24 from schinken/patch-2
Browse files Browse the repository at this point in the history
Update TinyWebServer.cpp
  • Loading branch information
ovidiucp committed Feb 23, 2015
2 parents 4da0815 + 17b1445 commit 313de94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TinyWebServer.cpp
Expand Up @@ -250,7 +250,10 @@ void TinyWebServer::process() {
request_type_ = POST;
} else if (!strcmp("PUT", request_type_str)) {
request_type_ = PUT;
} else if (!strcmp("DELETE", request_type_str)) {
request_type_ = DELETE;
}

path_ = get_field(buffer, 1);

// Process the headers.
Expand Down

0 comments on commit 313de94

Please sign in to comment.