Merge pull request #100 from gms8994/master

Adds content_type header to /social/rss/ requests
This commit is contained in:
Samuel Clay 2013-03-19 18:09:24 -07:00
commit 459065e80e

View file

@ -1206,7 +1206,7 @@ def shared_stories_rss_feed(request, user_id, username):
user.username,
request.META['HTTP_USER_AGENT'][:24]
))
return HttpResponse(rss.writeString('utf-8'))
return HttpResponse(rss.writeString('utf-8'), content_type='application/rss+xml')
@required_params('user_id')
@json.json_view
@ -1320,4 +1320,4 @@ def comment(request, comment_id):
except MSharedStory.DoesNotExist:
raise Http404
return shared_story.comments_with_author()
return shared_story.comments_with_author()