Skip to content

Commit 7fc58e6

Browse files
hsbtclaude
andcommitted
Drop the Net:: prefix from the raised class
Every other raise in this file names the class unqualified, including HTTPAuthenticationError from the same namespace. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 4379ce7 commit 7fc58e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/net/http.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2505,7 +2505,7 @@ def transport_request(req)
25052505
res.ignore_eof = @ignore_eof
25062506
if res.kind_of?(HTTPInformation)
25072507
informational_count += 1
2508-
raise Net::HTTPBadResponse, 'too many informational responses' if
2508+
raise HTTPBadResponse, 'too many informational responses' if
25092509
informational_count > HTTPResponse::MAX_INFORMATIONAL_RESPONSES
25102510
end
25112511
end while res.kind_of?(HTTPInformation)

0 commit comments

Comments
 (0)