mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-06-20 01:50:55 +02:00
nit
This commit is contained in:
parent
f31c0b1659
commit
b473639103
|
@ -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 New Issue
Block a user