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

Add Content-Type header #4

Merged
merged 1 commit into from Feb 28, 2012
Merged

Add Content-Type header #4

merged 1 commit into from Feb 28, 2012

Conversation

jellybob
Copy link
Contributor

This patch adds a Content-Type header to redirects, since without one Rack::Lint will throw an exception.

@mguterl
Copy link

mguterl commented Feb 27, 2012

@tylerhunt any chance on getting this merged?

tylerhunt added a commit that referenced this pull request Feb 28, 2012
Add Content-Type header to appease Rack::Lint.
@tylerhunt tylerhunt merged commit 5052e30 into tylerhunt:master Feb 28, 2012
@tylerhunt
Copy link
Owner

Seems like a blank Content-Type header and empty body is more common for redirects.

@mguterl
Copy link

mguterl commented Feb 28, 2012

@tylerhunt that makes sense. as long as it passes Rack::Lint so I can run in development I'm happy.

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

3 participants