Modify HTTP Headers in Internet Explorer

Modify HTTP Headers in Internet Explorer

When accessing a few web applications, you may need to simulate/modify few HTTP Headers being passed.

If you are using Google Chrome or Mozilla Firefox to access your application, you have many plugins/extensions to take care of this. But if you want to access the same application using Internet Explorer, then the task gets tougher.

Let's take a look at how we can overcome this issue and access those applications in Internet Explorer.

  • Download Fiddler.
  • Open Rules > Customize rules. It’ll open the Fiddler ScriptEditor.

Find the function ‘static function OnBeforeRequest(oSession: Session)’ and add the headername and headervalue in below format and save & close the script editor.

oSession.oRequest["headerName"] = "headerValue";

After making above changes keep the fiddler open and access your web application. Internet Explorer now will accept the customized header values and your application will work just fine.

Note: This method can be used for accessing applications over Chrome and Firefox too. You don't need to install any extra plugins or extensions after making above changes.


要查看或添加评论,请登录

Nagesh Vasanthakumara的更多文章

社区洞察

其他会员也浏览了