[cgi-devel] content type and charset
Status: Beta
Brought to you by:
drrngrvy
From: <jc...@ol...> - 2011-05-03 03:13:44
|
Hello, When I set resp << boost::cgi::header("Content-Type","image/jpeg"); it appears that the library adds charset=UTF-8 This seems to be a problem because the jpg is not read properly by the browser and the image looks weird. There might be other reasons my images do not display right, but this might be part of my problem. Maybe the charset should not be set for all binary resources unless the content type is text/text. Thanks! Jean-Christophe |