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.
|
||||
func (c *Client) WithCacheHeaders(etagHeader, lastModifiedHeader string) *Client {
|
||||
c.requestLastModifiedHeader = etagHeader
|
||||
c.requestEtagHeader = etagHeader
|
||||
c.requestLastModifiedHeader = lastModifiedHeader
|
||||
return c
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue