package api import "net/http" const sampleShort = "short" const sampleTarget = "http://example.com/" // Use the special case of ErrUseLastResponse to ignore redirects. func doNotFollowRedirects(_ *http.Request, _ []*http.Request) error { return http.ErrUseLastResponse }