We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d0ddc0 commit 4ecd1faCopy full SHA for 4ecd1fa
request.go
@@ -110,12 +110,12 @@ func (e *Error) Error() string {
110
111
func (r *Request) Send(c *http.Client) (*Response, error) {
112
url := r.getURL()
113
- req0, err := http.NewRequest("POST", url, r.Body)
+ req, err := http.NewRequest("POST", url, r.Body)
114
if err != nil {
115
return nil, err
116
}
117
118
- req := req0.WithContext(r.Ctx)
+ req = req.WithContext(r.Ctx)
119
120
// Add any headers that were supplied via the RequestBuilder.
121
for k, v := range r.Headers {
0 commit comments