mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
another rubocop, anoter linting hel...
This commit is contained in:
parent
2935724a16
commit
da9993f7e0
@ -145,12 +145,12 @@ module HTTPX
|
||||
"#{super}\n\n" \
|
||||
"SSL connection using #{@io.ssl_version} / #{Array(@io.cipher).first}\n" \
|
||||
"ALPN, server accepted to use #{protocol}\n" \
|
||||
"Server certificate:\n" \
|
||||
" subject: #{server_cert.subject}\n" \
|
||||
" start date: #{server_cert.not_before}\n" \
|
||||
" expire date: #{server_cert.not_after}\n" \
|
||||
" issuer: #{server_cert.issuer}\n" \
|
||||
" SSL certificate verify ok."
|
||||
"Server certificate:\n " \
|
||||
"subject: #{server_cert.subject}\n " \
|
||||
"start date: #{server_cert.not_before}\n " \
|
||||
"expire date: #{server_cert.not_after}\n " \
|
||||
"issuer: #{server_cert.issuer}\n " \
|
||||
"SSL certificate verify ok."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -56,7 +56,7 @@ module HTTPX
|
||||
|
||||
# :nocov:
|
||||
def inspect
|
||||
"#<Response:#{object_id} "\
|
||||
"#<Response:#{object_id} " \
|
||||
"HTTP/#{version} " \
|
||||
"@status=#{@status} " \
|
||||
"@headers=#{@headers} " \
|
||||
|
Loading…
x
Reference in New Issue
Block a user