mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-05 14:07:01 +00:00
nit
This commit is contained in:
parent
f31c0b1659
commit
b473639103
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ func shouldRespBeSavedToCache(resp *http.Response) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
contentLengRaw := resp.Header.Get(contentLengthHeader)
|
contentLengRaw := resp.Header.Get(ContentLengthHeader)
|
||||||
if contentLengRaw == "" {
|
if contentLengRaw == "" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue