Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix String status check failed at STATUS_WITH_NO_ENTITY_BODY #1275

Merged
merged 1 commit into from May 15, 2018

Commits on May 7, 2018

  1. fix String status check failed at STATUS_WITH_NO_ENTITY_BODY

    Since the `STATUS_WITH_NO_ENTITY_BODY` is an array of Integer, the check
    at lib/rack/lint.rb and lib/rack/content_length.rb allows to check the
    String status by calling `to_i`, but other places do not.
    Fixed to use the same behaviour for
    - lib/rack/content_type.rb
    - lib/rack/chunked.rb
    - lib/rack/deflater.rb
    yeuem1vannam committed May 7, 2018
    Configuration menu
    Copy the full SHA
    8dafce5 View commit details
    Browse the repository at this point in the history