Skip to content

Commit

Permalink
Merge branch '1504-atom-feed-content-type' of https://github.com/geor…
Browse files Browse the repository at this point in the history
…ge-sattler/ckan into george-sattler-1504-atom-feed-content-type
  • Loading branch information
amercader committed Feb 18, 2014
2 parents 6d19ae4 + b8b34de commit 2e926fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/package.py
Expand Up @@ -481,7 +481,7 @@ def history(self, id):
author_name=item_author_name,
pubdate=item_pubdate,
)
feed.content_type = 'application/atom+xml'
response.headers['Content-Type'] = 'application/atom+xml'
return feed.writeString('utf-8')

c.related_count = c.pkg.related_count
Expand Down

0 comments on commit 2e926fc

Please sign in to comment.