httpx 1.7.8 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/release_notes/1_7_1.md +1 -2
- data/doc/release_notes/1_8_0.md +100 -0
- data/doc/release_notes/1_8_1.md +27 -0
- data/lib/httpx/adapters/datadog.rb +12 -1
- data/lib/httpx/adapters/faraday.rb +2 -2
- data/lib/httpx/adapters/webmock.rb +6 -0
- data/lib/httpx/connection/http1.rb +15 -12
- data/lib/httpx/connection/http2.rb +69 -9
- data/lib/httpx/connection.rb +119 -21
- data/lib/httpx/errors.rb +8 -1
- data/lib/httpx/headers.rb +2 -2
- data/lib/httpx/io/ssl.rb +8 -9
- data/lib/httpx/io/tcp.rb +22 -5
- data/lib/httpx/io/unix.rb +2 -2
- data/lib/httpx/loggable.rb +11 -4
- data/lib/httpx/options.rb +16 -4
- data/lib/httpx/parser/http1.rb +8 -2
- data/lib/httpx/plugins/auth/digest.rb +1 -1
- data/lib/httpx/plugins/auth.rb +61 -4
- data/lib/httpx/plugins/{response_cache → cache}/file_store.rb +1 -1
- data/lib/httpx/plugins/{response_cache → cache}/store.rb +1 -1
- data/lib/httpx/plugins/cache.rb +221 -0
- data/lib/httpx/plugins/callbacks.rb +12 -0
- data/lib/httpx/plugins/digest_auth.rb +4 -0
- data/lib/httpx/plugins/fiber_concurrency.rb +75 -4
- data/lib/httpx/plugins/ntlm_v2_auth.rb +92 -0
- data/lib/httpx/plugins/oauth.rb +66 -14
- data/lib/httpx/plugins/persistent.rb +18 -2
- data/lib/httpx/plugins/proxy.rb +5 -0
- data/lib/httpx/plugins/push_promise.rb +2 -2
- data/lib/httpx/plugins/response_cache.rb +26 -105
- data/lib/httpx/plugins/retries.rb +7 -5
- data/lib/httpx/plugins/server_sent_events.rb +158 -0
- data/lib/httpx/plugins/ssrf_filter.rb +17 -2
- data/lib/httpx/plugins/stream.rb +9 -5
- data/lib/httpx/plugins/stream_bidi.rb +2 -0
- data/lib/httpx/plugins/tracing.rb +15 -4
- data/lib/httpx/pool.rb +2 -2
- data/lib/httpx/request/body.rb +2 -2
- data/lib/httpx/request.rb +42 -10
- data/lib/httpx/resolver/cache/base.rb +1 -8
- data/lib/httpx/resolver/cache/file.rb +56 -0
- data/lib/httpx/resolver/https.rb +20 -20
- data/lib/httpx/resolver/native.rb +21 -3
- data/lib/httpx/resolver/resolver.rb +4 -0
- data/lib/httpx/resolver/system.rb +5 -2
- data/lib/httpx/response/body.rb +6 -4
- data/lib/httpx/response.rb +12 -5
- data/lib/httpx/selector.rb +12 -1
- data/lib/httpx/session.rb +6 -1
- data/lib/httpx/session_extensions.rb +2 -2
- data/lib/httpx/timers.rb +3 -0
- data/lib/httpx/version.rb +1 -1
- data/sig/chainable.rbs +3 -0
- data/sig/connection/http1.rbs +1 -1
- data/sig/connection/http2.rbs +4 -1
- data/sig/connection.rbs +16 -9
- data/sig/errors.rbs +9 -3
- data/sig/httpx.rbs +2 -0
- data/sig/io/tcp.rbs +2 -0
- data/sig/loggable.rbs +8 -0
- data/sig/options.rbs +25 -12
- data/sig/parser/http1.rbs +3 -1
- data/sig/plugins/auth/ntlm.rbs +1 -1
- data/sig/plugins/auth.rbs +4 -0
- data/sig/plugins/{response_cache → cache}/file_store.rbs +2 -2
- data/sig/plugins/{response_cache → cache}/store.rbs +2 -2
- data/sig/plugins/cache.rbs +69 -0
- data/sig/plugins/fiber_concurrency.rbs +4 -0
- data/sig/plugins/ntlm_v2_auth.rbs +36 -0
- data/sig/plugins/persistent.rbs +3 -0
- data/sig/plugins/response_cache.rbs +13 -38
- data/sig/plugins/retries.rbs +5 -5
- data/sig/plugins/server_sent_events.rbs +45 -0
- data/sig/plugins/ssrf_filter.rbs +5 -1
- data/sig/plugins/stream.rbs +1 -1
- data/sig/plugins/stream_bidi.rbs +0 -2
- data/sig/plugins/webdav.rbs +1 -1
- data/sig/pool.rbs +2 -2
- data/sig/request.rbs +9 -6
- data/sig/resolver/cache/file.rbs +13 -0
- data/sig/resolver/entry.rbs +1 -1
- data/sig/resolver/https.rbs +3 -3
- data/sig/resolver/multi.rbs +1 -1
- data/sig/resolver/native.rbs +5 -5
- data/sig/resolver/resolver.rbs +1 -3
- data/sig/resolver/system.rbs +5 -2
- data/sig/resolver.rbs +3 -0
- data/sig/response.rbs +3 -0
- data/sig/selector.rbs +13 -8
- data/sig/timers.rbs +7 -5
- data/sig/transcoder/body.rbs +1 -1
- data/sig/transcoder/gzip.rbs +3 -2
- data/sig/transcoder/multipart.rbs +4 -1
- data/sig/transcoder/utils/deflater.rbs +2 -0
- data/sig/transcoder.rbs +2 -0
- data/sig/utils.rbs +1 -1
- metadata +19 -7
data/sig/plugins/stream.rbs
CHANGED
|
@@ -40,7 +40,7 @@ module HTTPX
|
|
|
40
40
|
type streamRequest = Request & Plugins::Stream::RequestMethods
|
|
41
41
|
|
|
42
42
|
attr_reader request: streamRequest
|
|
43
|
-
@options: Options & _StreamOptions
|
|
43
|
+
@options: Options & Plugins::Stream::_StreamOptions
|
|
44
44
|
|
|
45
45
|
@session: Plugins::sessionStream
|
|
46
46
|
@response_enum: Enumerator[String]?
|
data/sig/plugins/stream_bidi.rbs
CHANGED
data/sig/plugins/webdav.rbs
CHANGED
|
@@ -6,7 +6,7 @@ module HTTPX
|
|
|
6
6
|
|
|
7
7
|
def move: (String src, String dst) -> (Response | ErrorResponse)
|
|
8
8
|
|
|
9
|
-
def lock: (String path, ?timeout:
|
|
9
|
+
def lock: (String path, ?timeout: interval) ?{ (Response response) -> void } -> (Response | ErrorResponse)
|
|
10
10
|
|
|
11
11
|
def unlock: (String path, String? lock_token) -> (Response | ErrorResponse)
|
|
12
12
|
|
data/sig/pool.rbs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module HTTPX
|
|
2
2
|
type pool_options = {
|
|
3
3
|
max_connections_per_origin: Integer?,
|
|
4
|
-
pool_timeout:
|
|
4
|
+
pool_timeout: interval?
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
class Pool
|
|
@@ -11,7 +11,7 @@ module HTTPX
|
|
|
11
11
|
|
|
12
12
|
@max_connections: Integer
|
|
13
13
|
@max_connections_per_origin: Integer
|
|
14
|
-
@pool_timeout:
|
|
14
|
+
@pool_timeout: interval
|
|
15
15
|
@options: Options
|
|
16
16
|
@resolvers: Hash[Class, Array[resolver_manager]]
|
|
17
17
|
@resolver_mtx: Thread::Mutex
|
data/sig/request.rbs
CHANGED
|
@@ -15,8 +15,9 @@ module HTTPX
|
|
|
15
15
|
attr_reader state: Symbol
|
|
16
16
|
attr_reader options: Options
|
|
17
17
|
attr_reader response: response?
|
|
18
|
+
attr_reader http2_stream_options: { ?dependency: Integer, ?exclusive: bool, ?weight: Integer }
|
|
18
19
|
attr_reader drain_error: StandardError?
|
|
19
|
-
attr_reader active_timeouts: Array[
|
|
20
|
+
attr_reader active_timeouts: Array[Timers::Timer]
|
|
20
21
|
|
|
21
22
|
attr_writer connection: Connection?
|
|
22
23
|
attr_writer on_response_arrived: (^() -> void)?
|
|
@@ -30,11 +31,14 @@ module HTTPX
|
|
|
30
31
|
@informational_status: Integer?
|
|
31
32
|
@query: String?
|
|
32
33
|
@drainer: Enumerator[String, void]?
|
|
34
|
+
@started: bool
|
|
33
35
|
|
|
34
36
|
def initialize: (Symbol | String verb, generic_uri uri, Options options, ?request_params params) -> untyped
|
|
35
37
|
|
|
36
38
|
def complete!: (?response response) -> void
|
|
37
39
|
|
|
40
|
+
def started?: () -> bool
|
|
41
|
+
|
|
38
42
|
def ping?: () -> bool
|
|
39
43
|
|
|
40
44
|
def ping!: () -> void
|
|
@@ -75,11 +79,11 @@ module HTTPX
|
|
|
75
79
|
|
|
76
80
|
def persistent?: () -> bool
|
|
77
81
|
|
|
78
|
-
def read_timeout: () ->
|
|
82
|
+
def read_timeout: () -> interval?
|
|
79
83
|
|
|
80
|
-
def write_timeout: () ->
|
|
84
|
+
def write_timeout: () -> interval?
|
|
81
85
|
|
|
82
|
-
def request_timeout: () ->
|
|
86
|
+
def request_timeout: () -> interval?
|
|
83
87
|
|
|
84
88
|
def set_timeout_callback: (Symbol event) { (*untyped) -> void } -> void
|
|
85
89
|
|
|
@@ -89,7 +93,6 @@ module HTTPX
|
|
|
89
93
|
|
|
90
94
|
private
|
|
91
95
|
|
|
92
|
-
def
|
|
93
|
-
|
|
96
|
+
def reset_timers: (bool reset_total_request_timers) -> void
|
|
94
97
|
end
|
|
95
98
|
end
|
data/sig/resolver/entry.rbs
CHANGED
data/sig/resolver/https.rbs
CHANGED
|
@@ -11,8 +11,8 @@ module HTTPX
|
|
|
11
11
|
attr_reader family: ip_family
|
|
12
12
|
|
|
13
13
|
@options: Options
|
|
14
|
-
@_timeouts: Array[
|
|
15
|
-
@timeouts: Hash[String, Array[
|
|
14
|
+
@_timeouts: Array[interval]
|
|
15
|
+
@timeouts: Hash[String, Array[interval]]
|
|
16
16
|
@queries: Hash[String, Connection]
|
|
17
17
|
@requests: Hash[Request, String]
|
|
18
18
|
@connections: Array[Connection]
|
|
@@ -43,7 +43,7 @@ module HTTPX
|
|
|
43
43
|
|
|
44
44
|
def inflight?: () -> bool
|
|
45
45
|
|
|
46
|
-
def handle_socket_timeout: (
|
|
46
|
+
def handle_socket_timeout: (interval interval) -> void
|
|
47
47
|
|
|
48
48
|
private
|
|
49
49
|
|
data/sig/resolver/multi.rbs
CHANGED
data/sig/resolver/native.rbs
CHANGED
|
@@ -14,8 +14,8 @@ module HTTPX
|
|
|
14
14
|
@ndots: Integer
|
|
15
15
|
@start_timeout: Float?
|
|
16
16
|
@search: Array[String]
|
|
17
|
-
@_timeouts: Array[
|
|
18
|
-
@timeouts: Hash[String, Array[
|
|
17
|
+
@_timeouts: Array[interval]
|
|
18
|
+
@timeouts: Hash[String, Array[interval]]
|
|
19
19
|
@queries: Hash[String, Connection]
|
|
20
20
|
@connections: Array[Connection]
|
|
21
21
|
@read_buffer: String
|
|
@@ -33,9 +33,9 @@ module HTTPX
|
|
|
33
33
|
|
|
34
34
|
def <<: (Connection) -> void
|
|
35
35
|
|
|
36
|
-
def timeout: () ->
|
|
36
|
+
def timeout: () -> interval?
|
|
37
37
|
|
|
38
|
-
def handle_socket_timeout: (
|
|
38
|
+
def handle_socket_timeout: (interval interval) -> void
|
|
39
39
|
|
|
40
40
|
def on_io_error: (IOError error) -> void
|
|
41
41
|
|
|
@@ -49,7 +49,7 @@ module HTTPX
|
|
|
49
49
|
|
|
50
50
|
def schedule_retry: () -> void
|
|
51
51
|
|
|
52
|
-
def do_retry: (String host, Connection connection,
|
|
52
|
+
def do_retry: (String host, Connection connection, interval interval) -> void
|
|
53
53
|
|
|
54
54
|
def dread: (Integer) -> void
|
|
55
55
|
| () -> void
|
data/sig/resolver/resolver.rbs
CHANGED
|
@@ -25,8 +25,6 @@ module HTTPX
|
|
|
25
25
|
|
|
26
26
|
def close: () -> void
|
|
27
27
|
|
|
28
|
-
def terminate: () -> void
|
|
29
|
-
|
|
30
28
|
def closed?: () -> bool
|
|
31
29
|
|
|
32
30
|
def empty?: () -> bool
|
|
@@ -47,7 +45,7 @@ module HTTPX
|
|
|
47
45
|
|
|
48
46
|
def resolve: (?Connection connection, ?String hostname) -> void
|
|
49
47
|
|
|
50
|
-
def emit_resolved_connection: (Connection connection, Array[
|
|
48
|
+
def emit_resolved_connection: (Connection connection, Array[Entry] addresses, bool early_resolve) -> void
|
|
51
49
|
|
|
52
50
|
def initialize: (ip_family family, Options options) -> void
|
|
53
51
|
|
data/sig/resolver/system.rbs
CHANGED
|
@@ -5,9 +5,12 @@ module HTTPX
|
|
|
5
5
|
DONE: 1
|
|
6
6
|
ERROR: 2
|
|
7
7
|
|
|
8
|
+
class AddrinfoTimeoutError < StandardError
|
|
9
|
+
end
|
|
10
|
+
|
|
8
11
|
@resolver: Resolv::DNS
|
|
9
|
-
@_timeouts: Array[
|
|
10
|
-
@timeouts: Hash[String, Array[
|
|
12
|
+
@_timeouts: Array[interval]
|
|
13
|
+
@timeouts: Hash[String, Array[interval]]
|
|
11
14
|
@queries: Array[[ip_family, Connection]]
|
|
12
15
|
@ips: Array[[ip_family, Connection, (Array[Addrinfo] | StandardError)]]
|
|
13
16
|
@pipe_mutex: Thread::Mutex
|
data/sig/resolver.rbs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
module HTTPX
|
|
2
2
|
type ipaddr = String | IPAddr | Resolv::IPv4 | Resolver::Entry
|
|
3
3
|
|
|
4
|
+
type resolver_type = singleton(HTTPX::Resolver::Resolver)
|
|
5
|
+
|
|
4
6
|
module Resolver
|
|
7
|
+
|
|
5
8
|
type dns_resource = singleton(Resolv::DNS::Resource)
|
|
6
9
|
|
|
7
10
|
type dns_result = { "name" => String, "TTL" => Numeric, "alias" => String }
|
data/sig/response.rbs
CHANGED
|
@@ -27,6 +27,7 @@ module HTTPX
|
|
|
27
27
|
@options: Options
|
|
28
28
|
@request: Request
|
|
29
29
|
@content_type: ContentType
|
|
30
|
+
@content_length: Integer?
|
|
30
31
|
@finished: bool
|
|
31
32
|
|
|
32
33
|
def copy_to: (_ToPath | _Writer destination) -> void
|
|
@@ -43,6 +44,8 @@ module HTTPX
|
|
|
43
44
|
|
|
44
45
|
def content_type: () -> ContentType
|
|
45
46
|
|
|
47
|
+
def content_length: () -> Integer?
|
|
48
|
+
|
|
46
49
|
def complete?: () -> bool
|
|
47
50
|
|
|
48
51
|
def json: (?JSON::options opts) -> untyped
|
data/sig/selector.rbs
CHANGED
|
@@ -6,21 +6,26 @@ module HTTPX
|
|
|
6
6
|
|
|
7
7
|
def call: () -> void
|
|
8
8
|
|
|
9
|
+
def initial_call: () -> void
|
|
10
|
+
|
|
9
11
|
def interests: () -> io_interests?
|
|
10
12
|
|
|
11
|
-
def timeout: () ->
|
|
13
|
+
def timeout: () -> interval?
|
|
12
14
|
|
|
13
|
-
def handle_socket_timeout: (
|
|
15
|
+
def handle_socket_timeout: (interval interval) -> void
|
|
14
16
|
|
|
15
17
|
def on_error: (StandardError) -> void
|
|
16
18
|
|
|
17
19
|
def on_io_error: (IOError error) -> void
|
|
18
20
|
|
|
19
21
|
def force_close: (?bool delete_pending) -> void
|
|
22
|
+
|
|
23
|
+
def terminate: () -> void
|
|
20
24
|
end
|
|
21
25
|
|
|
22
26
|
class Selector
|
|
23
|
-
|
|
27
|
+
|
|
28
|
+
type selectable = Resolver::Resolver | Connection | (Object & _Loggable & _Selectable)
|
|
24
29
|
|
|
25
30
|
type io_select_selectable = (selectable | Array[selectable])?
|
|
26
31
|
|
|
@@ -60,15 +65,15 @@ module HTTPX
|
|
|
60
65
|
|
|
61
66
|
def initialize: () -> void
|
|
62
67
|
|
|
63
|
-
def select: (
|
|
68
|
+
def select: (interval? interval) { (selectable) -> void } -> void
|
|
64
69
|
|
|
65
|
-
def select_many: (io_select_selectable r, io_select_selectable w,
|
|
70
|
+
def select_many: (io_select_selectable r, io_select_selectable w, interval? interval) { (selectable) -> void } -> void
|
|
66
71
|
|
|
67
|
-
def select_one: (selectable io, io_interests interests,
|
|
72
|
+
def select_one: (selectable io, io_interests interests, interval? interval) { (selectable) -> void } -> void
|
|
68
73
|
|
|
69
|
-
def next_timeout: () ->
|
|
74
|
+
def next_timeout: () -> interval?
|
|
70
75
|
|
|
71
|
-
def rw_wait: (io_select_selectable IO,
|
|
76
|
+
def rw_wait: (io_select_selectable IO, interval? interval) -> untyped?
|
|
72
77
|
end
|
|
73
78
|
|
|
74
79
|
type io_interests = :r | :w | :rw
|
data/sig/timers.rbs
CHANGED
|
@@ -5,10 +5,10 @@ module HTTPX
|
|
|
5
5
|
@intervals: Array[Interval]
|
|
6
6
|
@next_interval_at: Float
|
|
7
7
|
|
|
8
|
-
def after: (
|
|
9
|
-
| (
|
|
8
|
+
def after: (interval interval_in_secs, ^() -> void) -> Timer
|
|
9
|
+
| (interval interval_in_secs) { () -> void } -> Timer
|
|
10
10
|
|
|
11
|
-
def wait_interval: () ->
|
|
11
|
+
def wait_interval: () -> interval?
|
|
12
12
|
|
|
13
13
|
def fire: (?TimeoutError error) -> void
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@ module HTTPX
|
|
|
23
23
|
class Interval
|
|
24
24
|
include Comparable
|
|
25
25
|
|
|
26
|
-
attr_reader interval:
|
|
26
|
+
attr_reader interval: interval
|
|
27
27
|
|
|
28
28
|
@callbacks: Array[callback]
|
|
29
29
|
|
|
@@ -41,13 +41,15 @@ module HTTPX
|
|
|
41
41
|
|
|
42
42
|
private
|
|
43
43
|
|
|
44
|
-
def initialize: (
|
|
44
|
+
def initialize: (interval interval) -> void
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
class Timer
|
|
48
48
|
@interval: Interval
|
|
49
49
|
@callback: callback
|
|
50
50
|
|
|
51
|
+
attr_accessor label: Symbol?
|
|
52
|
+
|
|
51
53
|
def initialize: (Interval interval, callback callback) -> void
|
|
52
54
|
|
|
53
55
|
def cancel: () -> void
|
data/sig/transcoder/body.rbs
CHANGED
data/sig/transcoder/gzip.rbs
CHANGED
|
@@ -5,12 +5,13 @@ module HTTPX
|
|
|
5
5
|
def self?.decode: (Response response, ?bytesize: Integer) -> Inflater
|
|
6
6
|
|
|
7
7
|
class Deflater < Transcoder::Deflater
|
|
8
|
+
include _Writer
|
|
9
|
+
|
|
8
10
|
@compressed_chunk: String
|
|
11
|
+
@deflater: Zlib::GzipWriter
|
|
9
12
|
|
|
10
13
|
private
|
|
11
14
|
|
|
12
|
-
def write: (String chunk) -> void
|
|
13
|
-
|
|
14
15
|
def compressed_chunk: () -> String
|
|
15
16
|
end
|
|
16
17
|
|
|
@@ -18,7 +18,7 @@ module HTTPX
|
|
|
18
18
|
|
|
19
19
|
def self?.encode: (multipart_input form_data) -> Multipart::Encoder
|
|
20
20
|
|
|
21
|
-
def self?.multipart?: (
|
|
21
|
+
def self?.multipart?: (urlencoded_input | multipart_input form_data) -> bool
|
|
22
22
|
|
|
23
23
|
def self?.multipart_value?: (multipart_nested_value value) -> bool
|
|
24
24
|
|
|
@@ -56,6 +56,8 @@ module HTTPX
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
class Decoder
|
|
59
|
+
include Utils
|
|
60
|
+
|
|
59
61
|
CRLF: String
|
|
60
62
|
BOUNDARY_RE: Regexp
|
|
61
63
|
MULTIPART_CONTENT_TYPE: Regexp
|
|
@@ -82,6 +84,7 @@ module HTTPX
|
|
|
82
84
|
class FilePart # < SimpleDelegator
|
|
83
85
|
attr_reader original_filename: String
|
|
84
86
|
attr_reader content_type: String
|
|
87
|
+
@file: Tempfile
|
|
85
88
|
|
|
86
89
|
# @file: Tempfile
|
|
87
90
|
|
data/sig/transcoder.rbs
CHANGED
|
@@ -12,6 +12,8 @@ module HTTPX
|
|
|
12
12
|
|
|
13
13
|
def self?.normalize_query: (Hash[String, untyped] params, String name, String v, Integer depth) -> void
|
|
14
14
|
|
|
15
|
+
def self?.params_hash_has_key?: (Hash[String, untyped], String key) -> bool
|
|
16
|
+
|
|
15
17
|
interface _Encode
|
|
16
18
|
def encode: (untyped payload) -> body_encoder
|
|
17
19
|
end
|
data/sig/utils.rbs
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: httpx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tiago Cardoso
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.
|
|
18
|
+
version: 1.2.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 1.
|
|
25
|
+
version: 1.2.0
|
|
26
26
|
description: A client library for making HTTP requests from Ruby.
|
|
27
27
|
email:
|
|
28
28
|
- cardoso_tiago@hotmail.com
|
|
@@ -168,6 +168,8 @@ extra_rdoc_files:
|
|
|
168
168
|
- doc/release_notes/1_7_6.md
|
|
169
169
|
- doc/release_notes/1_7_7.md
|
|
170
170
|
- doc/release_notes/1_7_8.md
|
|
171
|
+
- doc/release_notes/1_8_0.md
|
|
172
|
+
- doc/release_notes/1_8_1.md
|
|
171
173
|
files:
|
|
172
174
|
- LICENSE.txt
|
|
173
175
|
- README.md
|
|
@@ -308,6 +310,8 @@ files:
|
|
|
308
310
|
- doc/release_notes/1_7_6.md
|
|
309
311
|
- doc/release_notes/1_7_7.md
|
|
310
312
|
- doc/release_notes/1_7_8.md
|
|
313
|
+
- doc/release_notes/1_8_0.md
|
|
314
|
+
- doc/release_notes/1_8_1.md
|
|
311
315
|
- lib/httpx.rb
|
|
312
316
|
- lib/httpx/adapters/datadog.rb
|
|
313
317
|
- lib/httpx/adapters/faraday.rb
|
|
@@ -342,6 +346,9 @@ files:
|
|
|
342
346
|
- lib/httpx/plugins/aws_sigv4.rb
|
|
343
347
|
- lib/httpx/plugins/basic_auth.rb
|
|
344
348
|
- lib/httpx/plugins/brotli.rb
|
|
349
|
+
- lib/httpx/plugins/cache.rb
|
|
350
|
+
- lib/httpx/plugins/cache/file_store.rb
|
|
351
|
+
- lib/httpx/plugins/cache/store.rb
|
|
345
352
|
- lib/httpx/plugins/callbacks.rb
|
|
346
353
|
- lib/httpx/plugins/circuit_breaker.rb
|
|
347
354
|
- lib/httpx/plugins/circuit_breaker/circuit.rb
|
|
@@ -362,6 +369,7 @@ files:
|
|
|
362
369
|
- lib/httpx/plugins/h2c.rb
|
|
363
370
|
- lib/httpx/plugins/internal_telemetry.rb
|
|
364
371
|
- lib/httpx/plugins/ntlm_auth.rb
|
|
372
|
+
- lib/httpx/plugins/ntlm_v2_auth.rb
|
|
365
373
|
- lib/httpx/plugins/oauth.rb
|
|
366
374
|
- lib/httpx/plugins/persistent.rb
|
|
367
375
|
- lib/httpx/plugins/proxy.rb
|
|
@@ -373,9 +381,8 @@ files:
|
|
|
373
381
|
- lib/httpx/plugins/query.rb
|
|
374
382
|
- lib/httpx/plugins/rate_limiter.rb
|
|
375
383
|
- lib/httpx/plugins/response_cache.rb
|
|
376
|
-
- lib/httpx/plugins/response_cache/file_store.rb
|
|
377
|
-
- lib/httpx/plugins/response_cache/store.rb
|
|
378
384
|
- lib/httpx/plugins/retries.rb
|
|
385
|
+
- lib/httpx/plugins/server_sent_events.rb
|
|
379
386
|
- lib/httpx/plugins/ssrf_filter.rb
|
|
380
387
|
- lib/httpx/plugins/stream.rb
|
|
381
388
|
- lib/httpx/plugins/stream_bidi.rb
|
|
@@ -392,6 +399,7 @@ files:
|
|
|
392
399
|
- lib/httpx/resolver.rb
|
|
393
400
|
- lib/httpx/resolver/cache.rb
|
|
394
401
|
- lib/httpx/resolver/cache/base.rb
|
|
402
|
+
- lib/httpx/resolver/cache/file.rb
|
|
395
403
|
- lib/httpx/resolver/cache/memory.rb
|
|
396
404
|
- lib/httpx/resolver/entry.rb
|
|
397
405
|
- lib/httpx/resolver/https.rb
|
|
@@ -450,6 +458,9 @@ files:
|
|
|
450
458
|
- sig/plugins/aws_sigv4.rbs
|
|
451
459
|
- sig/plugins/basic_auth.rbs
|
|
452
460
|
- sig/plugins/brotli.rbs
|
|
461
|
+
- sig/plugins/cache.rbs
|
|
462
|
+
- sig/plugins/cache/file_store.rbs
|
|
463
|
+
- sig/plugins/cache/store.rbs
|
|
453
464
|
- sig/plugins/callbacks.rbs
|
|
454
465
|
- sig/plugins/circuit_breaker.rbs
|
|
455
466
|
- sig/plugins/compression.rbs
|
|
@@ -468,6 +479,7 @@ files:
|
|
|
468
479
|
- sig/plugins/grpc/message.rbs
|
|
469
480
|
- sig/plugins/h2c.rbs
|
|
470
481
|
- sig/plugins/ntlm_auth.rbs
|
|
482
|
+
- sig/plugins/ntlm_v2_auth.rbs
|
|
471
483
|
- sig/plugins/oauth.rbs
|
|
472
484
|
- sig/plugins/persistent.rbs
|
|
473
485
|
- sig/plugins/proxy.rbs
|
|
@@ -479,9 +491,8 @@ files:
|
|
|
479
491
|
- sig/plugins/query.rbs
|
|
480
492
|
- sig/plugins/rate_limiter.rbs
|
|
481
493
|
- sig/plugins/response_cache.rbs
|
|
482
|
-
- sig/plugins/response_cache/file_store.rbs
|
|
483
|
-
- sig/plugins/response_cache/store.rbs
|
|
484
494
|
- sig/plugins/retries.rbs
|
|
495
|
+
- sig/plugins/server_sent_events.rbs
|
|
485
496
|
- sig/plugins/ssrf_filter.rbs
|
|
486
497
|
- sig/plugins/stream.rbs
|
|
487
498
|
- sig/plugins/stream_bidi.rbs
|
|
@@ -497,6 +508,7 @@ files:
|
|
|
497
508
|
- sig/resolver.rbs
|
|
498
509
|
- sig/resolver/cache.rbs
|
|
499
510
|
- sig/resolver/cache/base.rbs
|
|
511
|
+
- sig/resolver/cache/file.rbs
|
|
500
512
|
- sig/resolver/cache/memory.rbs
|
|
501
513
|
- sig/resolver/entry.rbs
|
|
502
514
|
- sig/resolver/https.rbs
|