Forums Register Login

Are these two implemetations same about content ty[e

+Pie Number of slices to send: Send
Hi folks,

Are these two the same


response.setContentType("image/gif");
response.setHeader("Content-Encoding", "image/gif");

 
+Pie Number of slices to send: Send
 

Originally posted by Theepan Thevathasan:
Hi folks,

Are these two the same



I think content encoding should have a character set / encoding , not a mime and content type should have the mime type of the response.
+Pie Number of slices to send: Send
Content-encoding is something different. if you meant content-type, then yes, they are.
Poop goes in a willow feeder. Wipe with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 582 times.
Similar Threads
Urgent:BLOB Separation
file upload problem using internet explorer 8
create gif image
write html from byte[] to response.getOutputStream
check if there is a gif viewer
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:19:38.