-
Notifications
You must be signed in to change notification settings - Fork 329
Comparing changes
Open a pull request
base repository: httprb/http
base: main
head repository: httprb/http
compare: 3-x-stable
- 20 commits
- 21 files changed
- 7 contributors
Commits on Oct 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 94fdcc4 - Browse repository at this point
Copy the full SHA 94fdcc4View commit details
Commits on Apr 22, 2018
-
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.
Configuration menu - View commit details
-
Copy full SHA for 02ee89d - Browse repository at this point
Copy the full SHA 02ee89dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2456770 - Browse repository at this point
Copy the full SHA 2456770View commit details -
This makes it possible to access the original body object.
Configuration menu - View commit details
-
Copy full SHA for 93e5dfb - Browse repository at this point
Copy the full SHA 93e5dfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f404983 - Browse repository at this point
Copy the full SHA f404983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bfb17a - Browse repository at this point
Copy the full SHA 5bfb17aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 717b5a0 - Browse repository at this point
Copy the full SHA 717b5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a29adf2 - Browse repository at this point
Copy the full SHA a29adf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4592c1e - Browse repository at this point
Copy the full SHA 4592c1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ac5a29 - Browse repository at this point
Copy the full SHA 1ac5a29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 681b177 - Browse repository at this point
Copy the full SHA 681b177View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8bbb84 - Browse repository at this point
Copy the full SHA a8bbb84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49c64ae - Browse repository at this point
Copy the full SHA 49c64aeView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for f2abc5e - Browse repository at this point
Copy the full SHA f2abc5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f6878 - Browse repository at this point
Copy the full SHA 04f6878View commit details
Commits on Apr 24, 2018
-
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.
Configuration menu - View commit details
-
Copy full SHA for 2b16fb8 - Browse repository at this point
Copy the full SHA 2b16fb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc66fb8 - Browse repository at this point
Copy the full SHA fc66fb8View commit details
Commits on Apr 25, 2018
-
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: #458Configuration menu - View commit details
-
Copy full SHA for 86ee646 - Browse repository at this point
Copy the full SHA 86ee646View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5ddbae - Browse repository at this point
Copy the full SHA f5ddbaeView commit details
Commits on Sep 10, 2021
-
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
Configuration menu - View commit details
-
Copy full SHA for ab2bfbf - Browse repository at this point
Copy the full SHA ab2bfbfView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...3-x-stable