ModHeader use cases
Common use cases
ModHeader can be used for many purposes. Here is a list of common use-cases that many of our users are using ModHeader for:
- Changing IP addressSimulate edge casesSwitch locales and regionsTesting CORSTesting AdSense on localhostTesting AuthorizationToggle feature flags
Modify HTTP headers
ModHeader can be used to modify standard HTTP request and response headers. Here is a list of standard HTTP headers and how you can use ModHeader to modify them:
- Accept
Accept-CH
Accept-CH-Lifetime
Accept-Encoding
Accept-Language
Accept-Patch
Accept-Post
Accept-Ranges
Access-Control-Allow-Credentials
Access-Control-Allow-Headers
Access-Control-Allow-Methods
Access-Control-Allow-Origin
Access-Control-Expose-Headers
Access-Control-Max-Age
Access-Control-Request-Headers
Access-Control-Request-Method
Age
Allow
Alt-Svc
Authorization
Cache-Control
Clear-Site-Data
Connection
Content-Disposition
Content-DPR
Content-Encoding
Content-Language
Content-Length
Content-Location
Content-Range
Content-Security-Policy
Content-Security-Policy-Report-Only
Content-Type
Cookie
Critical-CH
Cross-Origin-Embedder-Policy
Cross-Origin-Opener-Policy
Cross-Origin-Resource-Policy
Date
Device-Memory
Digest
DNT
Downlink
DPR
Early-Data
ECT
ETag
Expect
Expect-CT
Expires
Forwarded
From
Host
If-Match
If-Modified-Since
If-None-Match
If-Range
If-Unmodified-Since
Keep-Alive
Large-Allocation
Last-Modified
Link
Location
Max-Forwards
NEL
Origin
Permissions-Policy
Pragma
Proxy-Authenticate
Proxy-Authorization
Range
Referer
Referrer-Policy
Retry-After
RTT
Save-Data
Sec-CH-Prefers-Reduced-Motion
Sec-CH-UA
Sec-CH-UA-Arch
Sec-CH-UA-Bitness
Sec-CH-UA-Full-Version
Sec-CH-UA-Full-Version-List
Sec-CH-UA-Mobile
Sec-CH-UA-Model
Sec-CH-UA-Platform
Sec-CH-UA-Platform-Version
Sec-Fetch-Dest
Sec-Fetch-Mode
Sec-Fetch-Site
Sec-Fetch-User
Sec-GPC
Sec-Purpose
Sec-WebSocket-Accept
Server
Server-Timing
Service-Worker-Navigation-Preload
Set-Cookie
SourceMap
Strict-Transport-Security
TE
Timing-Allow-Origin
Tk
Trailer
Transfer-Encoding
Upgrade
Upgrade-Insecure-Requests
User-Agent
Vary
Via
Viewport-Width
Want-Digest
Warning
Width
WWW-Authenticate
X-Content-Type-Options
X-DNS-Prefetch-Control
X-Forwarded-For
X-Forwarded-Host
X-Forwarded-Proto
X-Frame-Options