lighttpd 1.4.x https://www.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lighttpd1.4/src/response.h

20 lines
779 B

#ifndef _RESPONSE_H_
#define _RESPONSE_H_
#include "server.h"
int http_response_parse(server *srv, connection *con);
int http_response_write_basic_header(server *srv, connection *con);
int http_response_write_header(server *srv, connection *con,
off_t file_size,
time_t last_mod);
int response_header_insert(server *srv, connection *con, const char *key, size_t keylen, const char *value, size_t vallen);
int response_header_overwrite(server *srv, connection *con, const char *key, size_t keylen, const char *value, size_t vallen);
handler_t http_response_prepare(server *srv, connection *con);
int http_response_redirect_to_directory(server *srv, connection *con);
int http_response_handle_cachable(server *srv, connection *con, time_t mtime);
#endif