Status: 301 might have a body with a message (mod_proxy via apache)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@985 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.11
parent
562f5c8e1f
commit
0892b04865
|
@ -458,6 +458,7 @@ static int connection_handle_write_prepare(server *srv, connection *con) {
|
|||
/* fall through */
|
||||
case 207:
|
||||
case 200: /* class: header + body */
|
||||
case 301:
|
||||
case 302:
|
||||
break;
|
||||
|
||||
|
@ -466,7 +467,6 @@ static int connection_handle_write_prepare(server *srv, connection *con) {
|
|||
|
||||
break;
|
||||
case 205: /* class: header only */
|
||||
case 301:
|
||||
case 304:
|
||||
default:
|
||||
/* disable chunked encoding again as we have no body */
|
||||
|
|
Loading…
Reference in New Issue