Permalink
Browse files

Add 'image/pjpeg' format used by IE

  • Loading branch information...
atd committed Jan 29, 2012
1 parent ec4440f commit 5dd80db4ea8989fa69629cc682766e000ee83d49
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/http/mime_types.rb
@@ -9,7 +9,7 @@
Mime::Type.register "text/csv", :csv
Mime::Type.register "image/png", :png, [], %w(png)
-Mime::Type.register "image/jpeg", :jpeg, [], %w(jpg jpeg jpe)
+Mime::Type.register "image/jpeg", :jpeg, [], %w(jpg jpeg jpe pjpeg)
Mime::Type.register "image/gif", :gif, [], %w(gif)
Mime::Type.register "image/bmp", :bmp, [], %w(bmp)
Mime::Type.register "image/tiff", :tiff, [], %w(tif tiff)

0 comments on commit 5dd80db

Please sign in to comment.