Updated 4.2.4 Header Editor (markdown)

Thorin-Oakenpants 2018-05-21 01:46:21 +00:00
parent ebb3d01006
commit 270d454658

@ -8,10 +8,18 @@ Header Editor is an extension that allows you to modify the request header and r
* Note: if you disable disk *and* memory cache, this is not required * Note: if you disable disk *and* memory cache, this is not required
* Test: https://httpbin.org/ * Test: https://httpbin.org/
* Test: http://lucb1e.com/rp/cookielesscookies/ * Test: http://lucb1e.com/rp/cookielesscookies/
* number of visits should never be more than 2
* note: the site uses IP and UA to create your unique ID, so to test, do not change these
``` ```
Name: remove all ETag's Name: remove all ETag's
Type: modify the Response header Type: modify the Response header
Execute type: normal Execute type: Custom function
Header name: etag ```
```
Code:
```js
for (let a in val) {
if (val[a].name.toLowerCase() === 'etag') { val[a].value = ''; }
}
```