justpy-org / justpy

An object oriented high-level Python Web Framework that requires no frontend programming
https://justpy.io
Apache License 2.0
1.22k stars 96 forks source link

How change the http headers for example ? #366

Closed Nandreasyan closed 2 years ago

Nandreasyan commented 2 years ago

Hello,

is it possible to change http headers, for example X-XSS-Protection: 1; mode=block and X-Frame-Options to deny? I am running justpy under Linux with gunicorn.

WolfgangFahl commented 2 years ago

You might want to also ask this question with the larger stackoverflow community at https://stackoverflow.com/search?q=justpy