mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-09-01 00:00:35 -04:00
fixed error response init
This commit is contained in:
parent
0be7efaab2
commit
e1feac17eb
@ -59,7 +59,7 @@ module HTTPX
|
||||
redirect_uri.scheme == "http"
|
||||
error = InsecureRedirectError.new(redirect_uri.to_s)
|
||||
error.set_backtrace(caller)
|
||||
response = ErrorResponse.new(error, 0, @options)
|
||||
response = ErrorResponse.new(error, @options)
|
||||
end
|
||||
end
|
||||
response
|
||||
|
Loading…
x
Reference in New Issue
Block a user