SetMaxRedirects sets the maximum number of redirects, overriding any previously set value.
(count int)
| 606 | |
| 607 | // SetMaxRedirects sets the maximum number of redirects, overriding any previously set value. |
| 608 | func (r *Request) SetMaxRedirects(count int) *Request { |
| 609 | r.maxRedirects = count |
| 610 | return r |
| 611 | } |
| 612 | |
| 613 | // DisablePathNormalizing reports whether path normalizing is disabled for the Request. |
| 614 | func (r *Request) DisablePathNormalizing() bool { |
no outgoing calls