search for: show_data

Displaying 1 result from an estimated 1 matches for "show_data".

Did you mean: show_date
2005 Dec 16
0
upload problem with mimetypes
...= re.match(ext) type = case md.post_match.downcase when "jpg" : "image/jpeg" ... more case statements for other file types ... else "application/octet-stream" end return type end The image "http://localhost:3000/asset/show_data/120" cannot be displayed, because it contains errors. Though if I set the content_type back to "application/octet-stream" and download it the file opens fine. Does anyone know why this is happening? Thanks, Mark -- ------------------------------------------------------------------...