fixed error response init

This commit is contained in:
HoneyryderChuck 2018-06-06 17:51:43 +01:00
parent 0be7efaab2
commit e1feac17eb

View File

@ -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