Menu

images with wrong Content-Type

Help
2010-09-17
2012-09-04
  • David Edwards

    David Edwards - 2010-09-17

    I am tring to download an image from a site which stores the images presumably
    in a database with only a number referencing the image. ie no extension and
    the site is reporting the Content-Type as text/html; "charset=ISO-8859-1".
    Image is displayed correctly in a browser. Is there a way of forcing the mime
    type to binary so the image is not treated a string.

    Many thanks

     
  • Alex Wajda

    Alex Wajda - 2010-09-17

    Not yet, unfortunately.

    Recently I've been fixing another related issue in the <http> processor and I
    noticed that its mime-types handling implementation has plenty of spots to fix
    or improve.

    Can you please file a bug for this and I'll some up with a fix later on.

    Thanks.

     
  • jacob

    jacob - 2012-05-18

    hello ,

    do you sovled this?

     

Log in to post a comment.