set_response_header Method
Sets a response header.
Syntax
def set_response_header(connection_id: int, header_name: str, value: str) -> bool: ...
Remarks
Use this method to set a response header. A good place to call this method is a request-marking event, such as on_get_request or on_post_request.