1 --- a/decode_http.c 2000-12-19 07:38:05.000000000 +0800
2 +++ b/decode_http.c 2006-03-05 22:32:14.000000000 +0800
6 else if (req[0] == 'P') {
7 - if (strncmp(p, "Content-type: ", 14) == 0) {
8 - if (strncmp(p + 14, "application/"
9 + if (strncasecmp(p, "Content-type: ", 14) == 0) {
10 + if (strncasecmp(p + 14, "application/"
11 "x-www-form-urlencoded",
16 - else if (strncmp(p, "Content-length: ", 16) == 0) {
17 + else if (strncasecmp(p, "Content-length: ", 16) == 0) {
20 if ((msg = buf_tok(&inbuf, NULL, i)) == NULL)