Conversation

oestrich

This lets you set headers without having to let the client.

Goes along with the DSL redesign, #28

new_key = "HTTP_#{new_key}" unless new_key == "CONTENT_TYPE"
hsh[new_key] = v
hsh
end
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you make a method in headers.rb that does this? This functionality is the mirror of env_to_headers, i.e., headers_to_env.

@samwgoldman

Except for the one comment, this is good to go.

samwgoldman added a commit that referenced this pull request May 22, 2012
@samwgoldmansamwgoldman merged commit 1e2e7d5 into master May 22, 2012
Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.