Skip to content

Commit

Permalink
Update deprecation message (#2173)
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Apr 22, 2024
1 parent d3c545e commit 4da4e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/response.rb
Expand Up @@ -33,7 +33,7 @@ def self.[](status, headers, body)

# Deprecated, use headers instead.
def header
warn 'Rack::Response#header is deprecated and will be removed in Rack 3.1', uplevel: 1
warn 'Rack::Response#header is deprecated and will be removed in Rack 3.1, use #headers instead', uplevel: 1

headers
end
Expand Down

0 comments on commit 4da4e4a

Please sign in to comment.