mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
resources: Remove conditional used for debugging
This commit is contained in:
parent
68586c891c
commit
a5637831cd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue