action/context: add capability to set response headers

This commit is contained in:
WeebDataHoarder
2025-04-28 12:40:03 +02:00
parent 61655b6a02
commit e49c4ae72f
5 changed files with 29 additions and 4 deletions

View File

@@ -174,7 +174,7 @@ func (state *State) handleRequest(w http.ResponseWriter, r *http.Request) {
}
r.URL.RawQuery = q.Encode()
data.Headers(r.Header)
data.RequestHeaders(r.Header)
// delete cookies set by go-away to prevent user tracking that way
cookies := r.Cookies()