Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/header/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ pub use self::name::{
REFERRER_POLICY,
REFRESH,
RETRY_AFTER,
SEC_FETCH_DEST,
SEC_WEBSOCKET_ACCEPT,
SEC_WEBSOCKET_EXTENSIONS,
SEC_WEBSOCKET_KEY,
Expand Down
4 changes: 4 additions & 0 deletions src/header/name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,10 @@ standard_headers! {
/// before issuing the redirected request.
(RetryAfter, RETRY_AFTER, b"retry-after");

/// The Sec-Fetch-Dest request HTTP header exposes a request's fetch
/// destination to the server.
(SecFetchDest, SEC_FETCH_DEST, b"sec-fetch-dest");

/// The |Sec-WebSocket-Accept| header field is used in the WebSocket
/// opening handshake. It is sent from the server to the client to
/// confirm that the server is willing to initiate the WebSocket
Expand Down