Changeset 2085
- Timestamp:
- 02/26/2008 04:20:37 PM (3 months ago)
- Files:
-
- branches/lighttpd-1.4.x/src/mod_compress.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/lighttpd-1.4.x/src/mod_compress.c
r2083 r2085 713 713 } else if (0 == deflate_file_to_buffer(srv, con, p, 714 714 con->physical.path, sce, compression_type)) { 715 buffer *mtime; 715 716 716 717 response_header_overwrite(srv, con, CONST_STR_LEN("Content-Encoding"), compression_name, strlen(compression_name)); 718 719 mtime = strftime_cache_get(srv, sce->st.st_mtime); 720 response_header_overwrite(srv, con, CONST_STR_LEN("Last-Modified"), CONST_BUF_LEN(mtime)); 721 722 etag_mutate(con->physical.etag, sce->etag); 723 response_header_overwrite(srv, con, CONST_STR_LEN("ETag"), CONST_BUF_LEN(con->physical.etag)); 724 717 725 response_header_overwrite(srv, con, CONST_STR_LEN("Content-Type"), CONST_BUF_LEN(sce->content_type)); 718 726

