let thru HTTP_ACCEPT
authorJoey Hess <joey@kitenet.net>
Thu, 16 Jun 2011 00:02:14 +0000 (20:02 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 16 Jun 2011 00:02:14 +0000 (20:02 -0400)
commitd4a0732752e79b57509cee33001ab757132366c5
treea0e16d48bcf2e494cd7313c6ba45ea3f6d5f2c91
parent54672a313049aa0c0a3f14f7ee257c0200e82716
let thru HTTP_ACCEPT

Needed for attachment to return json when requested.

I think some browsers send Accept: * , so I made sure to check that json
was explicitly listed as to be accepted, as well as having a high
priority.
IkiWiki/Plugin/attachment.pm
IkiWiki/Wrapper.pm
debian/changelog