responseFor
Customize the ServerIP
displayed on the Whistle Network dashboard by setting the x-whistle-response-for
response header field.
Equivalent to: resHeaders://x-whistle-response-for=xxx
Rule Syntax
txt
pattern responseFor://ip [filters...]
Parameters | Description | Detailed Documentation |
---|---|---|
pattern | Expression to match the request URL | Match Pattern Documentation |
ip | Custom client IP ⚠️ Loading data from files/remote URLs is not supported | |
filters | Optional filters, supports matching: • Request URL/Method/Header/Content • Response Status Code/Header | Filter Documentation |
Configuration Example
txt
www.example.com/path responseFor://1.1.1.1,2.2.2.2

Related Protocols
- Custom Response Headers: resHeaders://x-whistle-response-for=xxx