Skip to main content

Module request_handle

Module request_handle 

Source

Structs§

Handle 🔒
A WinHTTP handle, closed on drop so every early return unwinds the chain.
OpenRequest
A sent request whose response headers have arrived; fields drop in declaration order, request before connection before session.

Constants§

NUL_TERMINATED 🔒
dwHeadersLength = -1: the header string is NUL-terminated.

Functions§

add_header 🔒
refuse_redirects 🔒
WinHTTP’s own following re-sends Authorization to the new origin unseen, so redirects come back to send; failing to set this would restore that default, so it is an error.