Skip to content

Commit

Permalink
add X_REAL_IP header
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-oracle committed Aug 31, 2024
1 parent aafb7ca commit f3af6fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub const X_IC_CANISTER_ID: HeaderName = HeaderName::from_static("x-ic-canister-
pub const X_IC_COUNTRY_CODE: HeaderName = HeaderName::from_static("x-ic-country-code");
pub const X_REQUEST_ID: HeaderName = HeaderName::from_static("x-request-id");
pub const X_REQUESTED_WITH: HeaderName = HeaderName::from_static("x-requested-with");
pub const X_REAL_IP: http::HeaderName = http::HeaderName::from_static("x-real-ip");

// Header values
pub const CONTENT_TYPE_CBOR: HeaderValue = HeaderValue::from_static("application/cbor");
Expand Down

0 comments on commit f3af6fb

Please sign in to comment.