Replies: 1 comment
-
After sleeping on it, the answer came to me. return Response(headers={"Content-Type": "application/rss+xml"}, content=rssstr) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
Forgive me if I am missing something obvious. Is there a way to return something with a different content type (my use case is specifically application/rss+xml). I've been hunting and perhaps I just missing it in the docs.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions