mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-10-05 13:27:24 +03:00
fix hasChain with 1 status code not working
This commit is contained in:
parent
bbf3fa6a2d
commit
fabadcddbc
@ -97,7 +97,7 @@ func (r *Response) GetChainAsSlice() (chain []ChainItem) {
|
||||
|
||||
// HasChain redirects
|
||||
func (r *Response) HasChain() bool {
|
||||
return len(r.Chain) > 1
|
||||
return len(r.Chain) >= 1
|
||||
}
|
||||
|
||||
// GetChainLastURL returns the final URL
|
||||
|
Loading…
Reference in New Issue
Block a user