Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Allow raw printer.
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradIrwin committed Jul 23, 2011
1 parent 2b3bdee commit 3293030
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rack/perftools_profiler/profiler_middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ class ProfilerMiddleware
:text => 'text/plain',
:gif => 'image/gif',
:pdf => 'application/pdf',
:callgrind => 'text/plain'
:callgrind => 'text/plain',
:raw => 'application/octet-stream'
}

PRINTERS = PRINTER_CONTENT_TYPE.keys
Expand Down

0 comments on commit 3293030

Please sign in to comment.