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

Response headers set to lowercase #3305

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nikhilbhatt
Copy link

Description

Closes #3250

Response headers returned by puma will always be lowercase.

Your checklist for this pull request

  • I have reviewed the guidelines for contributing to this repository.
  • I have added (or updated) appropriate tests if this PR fixes a bug or adds a feature.
  • My pull request is 100 lines added/removed or less so that it can be easily reviewed.
  • If this PR doesn't need tests (docs change), I added [ci skip] to the title of the PR.
  • If this closes any issues, I have added "Closes #issue" to the PR description or my commit messages.
  • I have updated the documentation accordingly.
  • All new and existing tests passed, including Rubocop.

@nikhilbhatt nikhilbhatt force-pushed the return_lowercase_response_headers branch from fcefcee to 517b2e0 Compare January 9, 2024 16:45
@dentarg dentarg added the waiting-for-review Waiting on review from anyone label Jan 14, 2024
@stadniklksndr
Copy link
Contributor

@nikhilbhatt There is still one failed test here could you please fix it.

@nikhilbhatt nikhilbhatt force-pushed the return_lowercase_response_headers branch from 517b2e0 to 402fe68 Compare February 2, 2024 03:29
@nikhilbhatt nikhilbhatt force-pushed the return_lowercase_response_headers branch from 402fe68 to ee713ec Compare February 2, 2024 03:54
@nikhilbhatt
Copy link
Author

@nikhilbhatt There is still one failed test here could you please fix it.

fixed

@stadniklksndr
Copy link
Contributor

@nikhilbhatt what about this one and 408 error response

404 => "HTTP/1.1 404 Not Found\r\nConnection: close\r\n\r\n",

@dentarg dentarg mentioned this pull request Mar 15, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature waiting-for-review Waiting on review from anyone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Puma forces casing of certain response headers
5 participants