Skip to content

Frozen string errors in ruby 3.4 #745

@hlascelles

Description

@hlascelles

Ruby 3.4 emits Warnings for this gem as it modifies strings, which may be frozen in the future.

This line:

canonical_headers << "#{key.to_s.downcase}:#{headers[key].to_s.strip}\n"

More info: https://www.prateekcodes.dev/ruby-34-frozen-string-literals-rails-upgrade-guide/

Hope that makes sense!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions