Skip to content
Permalink
Branch: master
Commits on Jan 13, 2020
  1. Update lib/rack/response.rb

    ioquatix and rafaelfranca committed Jan 13, 2020
    Co-Authored-By: Rafael França <rafael@franca.dev>
Commits on Jan 11, 2020
  1. Update changelog for 2.1.1 stable.

    ioquatix committed Jan 11, 2020
  2. Remove chunked middleware from default server stack.

    ioquatix committed Jan 11, 2020
    The chunked middleware assumes details about the protocol level
    implementation. Due to recent changes from HTTP_VERSION to SERVER_PROTOCOL,
    this dormant middleware now appears to be breaking a lot of assumptions.
    
    #1472
    #1266
  3. Improve install process.

    ioquatix committed Jan 11, 2020
  4. Drop support for Ruby 2.2 as it is well past EOL.

    ioquatix committed Jan 11, 2020
  5. Fix RuboCop violations.

    ioquatix committed Jan 11, 2020
Commits on Jan 10, 2020
  1. Ensure body is closed after buffering it. Fixes #877.

    ioquatix committed Jan 10, 2020
  2. Add badge for documentation coverage.

    ioquatix committed Jan 10, 2020
  3. Remove duplicate assertion from request spec. See #937.

    ioquatix committed Jan 10, 2020
  4. Prefer to use `@names.clear` to avoid hash allocation. See #938.

    ioquatix committed Jan 10, 2020
  5. Merge pull request #938 from raxoft/patch-1

    ioquatix committed Jan 10, 2020
    HeaderHash must clear names on clear/replace.
  6. Merge pull request #963 from yui-knk/doc_delete_session_is_required_t…

    ioquatix committed Jan 10, 2020
    …o_be_overwritten
    
    [ci skip] Add `#delete_session` to should be overwritten list.
  7. Merge pull request #966 from ch1c0t/use-float-infinity

    ioquatix committed Jan 10, 2020
    Use Float::INFINITY in Rack::URLMap instead of rolling our own
  8. Merge pull request #975 from bb-froggy/patch-1

    ioquatix committed Jan 10, 2020
    Fixed a typo in a comment
  9. Merge pull request #1465 from rack/rack-files-nil-root

    ioquatix committed Jan 10, 2020
    Fix ActiveStorage use-case and add test case. Fixes #1464.
  10. Fix ActiveStorage use-case and add test case. Fixes #1464.

    ioquatix committed Jan 10, 2020
Commits on Jan 9, 2020
  1. Merge pull request #1461 from p8/cleanup-changelog

    ioquatix committed Jan 9, 2020
    Remove changes from CHANGELOG already present in older versions [ci s…
Commits on Jan 8, 2020
  1. Merge pull request #1162 from snood1205/master

    ioquatix committed Jan 8, 2020
    Added (Unused) 306 HTTP Status Code
  2. Merge pull request #1460 from rack/base64-strict

    ioquatix committed Jan 8, 2020
    Use "strict encoding" for Base64 encoded cookies
  3. Use "strict encoding" for Base64 encoded cookies

    ioquatix committed Jan 8, 2020
    The prior implementation would include new lines characters.
    Subsequently, these characters would then be URI encoded when the
    headers are written (as "%0A"). Not including new lines via "strict
    encoding" will slightly reduce the size for long session values.
    
    In order to handle existing sessions encoded with new lines,
    Base64#decode will handle ArgumentError exceptions and try to decode
    using non-strict encoding. A couple of small specs have also been added
    for this case.
    
    # Conflicts:
    #	lib/rack/session/cookie.rb
  4. Merge pull request #1458 from p8/update-2-0-stable-changelog

    ioquatix committed Jan 8, 2020
    Add changes to Changelog
  5. Merge pull request #1456 from rack/response-body-compact

    ioquatix committed Jan 8, 2020
    Response body compact
  6. Don't propagate nil values.

    ioquatix committed Jan 8, 2020
    Some middleware is generating `[nil]` bodies. Previous implementation would
    filter these. So, we reproduce this behaviour when buffering the body.
  7. Prefer parentheses.

    ioquatix committed Jan 8, 2020
  8. Remove trailing whitespace.

    ioquatix committed Jan 8, 2020
Commits on Jan 7, 2020
  1. Restore part of status=205 spec.

    ioquatix committed Jan 7, 2020
  2. Prefer `Hash#[]` which is about 20% faster and more logical.

    ioquatix committed Jan 7, 2020
  3. Reuse `Rack::Utils::STATUS_WITH_NO_ENTITY_BODY`.

    ioquatix committed Jan 7, 2020
  4. Lazily initialize the response body and only buffer it if required.

    ioquatix committed Dec 24, 2019
    The implementation of `Rack::Response` will double buffer every body even
    if the user does not call `#write`. This is inefficient and additionally
    imposes some type checking overhead even if none is wanted.
    
    Fixes <socketry/falcon#93>.
  5. Merge pull request #1454 from rack/to_ary-flatten

    ioquatix committed Jan 7, 2020
    Improve spec compatibility with current master.
  6. Improve spec compatibility with current master.

    ioquatix committed Jan 7, 2020
  7. Improve spec name and be explicit about result.

    ioquatix committed Jan 7, 2020
  8. Merge pull request #1453 from rack/rm_to_ary_from_response

    ioquatix committed Jan 7, 2020
    Remove `to_ary` from Response
Older
You can’t perform that action at this time.