docs/en/docs/rules/responseFor.md
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
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 |
www.example.com/path responseFor://1.1.1.1,2.2.2.2