httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56035] Issue with LimitRequestBody
Date Mon, 20 Jan 2014 13:56:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56035

--- Comment #6 from maapu <kalyanceg@gmail.com> ---
Apache behaviour for non php request
command
curl --data "param1=value1&param2=value2" x.x.x.x/index.html -A firefox -v

Output

> POST /index.html HTTP/1.1
> User-Agent: firefox
> Host: x.x.x.x
> Accept: */*
> Content-Length: 27
> Content-Type: application/x-www-form-urlencoded
> 
* upload completely sent off: 27out of 27 bytes
< HTTP/1.1 413 Request Entity Too Large
< Date: Mon, 20 Jan 2014 13:50:13 GMT
< Server: Apache/2.2.3 (CentOS)
< Vary: Accept-Encoding
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
< 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource<br />/index.html<br />
does not allow request data with POST requests, or the amount of data provided
in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.2.3 (CentOS) Server at x.x.x.x Port 80</address>
</body></html>
* Closing connection #0


Logs 
localhost:80 x.x.x.x - - 2014-01-20T13:51:10 - 200 200[status] 417 256 - "-"
"POST /index.html HTTP/1.1" "firefox" 30621

Apache behaviour for php request
curl --data "param1=value1&param2=value2" x.x.x.x/index.php -A firefox -v

> POST /index.php HTTP/1.1
> User-Agent: firefox
> Host:x.x.x.x
> Accept: */*
> Content-Length: 27
> Content-Type: application/x-www-form-urlencoded
> 
* upload completely sent off: 27out of 27 bytes
< HTTP/1.1 413 Request Entity Too Large
< Date: Mon, 20 Jan 2014 13:51:59 GMT
< Server: Apache/2.2.3 (CentOS)
< Vary: Accept-Encoding
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
< 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource<br />/index.php<br />
does not allow request data with POST requests, or the amount of data provided
in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.2.3 (CentOS) Server at x.x.x.x Port 80</address>
</body></html>
<html>
Hello
</html>

Logs
localhost:80 x.x.x.x - - 2014-01-20T13:52:51 - 200 200 417 210 - "-" "POST
/index.html HTTP/1.1" "firefox" 30611

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message