1
0
mirror of https://github.com/rclone/rclone.git synced 2025-04-14 00:58:59 +02:00
rclone/lib/rest/rest_header_reset.go
Fabian Möller 48c09608ea
fix spelling
2019-04-30 14:12:18 +02:00

16 lines
310 B
Go

//+build go1.8
package rest
import (
"net/http"
)
// ClientWithHeaderReset makes a new http client which resets the
// headers passed in on redirect
//
// This is now unnecessary with go1.8 so becomes a no-op
func ClientWithHeaderReset(c *http.Client, headers map[string]string) *http.Client {
return c
}