Skip to content

Instantly share code, notes, and snippets.

@singhpratyush
Last active August 9, 2019 01:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save singhpratyush/43bff4c73c896b23566b41466fa95d24 to your computer and use it in GitHub Desktop.
Save singhpratyush/43bff4c73c896b23566b41466fa95d24 to your computer and use it in GitHub Desktop.
@app.after_request
def after_request(response):
response.headers.add('Accept-Ranges', 'bytes')
return response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment