Created
November 12, 2016 10:53
-
-
Save psapir/fec1bfc1c3f21b607c00477f05e45202 to your computer and use it in GitHub Desktop.
Fiddler Custom Rules example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static function OnBeforeResponse(oSession: Session) { | |
if (oSession.hostname.Contains("exacttarget.com")) | |
{ | |
oSession.oResponse.headers.Add("Access-Control-Allow-Origin", "*"); | |
} | |
if (m_Hide304s && oSession.responseCode == 304) { | |
oSession["ui-hide"] = "true"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment