Skip to content
This repository
Browse code

Add 'image/pjpeg' format used by IE

  • Loading branch information...
commit 5dd80db4ea8989fa69629cc682766e000ee83d49 1 parent ec4440f
Antonio Tapiador authored January 29, 2012
2  actionpack/lib/action_dispatch/http/mime_types.rb
@@ -9,7 +9,7 @@
9 9
 Mime::Type.register "text/csv", :csv
10 10
 
11 11
 Mime::Type.register "image/png", :png, [], %w(png)
12  
-Mime::Type.register "image/jpeg", :jpeg, [], %w(jpg jpeg jpe)
  12
+Mime::Type.register "image/jpeg", :jpeg, [], %w(jpg jpeg jpe pjpeg)
13 13
 Mime::Type.register "image/gif", :gif, [], %w(gif)
14 14
 Mime::Type.register "image/bmp", :bmp, [], %w(bmp)
15 15
 Mime::Type.register "image/tiff", :tiff, [], %w(tif tiff)

0 notes on commit 5dd80db

Please sign in to comment.
Something went wrong with that request. Please try again.