Re: How do I add multiple request headers using the Filters tab UI

562 views
Skip to first unread message

EricLaw

unread,
Oct 17, 2012, 2:49:03 PM10/17/12
to httpf...@googlegroups.com
The (Simple)Filters tab allows the addition of only one header at a time. To add more headers, edit the OnBeforeRequest function in FiddlerScript (Rules > Customize Rules).
 
Alternatively, you can use the AutoResponder tab for this.
 
Click ADD three times. In the Request URL Pattern box, type * to match all requests.
 
Then, for each rule, set the Action text to a string like:
 
   *header:Name1=Value1
   *header:Name2=Value2
   *header:Name3=Value3
This allows you to set an arbitrary number of request headers.

On Wednesday, October 17, 2012 12:33:05 PM UTC-5, Frank Calfo wrote:
It appears that the "Set request header" field on the Filters UI only allows one request header to be added.

I need to add multiple request headers (i.e., hdr1:hdr1 value, hdr2:hdr2 value, hdr3:hdr3 value)

Is it possible to do that from the UI or do I have to use the "Customize Rules" option and do this in script?
Reply all
Reply to author
Forward
0 new messages