feat(middleware): log content_length for 4xx (#4655)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Narayan Bhat
2024-05-16 16:00:50 +05:30
committed by GitHub
parent e742c10547
commit 4b5b558dae
19 changed files with 164 additions and 195 deletions

View File

@ -72,6 +72,7 @@ pub mod headers {
pub const X_REQUEST_ID: &str = "X-Request-Id";
pub const STRIPE_COMPATIBLE_WEBHOOK_SIGNATURE: &str = "Stripe-Signature";
pub const STRIPE_COMPATIBLE_CONNECT_ACCOUNT: &str = "Stripe-Account";
pub const CONTENT_LENGTH: &str = "Content-Length";
}
pub mod pii {