Browse Source

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-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 17 years ago
parent
commit
0892b04865
  1. 2
      src/connections.c

2
src/connections.c

@ -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…
Cancel
Save