Created
May 19, 2009 17:13
-
-
Save benders/114227 to your computer and use it in GitHub Desktop.
Apache config to fixup the Content-Type for POST requests
This file contains hidden or 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
SetEnv !needs_ct | |
SetEnvIf Request_Method POST needs_ct | |
SetEnvIf Content-Type "\S+" !needs_ct | |
RequestHeader set Content-Type "application/x-www-form-urlencoded" env=needs_ct |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment