Commit Graph

  • d45cae096b fix: do not raise things which are not exceptions HoneyryderChuck 2024-12-07 20:00:40 +00:00
  • 717b932e01 improved coverage of content digest plugin tests HoneyryderChuck 2024-12-03 09:00:11 +00:00
  • da11cb320c Merge branch 'json-suffix' into 'master' HoneyryderChuck 2024-12-03 08:50:07 +00:00
  • 4bf07e75ac Accept more MIME types with json suffix sarna 2024-12-03 08:50:07 +00:00
  • 3b52ef3c09 Merge branch 'simpler-selector' into 'master' HoneyryderChuck 2024-12-02 14:26:17 +00:00
  • ac809d18cc content-digest: set validate_content_digest default to false; do not try to compute content-digest for requests with no body HoneyryderChuck 2024-12-02 13:04:57 +00:00
  • 85019e5493 Merge branch 'content_digest' into 'master' HoneyryderChuck 2024-12-02 12:37:40 +00:00
  • 95c1a264ee Add support for content-digest headers (RFC9530) David Roetzel 2024-12-02 12:37:40 +00:00
  • 32313ef02e Merge branch 'fix-json-encode-with-oj' into 'master' HoneyryderChuck 2024-11-29 19:41:40 +00:00
  • ed9df06b38 fix rubocop offenses Denis Sadomowski 2024-11-29 18:26:39 +01:00
  • b9086f37cf Compat mode for Oj.dump by default Denis Sadomowski 2024-11-29 17:47:30 +01:00
  • d3ed551203 revert arguments to json_dump Denis Sadomowski 2024-11-29 17:40:32 +01:00
  • 1b0e9b49ef Fix incorrect hash key rendering with Oj JSON encoder Denis Sadomowski 2024-11-28 16:15:57 +01:00
  • 8797434ae7 Merge branch 'fix-hexdigest-on-compressed-bodies' into 'master' HoneyryderChuck 2024-11-27 18:06:39 +00:00
  • 25c87f3b96 fix: do not try to rewind on bodies which respond to #each HoneyryderChuck 2024-11-27 09:03:00 +00:00
  • 26c63a43e0 aws sigv4support calculation of hexdigest on top of compressed bodies in a more optimal way HoneyryderChuck 2024-11-27 08:55:00 +00:00
  • 3217fc03f8 allow deflater bodies to rewind HoneyryderChuck 2024-11-27 08:50:57 +00:00
  • b7b63c4460 removing unused bits HoneyryderChuck 2024-11-27 08:50:26 +00:00
  • 7d8388af28 add test for calculation of hexdigest on top of a compressed body HoneyryderChuck 2024-11-27 08:49:46 +00:00
  • a53d7f1e01 raise error happening in request-to-connection paths HoneyryderChuck 2024-11-04 11:53:08 +00:00
  • c019f1b3a7 removing usage of global unshareable object in default options HoneyryderChuck 2024-11-04 11:51:17 +00:00
  • 594f6056da native resolver: treat tcp hanshake errors as resolve errors HoneyryderChuck 2024-10-30 11:35:39 +00:00
  • 113e9fd4ef moving leftover option proc into private function HoneyryderChuck 2024-10-30 11:33:21 +00:00
  • e32d226151 refactor of internal resolver cache lookup access to make it a bit safer HoneyryderChuck 2024-10-30 11:29:41 +00:00
  • a3246e506d freezing all default options HoneyryderChuck 2024-10-30 11:01:22 +00:00
  • ccb22827a2 using find_index/delete_at instead of find/delete HoneyryderChuck 2024-10-29 11:31:14 +00:00
  • 94e154261b store selectors in thread-local variables HoneyryderChuck 2024-10-16 17:31:13 +01:00
  • c23561f80c linting... HoneyryderChuck 2024-10-05 19:10:04 +01:00
  • 681650e9a6 fixed long-standing reenqueue of request in the pending list HoneyryderChuck 2024-10-04 17:05:24 +01:00
  • 31f0543da2 minor improvement on handling do_init_connection HoneyryderChuck 2024-10-04 15:39:37 +01:00
  • 5e3daadf9c changing the order of operations handling misdirectedd requests HoneyryderChuck 2024-10-04 15:30:49 +01:00
  • 6b9a737756 introducing Connection#peer to point to the host to connect to HoneyryderChuck 2024-10-01 16:09:59 +01:00
  • 1f9dcfb353 implement per-origin connection threshold per pool HoneyryderChuck 2024-09-30 18:26:33 +01:00
  • d77e97d31d repositioned empty placeholder hash HoneyryderChuck 2024-09-30 18:20:11 +01:00
  • 69e7e533de synchronize access to connections in the pool HoneyryderChuck 2024-09-27 12:39:18 +01:00
  • 840bb55ab3 do not return idle (result of either cloning or coalescing) connections back to the pool HoneyryderChuck 2024-08-27 15:31:13 +01:00
  • 5223d51475 setting the connection pool locally to the session HoneyryderChuck 2024-08-27 15:25:38 +01:00
  • 8ffa04d4a8 making pool class a plugin extendable class HoneyryderChuck 2024-08-27 15:02:23 +01:00
  • 4a351bc095 adapted plugins to the new structure HoneyryderChuck 2024-08-16 12:48:45 +01:00
  • 11d197ff24 changed internal session structure, so that it uses local selectors directly HoneyryderChuck 2024-08-16 11:32:47 +01:00
  • 12fbca468b rewrote Pool class to act as a connection pool, the way it was intended HoneyryderChuck 2024-08-14 17:14:14 +01:00
  • 79d5d16c1b moving session with pool test plugin to override on the session and drop pool changes HoneyryderChuck 2024-08-14 17:04:21 +01:00
  • e204bc6df0 passing connections to Pool#next_tick and Pool#next_timeout HoneyryderChuck 2024-07-18 16:23:29 +01:00
  • 6783b378d3 bump version to 1.3.4 v1.3.4 HoneyryderChuck 2024-11-19 12:53:34 +00:00
  • 9d7681cb46 Merge branch 'webmock-form-tempfile' into 'master' HoneyryderChuck 2024-11-06 13:58:04 +00:00
  • c6139e40db response body: protect against invalid charset in content-type header HoneyryderChuck 2024-11-06 13:38:19 +00:00
  • a4b95db01c Fix webmock integration when posting tempfiles Earlopain 2024-11-04 12:54:20 +01:00
  • 91b9e13cd0 bumped version to 1.3.3 v1.3.3 HoneyryderChuck 2024-10-31 18:00:12 +00:00
  • 8d5def5f02 Merge branch 'issue-319' into 'master' HoneyryderChuck 2024-10-31 17:58:42 +00:00
  • 3e504fb511 fix for webmock request body expecting a string HoneyryderChuck 2024-10-31 17:47:06 +00:00
  • 492097d551 bumped version to 1.3.2 v1.3.2 HoneyryderChuck 2024-10-30 11:50:49 +00:00
  • 02ed2ae87d raise invalid uri if passed request uri does not contain the host part HoneyryderChuck 2024-10-28 10:40:28 +00:00
  • 599b6865da removing parentheses from regex HoneyryderChuck 2024-10-25 15:54:04 +01:00
  • 7c0e776044 coverage must be a regex HoneyryderChuck 2024-10-25 13:58:58 +01:00
  • 7ea0b32161 fix coverage badge generation HoneyryderChuck 2024-10-25 13:55:51 +01:00
  • 72b0267598 Merge branch 'issue-317' into 'master' HoneyryderChuck 2024-10-25 12:55:25 +00:00
  • 4a966d4cb8 Add a regression test for WebMock with form/multipart Alexey Romanov 2024-10-21 18:00:32 +00:00
  • 70f1ffc65d Merge branch 'github-issue-63' into 'master' HoneyryderChuck 2024-10-21 09:23:50 +00:00
  • fda0ea8b0e Prevent NoMethodError in the proxy plugin Alexey Romanov 2024-10-20 16:56:15 +00:00
  • 2443ded12b update CI test certs HoneyryderChuck 2024-09-27 09:16:06 +01:00
  • 1db2d00d07 rename get tests HoneyryderChuck 2024-09-06 09:43:25 +01:00
  • 40b4884d87 bumped version to 1.3.1 v1.3.1 HoneyryderChuck 2024-08-20 17:20:24 +01:00
  • 823e7446f4 faraday: do not call on_complete when not defined HoneyryderChuck 2024-08-20 16:55:57 +01:00
  • 83b4c73b92 protect against coalescing connections on the resolver HoneyryderChuck 2024-08-19 15:10:18 +01:00
  • 9844a55205 fix CPU usage loop Diogo Vernier 2024-08-15 10:10:02 -03:00
  • 6e1bc89256 Merge branch 'issue-312' into 'master' HoneyryderChuck 2024-08-19 15:45:41 +00:00
  • 8ec0765bd7 Merge branch 'max-time' into 'master' HoneyryderChuck 2024-08-19 15:45:24 +00:00
  • cb48fc1555 fix CPU usage loop #60 Diogo Vernier 2024-08-15 10:10:02 -03:00
  • 6b893872fb allow further extension of the httpx session via faraday config block HoneyryderChuck 2024-08-01 11:41:10 +01:00
  • ca8346b193 adding options docs HoneyryderChuck 2024-07-25 14:57:03 +01:00
  • 7115f0cdce avoid enqueing requests after a period if the request is over HoneyryderChuck 2024-07-22 14:55:41 +01:00
  • 74fc7bf77d when bubbling up errors in the connection, handle request error directly HoneyryderChuck 2024-07-22 14:53:53 +01:00
  • 002459b9b6 fix: do not generate new connection on 407 check for proxies HoneyryderChuck 2024-07-22 14:50:13 +01:00
  • 1ee39870da deactivate connection before deferring a request in the future HoneyryderChuck 2024-07-19 12:27:59 +01:00
  • b8db28abd2 make request_timeout reset on returned response, rather than response callback HoneyryderChuck 2024-07-19 12:15:13 +01:00
  • fafe7c140c splatting connections on pool.deactivate call, as per defined sig HoneyryderChuck 2024-07-19 12:03:17 +01:00
  • 047dc30487 do not use thread variables in mock response test plugin HoneyryderChuck 2024-07-19 12:01:48 +01:00
  • 4c44f40511 moving seek-or-init connection logic fully to the pool alt-conn-pool HoneyryderChuck 2024-07-18 16:25:42 +01:00
  • f74ab7e167 passing connections to Pool#next_tick and Pool#next_timeout HoneyryderChuck 2024-07-18 16:23:29 +01:00
  • dba9175a68 remove needless reinitalizationn of ivars HoneyryderChuck 2024-07-18 16:21:49 +01:00
  • 5c9408bfb7 adding :pool option HoneyryderChuck 2024-07-18 10:36:59 +01:00
  • 7278647688 bump version to 1.3.0 v1.3.0 HoneyryderChuck 2024-07-10 16:27:24 +01:00
  • 09fbb32b9a fix: in test, uri URI to build uri with ip address, as concatenating fails for IPv6 HoneyryderChuck 2024-07-10 16:10:21 +01:00
  • 4e7ad8fd23 fix: cookies plugin should not make Session#build_request private HoneyryderChuck 2024-07-10 15:52:56 +01:00
  • 9a3ddfd0e4 change datadog v2 constraint to not test against beta version HoneyryderChuck 2024-07-10 15:50:14 +01:00
  • e250ea5118 Merge branch 'http-2-gem' into 'master' HoneyryderChuck 2024-07-08 15:19:37 +00:00
  • 2689adc390 Merge branch 'request-options' into 'master' HoneyryderChuck 2024-07-08 15:19:02 +00:00
  • ba31204227 switch from http-2-next to http-2 HoneyryderChuck 2024-06-17 11:06:48 +01:00
  • 581b749e89 bumped version to 1.2.6 v1.2.6 HoneyryderChuck 2024-06-17 10:58:39 +01:00
  • 7562346357 fix: do not try fetching the retry-after on error responses HoneyryderChuck 2024-06-11 19:09:47 +01:00
  • e7aa53365e typing retries #fetch_response HoneyryderChuck 2024-06-11 19:08:44 +01:00
  • 0b671fa2f9 simplify ErrorResponse by fetching options from the request, like Response HoneyryderChuck 2024-03-22 18:45:46 +00:00
  • 8b2ee0b466 remove form, json, ,xml and body from the Options class HoneyryderChuck 2024-01-24 22:42:20 +00:00
  • b686119a6f do not try to cast to Options all the time, trust the internal structure HoneyryderChuck 2024-01-24 22:37:18 +00:00
  • dcbd2f81e3 change internal buffer fetch using ivar getter HoneyryderChuck 2024-01-19 23:45:46 +00:00
  • 0fffa98e83 avoid traversing full intervals list, which is ordered by oldest intervals first HoneyryderChuck 2024-01-19 23:44:48 +00:00
  • 08ba389fd6 log mmore info on read for level 3 HoneyryderChuck 2024-01-19 23:42:48 +00:00
  • 587271ff77 improving sigs HoneyryderChuck 2024-06-09 19:41:53 +01:00
  • 7062b3c49b Merge branch 'gh-52' into 'master' HoneyryderChuck 2024-06-11 16:24:52 +00:00
  • 54150a2448 improving sigs better-sigs HoneyryderChuck 2024-06-09 19:41:53 +01:00