Browse files

Allow raw printer.

  • Loading branch information...
1 parent 2b3bdee commit 329303088f243a7c80b98c23811afc237e43a21f @ConradIrwin ConradIrwin committed Jul 22, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/rack/perftools_profiler/profiler_middleware.rb
View
3 lib/rack/perftools_profiler/profiler_middleware.rb
@@ -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

0 comments on commit 3293030

Please sign in to comment.