Browse Source

set content-type for errorfiles (fixed #383)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@874 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.8
Jan Kneschke 16 years ago
parent
commit
11c3722432
  1. 1
      src/connections.c

1
src/connections.c

@ -408,6 +408,7 @@ static int connection_handle_write_prepare(server *srv, connection *con) {
con->file_finished = 1;
http_chunk_append_file(srv, con, con->physical.path, 0, sce->st.st_size);
response_header_overwrite(srv, con, CONST_STR_LEN("Content-Type"), CONST_BUF_LEN(sce->content_type));
}
}

Loading…
Cancel
Save