nikseras / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

serve image content type #354

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add a serve: path_to_images in the conf file
2. start the jsTestDriver server 
3. try to view the image in a browser

What is the expected output? What do you see instead?
I was exptecting to see the image, instead, the image is broken

What version of the product are you using? On what operating system?
Version 1.3.4.b (OS is irrelevant)

Please provide any additional information below.
As describe on jsTestDriver home page: 
"Fixed  issue 145 : assets are served with content type "text/plain" (may be 
missing your exact content type. If so, file a new bug)"

So i file a new bug for missing images content type in the 
StaticResourceHandler:
 - gif : image/gif
 - jpg : image/jpeg
 - png : image/png

There are some related issues:
 - 321 : serve gif file
 - 325 : Incorrect Description on Configuration Wiki

Original issue reported on code.google.com by vincent....@gmail.com on 26 Mar 2012 at 7:18

GoogleCodeExporter commented 8 years ago

Original comment by corbinrs...@gmail.com on 26 Mar 2012 at 12:49