Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(router): rename the browser name header to `x-browser-name` (#5162)

Shankar Singh Cff14e79adf48
diff --git a/crates/router/src/lib.rs b/crates/router/src/lib.rs
index b653c31ec6..10563cc575 100644
--- a/crates/router/src/lib.rs
+++ b/crates/router/src/lib.rs
@@ -77,7 +77,7 @@ pub mod headers {
pub const X_CLIENT_SOURCE: &str = "X-Client-Source";
pub const X_PAYMENT_CONFIRM_SOURCE: &str = "X-Payment-Confirm-Source";
pub const CONTENT_LENGTH: &str = "Content-Length";
- pub const BROWSER_NAME: &str = "browsername";
+ pub const BROWSER_NAME: &str = "x-browser-name";
pub const X_CLIENT_PLATFORM: &str = "x-client-platform";
}