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
* Test: https://httpbin.org/
* 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
Type: modify the Response header
Execute type: normal
Header name: etag
Execute type: Custom function
```
Code:
```js
for (let a in val) {
if (val[a].name.toLowerCase() === 'etag') { val[a].value = ''; }
}
```