Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a chrome of firefox extension that would allow me to remove certain request headers from all requests to a certain server.

Specifically, I'm trying to disable the browser from sending keep-alive headers.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

in firefox you can set the keep alive pref to false

browse to about:config and find network.http.keep-alive and set it to false this will prevent the browser from keeping the connection alive

see this page for more info

share|improve this answer

For sake of completeness:

If you want to do this per-server, you can write a few lines of code that will do it in Fiddler (CustomRules.js). It's not a Firefox addon, it's a standalone executable which acts like a proxy.

However there are some disadvantages:

  • Windows-only
  • you have to keep Fiddler open whole time you're browsing
  • you have to reset Fiddler's list of connections from time to time, otherwise it will consume memory heavily (Fiddler is meant as a debugging tool primarily, not a background service).
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.