Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response headers are ignored when rendering a block #6

Closed
amjith opened this issue Mar 10, 2023 · 3 comments
Closed

Response headers are ignored when rendering a block #6

amjith opened this issue Mar 10, 2023 · 3 comments

Comments

@amjith
Copy link
Contributor

amjith commented Mar 10, 2023

I am trying to send a response header when I return the response to render a block. But it looks like the code path doesn't pass through the response headers for rendering a block.

Can this be added? I'm happy to take a stab at a PR if you can give me a hint as to how to do this.

@amjith
Copy link
Contributor Author

amjith commented Mar 10, 2023

I forgot to mention, I'm using FastAPI with jinja2_fragments.

@sponsfreixes
Copy link
Owner

Hi @amjith. Could you post a minimal code example with the issue? I want to make sure I am understanding the problem.

@sponsfreixes
Copy link
Owner

Closing as didn't get any reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants