mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
resources: Remove conditional used for debugging
This commit is contained in:
@@ -59,7 +59,7 @@ func responseToData(res *http.Response, readBody bool, includeHeaders []string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
responseHeaders := make(map[string][]string)
|
responseHeaders := make(map[string][]string)
|
||||||
if true || len(includeHeaders) > 0 {
|
if len(includeHeaders) > 0 {
|
||||||
for k, v := range res.Header {
|
for k, v := range res.Header {
|
||||||
if hstrings.InSlicEqualFold(includeHeaders, k) {
|
if hstrings.InSlicEqualFold(includeHeaders, k) {
|
||||||
responseHeaders[k] = v
|
responseHeaders[k] = v
|
||||||
|
Reference in New Issue
Block a user