Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #580 and makes it "fit" #1373

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

birlorg
Copy link

@birlorg birlorg commented May 2, 2022

This fixes #580

It seems the current release and the dev versions are different. This dev version adds a headers kwarg, which is not how the rest of bottle works, which uses response.headers(). This fixes #580, which was already, somewhat fixed, but also changes it to not need a headers kwarg, just copy from the existing response headers.

Either way, you can close #580 now.

This fixes bottlepy#580 

It seems the current release and the dev versions are different.  This dev version adds a headers kwarg, which is not how the rest of bottle works, which uses `response.headers()`.  This fixes bottlepy#580, which was already, somewhat fixed, but also changes it to not need a headers kwarg, just copy from the existing response headers.

Either way, you can close bottlepy#580 now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

static_file() throws away response headers
1 participant