summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http.c b/src/http.c
index 8a8d245..8fd5520 100644
--- a/src/http.c
+++ b/src/http.c
@@ -118,6 +118,8 @@ int _read(struct mansession *s, struct message *m) {
}
}
} else if (res == 0) {
+ /* x-www-form-urlencoded handler */
+ /* Content-Type: application/x-www-form-urlencoded */
if (*method && !*formdata) {
if ( !strcasecmp(method, "POST") && clength && s->inlen==clength) {
pthread_mutex_lock(&s->lock);