Created
July 22, 2015 20:11
-
-
Save ericlaw1979/ddca0063b0faca6b69d2 to your computer and use it in GitHub Desktop.
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
// Place inside OnBeforeResponse because even though we're only touching the | |
// request, we don't want to change what the server gets. | |
if (oSession.HTTPMethodIs("POST") && oSession.uriContains("-analytics.com/collect") | |
&& oSession.oRequest["Content-Type"].StartsWith("text/plain")) | |
{ | |
oSession.oRequest["Content-Type"] = "application/x-www-form-urlencoded"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's missing "eqatec.com" and "-analytics.com/debug/collect"