We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae0834e commit 16e84b0Copy full SHA for 16e84b0
lib/protocol/http/header/authorization.rb
@@ -33,14 +33,14 @@ def self.basic(username, password)
33
self.new(
34
"Basic #{strict_base64_encoded}"
35
)
36
- end
37
-
38
- # Whether this header is acceptable in HTTP trailers.
39
- # Authorization credentials must not appear in trailers for security reasons.
40
- # @returns [Boolean] false, as authorization headers contain sensitive credentials.
41
- def self.trailer?
42
- false
43
+ end
+
+ # Whether this header is acceptable in HTTP trailers.
+ # Authorization credentials must not appear in trailers for security reasons.
+ # @returns [Boolean] false, as authorization headers contain sensitive credentials.
+ def self.trailer?
+ false
44
end
45
46
0 commit comments