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

Cleanup Rack interface #430

Merged
merged 1 commit into from Jan 5, 2016
Merged

Conversation

nateberkopec
Copy link
Contributor

No description provided.

nateberkopec added a commit that referenced this pull request Jan 5, 2016
@nateberkopec nateberkopec merged commit 96da707 into getsentry:master Jan 5, 2016
# env['SERVER_PROTOCOL']. But we don't want to ignore a valid header
# if the request has legitimately sent a Version header themselves.
# See: https://github.com/rack/rack/blob/028438f/lib/rack/handler/cgi.rb#L29
next if key == 'HTTP_VERSION' && value == ENV['SERVER_PROTOCOL']

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nateberkopec should this be env_hash?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops! It absolutely should be. Looks like my editor autocorrected 'env' to ENV. Writing a test and fixing.

Since you're here, can you weigh in on rack/rack#970, which is the reason this hack exists?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #628

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.

None yet

2 participants