D
darrel
I'm creating a tool for people to upload an image and have it resized on the
server. I'm checking to first see if the image is a JPG, GIF, BMP or TIF
file. I'm having a problem with the TIF files, on upload, the content type
is coming up as:
application/octet-stream
Instead of:
image/tif
Any reason why?
For now, if the content type comes up as app/octet-stream, then I'm going to
double-check the file extensions. If it's TIF, I'll go ahead and assume it
is one, but I'd love to figure out why it's wrong in the first place.
-Darrel
server. I'm checking to first see if the image is a JPG, GIF, BMP or TIF
file. I'm having a problem with the TIF files, on upload, the content type
is coming up as:
application/octet-stream
Instead of:
image/tif
Any reason why?
For now, if the content type comes up as app/octet-stream, then I'm going to
double-check the file extensions. If it's TIF, I'll go ahead and assume it
is one, but I'd love to figure out why it's wrong in the first place.
-Darrel