4.2.4 Header Editor

earthlng edited this page Oct 6, 2018 · 9 revisions

Header Editor | GitHub

Header Editor is an extension that allows you to modify the request header and response header, cancel a request and redirect a request.

:exclamation: pay attention, header names are case sensitive

:small_orange_diamond: remove all ETag's

        Name: remove all ETag's
        Type: modify the Response header
Execute type: Custom function

Code:

for (const a in val) {
    if (val[a].name.toLowerCase() === 'etag') { val[a].value = ''; }
}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.