En/na Oliver Jeeves ha escrit:
> It might also be worth trying to create a simple test with just a few
> files, see if the problem re-occurs in a much simplified version.
> 
ok, It looks it's something about content type. That's what I did:

HEAD /test/pdf/a.pdf HTTP1/0
Content-Type: application/pdf

HEAD /test/pdf/a/b.pdf HTTP1/0
Content-Type: text/html

So it looks like it returns the default apache content type
when is a directory involved:
   DefaultType text/html

Of course, the directory a doesn't even exists, so no autohandler
could mess the output.

I also fetched the files with wget and both are correct. So the
dhandler isn't adding html tags, but the browser is fooled by
the content-type. I still wonder what is wrong and how could I
fix it ?


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to