Module request_handler

Module request_handler 

Source

Functionsยง

add_custom_headers ๐Ÿ”’
Helper function to add custom headers to response
add_http3_alt_svc_header ๐Ÿ”’
Helper function to add HTTP/3 Alt-Svc header
add_server_header ๐Ÿ”’
Helper function to add server header
basic_error_response ๐Ÿ”’
Helper function to build a basic HTML error response without configuration context
build_custom_headers ๐Ÿ”’
Helper function to build custom header sets for responses
execute_response_modifying_handlers ๐Ÿ”’
Helper function to execute response modifying handlers
extract_content_length ๐Ÿ”’
Helper function to extract content length for logging
finalize_basic_error_response ๐Ÿ”’
Helper function to finalize a basic error response with logging and default headers
finalize_response_and_log ๐Ÿ”’
Helper function to apply all response headers and log if needed
finalize_with_modifying_handlers ๐Ÿ”’
Helper function to apply response headers, execute response modifiers, and log access if needed
generate_error_response ๐Ÿ”’
Generates an error response
log_access ๐Ÿ”’
Sends a log message formatted according to the Combined Log Format
request_handler
The HTTP request handler, with timeout
sanitize_url_request ๐Ÿ”’