I need a Firefox addon that would enable me to modify outbound http request headers thusly:
"[pseudocode] if any request header contains x in its content then replace x with y"
where x is a regular expression and y preferably can contain substitution patterns referencing x.
I've looked at the addons Tamper Data
Modify Headers
and Header Tool
and none of them appear to support the above (Am I wrong?) "Header Tool" has some regex capability, but not apparently as specified above. Would greasemonkey
or the like enable this? The only problem in my case is that the http request is actually sent out via an .swf (i.e. flash), though it is still displayed by say Tamper Data
(Note: If you think this query doesn't belong at stackoverflow, then please reference what stackexchange to use (though who other than programmers would be messing with reg expressions). This also isn't something to google, as the first thing it returns is Header Tool which doesn't do what I want.)