Skip to content

Commit

Permalink
[xs] Minor fix for accept header handling on package
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed Aug 28, 2012
1 parent 5fda0c2 commit dcf1474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/package.py
Expand Up @@ -265,7 +265,7 @@ def read(self, id, format='html'):
ctype, format, loader = "text/html; charset=utf-8", "html", \
MarkupTemplate
else:
ctype, extension, loader = self._content_type_from_accept()
ctype, format, loader = self._content_type_from_accept()

response.headers['Content-Type'] = ctype

Expand Down

0 comments on commit dcf1474

Please sign in to comment.