Created
May 4, 2016 23:31
-
-
Save tipabu/b7a4afd14db53e75f37a446db15a14a4 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
def filter_factory(gc, **lc): | |
def no_range_filter(app): | |
def filter_app(env, start_response): | |
env.pop('HTTP_RANGE', None) | |
return app(env, start_response) | |
return filter_app | |
return no_range_filter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment