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

Better handling of multipart parsing when request is missing body. #1997

Closed
wants to merge 2 commits into from

Commits on Jan 17, 2023

  1. Better handling of multipart parsing when request is missing body.

    - Introduce `module Rack::BadRequest` for unified exception handling.
    - Add `BadRequest` to query parser too.
    - Make `env['rack.input']` optional.
    
    # Conflicts:
    #	lib/rack/request.rb
    ioquatix committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    25de02a View commit details
    Browse the repository at this point in the history
  2. Better handling of multipart parsing when request is missing body.

    - Introduce `module Rack::BadRequest` for unified exception handling.
    - Add `BadRequest` to query parser too.
    - Make `env['rack.input']` optional.
    ioquatix committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    0c10e7a View commit details
    Browse the repository at this point in the history