2009/7/2 Xavier <[email protected]>: > On Thu, Jul 2, 2009 at 4:52 PM, <[email protected]> wrote: >> >> On a somewhat related note, I wrote a patch today, and firefox thinks >> it's a binary or something and tries to download it instead of showing >> me the text: http://aur.archlinux.org/packages/acweight/acweight/ >> >> What did I do wrong there? >> The patch was created using: >> diff -u acweight/Makefile Makefile > destdircp.patch >> > > This is web server (lighttpd) setting again. > It's possible to specify that files with .diff or .patch extension are > actually of type text/plain and not application/octet-stream , but > this was not done. > > I am not sure what you can do on the client / web browser side. >
I think it is not just the patch, looking around, e.g. "LICENSE" files and everything else beside PKGBUILDs are also shown as "application/octet-stream". Greg
