NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/58880: bozohttpd(8): set custom header field in responses
>Number: 58880
>Category: bin
>Synopsis: bozohttpd(8): set custom header field in responses
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 06 03:50:00 +0000 2024
>Originator: Taylor R Campbell
>Release: 10
>Organization:
The-NetBSD-Foundation: max-age=31556956
>Environment:
>Description:
How do I set a custom header field in bozohttpd responses, such as `Strict-Transport-Security: max-age=31556956'?
With Apache I would do:
Header set Strict-Transport-Security "max-age=31556956"
This is for serving any response, not just scripts, so while I can easily add the header field manually in a script that's not enough here.
>How-To-Repeat:
try to implement RFC 6797 or anything else that requires setting a header field on content, like X-Frame-Options or things like that
>Fix:
Yes, please!
Home |
Main Index |
Thread Index |
Old Index