resources: Remove conditional used for debugging

This commit is contained in:
Bjørn Erik Pedersen 2025-01-23 17:53:38 +01:00
parent 68586c891c
commit a5637831cd
No known key found for this signature in database

View file

@ -59,7 +59,7 @@ func responseToData(res *http.Response, readBody bool, includeHeaders []string)
}
responseHeaders := make(map[string][]string)
if true || len(includeHeaders) > 0 {
if len(includeHeaders) > 0 {
for k, v := range res.Header {
if hstrings.InSlicEqualFold(includeHeaders, k) {
responseHeaders[k] = v