Sitelet https://github.com/httprb/http/compare/main...3-x-stable
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: httprb/http
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: httprb/http
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3-x-stable
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 20 commits
  • 21 files changed
  • 7 contributors

Commits on Oct 1, 2017

  1. Update README

    ixti committed Oct 1, 2017
    Configuration menu
    Copy the full SHA
    94fdcc4 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2018

  1. Bump up min requried version of ruby to 2.2

    It has to be done prior 3.0.0 release, so shame on me.
    Ruby 2.2 will be EOL soon, so I believe 4.x release should
    drop Ruby 2.2 support too. :D I might be too radical today though.
    ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    02ee89d View commit details
    Browse the repository at this point in the history
  2. Remove http-form_data pre-release from gemspec

    janko authored and ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    2456770 View commit details
    Browse the repository at this point in the history
  3. Add Request::Body#source

    This makes it possible to access the original body object.
    janko authored and ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    93e5dfb View commit details
    Browse the repository at this point in the history
  4. README.md: 2018

    tarcieri authored and ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    f404983 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bfb17a View commit details
    Browse the repository at this point in the history
  6. Fix query string building for string with newlines

    Expose `HTTP::URI#query_values` & `HTTP::URI#query_values=` which
    delegate to the underlying `Addressable::URI` instead of using
    Addressable's `form_encode` method.
    mikegee authored and ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    717b5a0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a29adf2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4592c1e View commit details
    Browse the repository at this point in the history
  9. Rename HTTP::Parser#get_chunk to #read

    janko authored and ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    1ac5a29 View commit details
    Browse the repository at this point in the history
  10. Fix broken HTTP::Connection#readpartial

    800c581 broke `readpartial` method: it returns same chunk twice :(
    
    Ref #454
    marshall-lee authored and ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    681b177 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a8bbb84 View commit details
    Browse the repository at this point in the history
  12. Release v3.1.0

    ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    49c64ae View commit details
    Browse the repository at this point in the history
  13. Reduce memory usage when reading response body

    Currently for each chunk read from the socket a new string is being
    allocated. This is not necessary, because we're feeding that string
    object into the HTTP parser and never using it again.
    
    So we initialize a buffer string and pass it in when reading chunks.
    This will make each chunk be read into the same buffer object, no new
    string will be allocated in that operation.
    
    In my benchmark this halves the allocated memory when downloading
    large response bodies.
    janko authored and ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    f2abc5e View commit details
    Browse the repository at this point in the history
  14. Release v3.2.0

    ixti committed Apr 22, 2018
    Configuration menu
    Copy the full SHA
    04f6878 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2018

  1. Rewind IO-alike request body after it was consumed.

    Webmock triggers `body.each` twice upon inital request recording:
    
    1. to perform request
    2. to record request data into webmock request registry
    
    But even without WebMock, generally Body#each must be replayable IMO.
    ixti committed Apr 24, 2018
    Configuration menu
    Copy the full SHA
    2b16fb8 View commit details
    Browse the repository at this point in the history
  2. Release v3.2.1

    ixti committed Apr 24, 2018
    Configuration menu
    Copy the full SHA
    fc66fb8 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2018

  1. Backport HTTP::Client#build_request method

    Squashed commit of the following:
    
    commit 15be2e59d4eb1b0d8c9bb6f1a8d2956421635ba0
    Author: Yuri Smirnov <tycooon@yandex.ru>
    Date:   Mon Feb 12 15:31:47 2018 +0300
    
        rename #prepare_request to #build_request
    
    commit 9fab69049aef13edcdc8e3714618322f6d9c9e71
    Author: Yuri Smirnov <tycooon@yandex.ru>
    Date:   Mon Feb 12 13:36:37 2018 +0300
    
        extract prepare_request method
    
    See: #458
    ixti committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    86ee646 View commit details
    Browse the repository at this point in the history
  2. Release v3.3.0

    ixti committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    f5ddbae View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2021

  1. Always encode headers as a binary string (#496)

    This prevents the issue of encoding errors when trying to concat binary
    bodies with this header string.
    
    This should resolve #490
    mikeastock authored Sep 10, 2021
    Configuration menu
    Copy the full SHA
    ab2bfbf View commit details
    Browse the repository at this point in the history
Loading