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

distinct instance of headers dict #65

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

Conversation

mullinmax
Copy link

I found this bug when returning custom response headers.

the {} is declared once when you define the class and reused between instances, so once you return a specific header it will automatically end up on every request.

Sorry I didn't open an issue first, I figured this was easier.

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.

1 participant