Skip to content

Developer Strategy #673

Closed
dereke opened this Issue Mar 23, 2013 · 0 comments

1 participant

@dereke
dereke commented Mar 23, 2013

When I use the developer strategy (only in development mode of course!) and I hit /auth/developer the response type is set to text/plain rather than text/html.

I notice the offending line is here https://github.com/intridea/omniauth/blob/master/lib/omniauth/form.rb#L186

I believe this would be better:
Rack::Response.new(@html, 200, {'content-type' => 'text/html'}).finish

Is there any reason why text/plain would be preferred or should I make a pull request?

@sferik sferik closed this in 5c609a0 Mar 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.