sinatra/sinatra — pull request #494 by jaseg (2012-03-23 20:05:41+00:00)
Title: Showexceptions accept headers

Same as my last pull request, just now it should work with any type of HTTP ACCEPT header (I hope).

>The list of user agents is hard coded and currently only matches anything contaning the string "curl"
>There were some provisions in the code for this functionality, but apparently they were unused (at least a >grep -irn did not reveal any uses for the required function except for the one line in showexceptions.rb).