mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
ETag value is not set correctly in HTTP client (regression)
Bug introduced after refactoring.
See commit 16b7b3bc3e
.
This commit is contained in:
parent
0bece2df7d
commit
b6ddaae82a
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ func (c *Client) WithAuthorization(authorization string) *Client {
|
||||||
|
|
||||||
// WithCacheHeaders defines caching headers.
|
// WithCacheHeaders defines caching headers.
|
||||||
func (c *Client) WithCacheHeaders(etagHeader, lastModifiedHeader string) *Client {
|
func (c *Client) WithCacheHeaders(etagHeader, lastModifiedHeader string) *Client {
|
||||||
c.requestLastModifiedHeader = etagHeader
|
c.requestEtagHeader = etagHeader
|
||||||
c.requestLastModifiedHeader = lastModifiedHeader
|
c.requestLastModifiedHeader = lastModifiedHeader
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue