httpx 1.7.7 → 1.8.0
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_8.md +5 -0
- data/doc/release_notes/1_8_0.md +100 -0
- data/lib/httpx/adapters/datadog.rb +3 -1
- data/lib/httpx/connection/http1.rb +10 -1
- data/lib/httpx/connection/http2.rb +37 -4
- data/lib/httpx/connection.rb +76 -7
- data/lib/httpx/errors.rb +8 -1
- data/lib/httpx/io/tcp.rb +11 -1
- data/lib/httpx/options.rb +16 -4
- data/lib/httpx/parser/http1.rb +8 -2
- data/lib/httpx/plugins/auth.rb +52 -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/fiber_concurrency.rb +50 -3
- data/lib/httpx/plugins/ntlm_v2_auth.rb +92 -0
- data/lib/httpx/plugins/oauth.rb +66 -14
- data/lib/httpx/plugins/proxy.rb +5 -0
- data/lib/httpx/plugins/response_cache.rb +26 -105
- data/lib/httpx/plugins/retries.rb +13 -5
- data/lib/httpx/plugins/server_sent_events.rb +158 -0
- data/lib/httpx/plugins/ssrf_filter.rb +16 -1
- data/lib/httpx/plugins/stream.rb +7 -3
- data/lib/httpx/plugins/tracing.rb +15 -4
- data/lib/httpx/request.rb +18 -1
- data/lib/httpx/resolver/cache/file.rb +56 -0
- data/lib/httpx/resolver/native.rb +14 -3
- data/lib/httpx/response/body.rb +4 -2
- data/lib/httpx/response.rb +9 -1
- data/lib/httpx/selector.rb +7 -1
- 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 +1 -1
- data/sig/connection.rbs +11 -8
- data/sig/errors.rbs +9 -3
- data/sig/httpx.rbs +2 -0
- data/sig/io/tcp.rbs +2 -0
- data/sig/loggable.rbs +4 -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/{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/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 +7 -3
- 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 +2 -2
- data/sig/resolver.rbs +3 -0
- data/sig/response.rbs +3 -0
- data/sig/selector.rbs +11 -8
- data/sig/timers.rbs +5 -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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
module HTTPX
|
|
2
|
+
module Plugins
|
|
3
|
+
module ServerSentEvents
|
|
4
|
+
def self.load_dependencies: (singleton(Session)) -> void
|
|
5
|
+
|
|
6
|
+
def self.subplugins: () -> Hash[Symbol, Module]
|
|
7
|
+
|
|
8
|
+
class Message
|
|
9
|
+
attr_reader data: String
|
|
10
|
+
attr_reader id: _ToS?
|
|
11
|
+
attr_reader event: _ToS?
|
|
12
|
+
attr_reader retry_after: Integer?
|
|
13
|
+
|
|
14
|
+
def initialize: (data: String, ?event: _ToS?, ?id: _ToS?, ?retry_after: Integer?) -> void
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
interface _ServerSentEventsOptions
|
|
18
|
+
def event_stream: () -> boolish
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
module InstanceMethods
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
module RequestMethods
|
|
25
|
+
attr_accessor last_server_sent_message: Message?
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
module StreamResponseMethods
|
|
29
|
+
def each_message: () { (Message) -> void } -> void
|
|
30
|
+
| () -> Enumerable[Message]
|
|
31
|
+
|
|
32
|
+
private
|
|
33
|
+
|
|
34
|
+
def raise_format_error: (String line) -> void
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
module ServerSentEventsRetries
|
|
38
|
+
module InstanceMethods
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
type sessionServerSentEvents = Session & ServerSentEvents::InstanceMethods
|
|
44
|
+
end
|
|
45
|
+
end
|
data/sig/plugins/ssrf_filter.rbs
CHANGED
|
@@ -8,10 +8,14 @@ module HTTPX
|
|
|
8
8
|
|
|
9
9
|
IPV6_BLACKLIST: Array[[IPAddr, IPAddr]]
|
|
10
10
|
|
|
11
|
-
def self?.unsafe_ip_address?: (
|
|
11
|
+
def self?.unsafe_ip_address?: (IPAddr ipaddr) -> bool
|
|
12
12
|
|
|
13
13
|
interface _Options
|
|
14
14
|
def allowed_schemes: () -> Array[String]
|
|
15
|
+
|
|
16
|
+
def extra_unsafe_ranges: () -> Array[IPAddr]?
|
|
17
|
+
|
|
18
|
+
def safe_private_ranges: () -> Array[IPAddr]?
|
|
15
19
|
end
|
|
16
20
|
|
|
17
21
|
module InstanceMethods
|
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,6 +15,7 @@ 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
20
|
attr_reader active_timeouts: Array[Symbol]
|
|
20
21
|
|
|
@@ -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
|
|
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
|
@@ -6,8 +6,8 @@ module HTTPX
|
|
|
6
6
|
ERROR: 2
|
|
7
7
|
|
|
8
8
|
@resolver: Resolv::DNS
|
|
9
|
-
@_timeouts: Array[
|
|
10
|
-
@timeouts: Hash[String, Array[
|
|
9
|
+
@_timeouts: Array[interval]
|
|
10
|
+
@timeouts: Hash[String, Array[interval]]
|
|
11
11
|
@queries: Array[[ip_family, Connection]]
|
|
12
12
|
@ips: Array[[ip_family, Connection, (Array[Addrinfo] | StandardError)]]
|
|
13
13
|
@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
|
@@ -8,19 +8,22 @@ module HTTPX
|
|
|
8
8
|
|
|
9
9
|
def interests: () -> io_interests?
|
|
10
10
|
|
|
11
|
-
def timeout: () ->
|
|
11
|
+
def timeout: () -> interval?
|
|
12
12
|
|
|
13
|
-
def handle_socket_timeout: (
|
|
13
|
+
def handle_socket_timeout: (interval interval) -> void
|
|
14
14
|
|
|
15
15
|
def on_error: (StandardError) -> void
|
|
16
16
|
|
|
17
17
|
def on_io_error: (IOError error) -> void
|
|
18
18
|
|
|
19
19
|
def force_close: (?bool delete_pending) -> void
|
|
20
|
+
|
|
21
|
+
def terminate: () -> void
|
|
20
22
|
end
|
|
21
23
|
|
|
22
24
|
class Selector
|
|
23
|
-
|
|
25
|
+
|
|
26
|
+
type selectable = Resolver::Resolver | Connection | (Object & _Loggable & _Selectable)
|
|
24
27
|
|
|
25
28
|
type io_select_selectable = (selectable | Array[selectable])?
|
|
26
29
|
|
|
@@ -60,15 +63,15 @@ module HTTPX
|
|
|
60
63
|
|
|
61
64
|
def initialize: () -> void
|
|
62
65
|
|
|
63
|
-
def select: (
|
|
66
|
+
def select: (interval? interval) { (selectable) -> void } -> void
|
|
64
67
|
|
|
65
|
-
def select_many: (io_select_selectable r, io_select_selectable w,
|
|
68
|
+
def select_many: (io_select_selectable r, io_select_selectable w, interval? interval) { (selectable) -> void } -> void
|
|
66
69
|
|
|
67
|
-
def select_one: (selectable io, io_interests interests,
|
|
70
|
+
def select_one: (selectable io, io_interests interests, interval? interval) { (selectable) -> void } -> void
|
|
68
71
|
|
|
69
|
-
def next_timeout: () ->
|
|
72
|
+
def next_timeout: () -> interval?
|
|
70
73
|
|
|
71
|
-
def rw_wait: (io_select_selectable IO,
|
|
74
|
+
def rw_wait: (io_select_selectable IO, interval? interval) -> untyped?
|
|
72
75
|
end
|
|
73
76
|
|
|
74
77
|
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,7 +41,7 @@ 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
|
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.0
|
|
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
|
|
@@ -167,6 +167,8 @@ extra_rdoc_files:
|
|
|
167
167
|
- doc/release_notes/1_7_5.md
|
|
168
168
|
- doc/release_notes/1_7_6.md
|
|
169
169
|
- doc/release_notes/1_7_7.md
|
|
170
|
+
- doc/release_notes/1_7_8.md
|
|
171
|
+
- doc/release_notes/1_8_0.md
|
|
170
172
|
files:
|
|
171
173
|
- LICENSE.txt
|
|
172
174
|
- README.md
|
|
@@ -306,6 +308,8 @@ files:
|
|
|
306
308
|
- doc/release_notes/1_7_5.md
|
|
307
309
|
- doc/release_notes/1_7_6.md
|
|
308
310
|
- doc/release_notes/1_7_7.md
|
|
311
|
+
- doc/release_notes/1_7_8.md
|
|
312
|
+
- doc/release_notes/1_8_0.md
|
|
309
313
|
- lib/httpx.rb
|
|
310
314
|
- lib/httpx/adapters/datadog.rb
|
|
311
315
|
- lib/httpx/adapters/faraday.rb
|
|
@@ -340,6 +344,9 @@ files:
|
|
|
340
344
|
- lib/httpx/plugins/aws_sigv4.rb
|
|
341
345
|
- lib/httpx/plugins/basic_auth.rb
|
|
342
346
|
- lib/httpx/plugins/brotli.rb
|
|
347
|
+
- lib/httpx/plugins/cache.rb
|
|
348
|
+
- lib/httpx/plugins/cache/file_store.rb
|
|
349
|
+
- lib/httpx/plugins/cache/store.rb
|
|
343
350
|
- lib/httpx/plugins/callbacks.rb
|
|
344
351
|
- lib/httpx/plugins/circuit_breaker.rb
|
|
345
352
|
- lib/httpx/plugins/circuit_breaker/circuit.rb
|
|
@@ -360,6 +367,7 @@ files:
|
|
|
360
367
|
- lib/httpx/plugins/h2c.rb
|
|
361
368
|
- lib/httpx/plugins/internal_telemetry.rb
|
|
362
369
|
- lib/httpx/plugins/ntlm_auth.rb
|
|
370
|
+
- lib/httpx/plugins/ntlm_v2_auth.rb
|
|
363
371
|
- lib/httpx/plugins/oauth.rb
|
|
364
372
|
- lib/httpx/plugins/persistent.rb
|
|
365
373
|
- lib/httpx/plugins/proxy.rb
|
|
@@ -371,9 +379,8 @@ files:
|
|
|
371
379
|
- lib/httpx/plugins/query.rb
|
|
372
380
|
- lib/httpx/plugins/rate_limiter.rb
|
|
373
381
|
- lib/httpx/plugins/response_cache.rb
|
|
374
|
-
- lib/httpx/plugins/response_cache/file_store.rb
|
|
375
|
-
- lib/httpx/plugins/response_cache/store.rb
|
|
376
382
|
- lib/httpx/plugins/retries.rb
|
|
383
|
+
- lib/httpx/plugins/server_sent_events.rb
|
|
377
384
|
- lib/httpx/plugins/ssrf_filter.rb
|
|
378
385
|
- lib/httpx/plugins/stream.rb
|
|
379
386
|
- lib/httpx/plugins/stream_bidi.rb
|
|
@@ -390,6 +397,7 @@ files:
|
|
|
390
397
|
- lib/httpx/resolver.rb
|
|
391
398
|
- lib/httpx/resolver/cache.rb
|
|
392
399
|
- lib/httpx/resolver/cache/base.rb
|
|
400
|
+
- lib/httpx/resolver/cache/file.rb
|
|
393
401
|
- lib/httpx/resolver/cache/memory.rb
|
|
394
402
|
- lib/httpx/resolver/entry.rb
|
|
395
403
|
- lib/httpx/resolver/https.rb
|
|
@@ -448,6 +456,9 @@ files:
|
|
|
448
456
|
- sig/plugins/aws_sigv4.rbs
|
|
449
457
|
- sig/plugins/basic_auth.rbs
|
|
450
458
|
- sig/plugins/brotli.rbs
|
|
459
|
+
- sig/plugins/cache.rbs
|
|
460
|
+
- sig/plugins/cache/file_store.rbs
|
|
461
|
+
- sig/plugins/cache/store.rbs
|
|
451
462
|
- sig/plugins/callbacks.rbs
|
|
452
463
|
- sig/plugins/circuit_breaker.rbs
|
|
453
464
|
- sig/plugins/compression.rbs
|
|
@@ -466,6 +477,7 @@ files:
|
|
|
466
477
|
- sig/plugins/grpc/message.rbs
|
|
467
478
|
- sig/plugins/h2c.rbs
|
|
468
479
|
- sig/plugins/ntlm_auth.rbs
|
|
480
|
+
- sig/plugins/ntlm_v2_auth.rbs
|
|
469
481
|
- sig/plugins/oauth.rbs
|
|
470
482
|
- sig/plugins/persistent.rbs
|
|
471
483
|
- sig/plugins/proxy.rbs
|
|
@@ -477,9 +489,8 @@ files:
|
|
|
477
489
|
- sig/plugins/query.rbs
|
|
478
490
|
- sig/plugins/rate_limiter.rbs
|
|
479
491
|
- sig/plugins/response_cache.rbs
|
|
480
|
-
- sig/plugins/response_cache/file_store.rbs
|
|
481
|
-
- sig/plugins/response_cache/store.rbs
|
|
482
492
|
- sig/plugins/retries.rbs
|
|
493
|
+
- sig/plugins/server_sent_events.rbs
|
|
483
494
|
- sig/plugins/ssrf_filter.rbs
|
|
484
495
|
- sig/plugins/stream.rbs
|
|
485
496
|
- sig/plugins/stream_bidi.rbs
|
|
@@ -495,6 +506,7 @@ files:
|
|
|
495
506
|
- sig/resolver.rbs
|
|
496
507
|
- sig/resolver/cache.rbs
|
|
497
508
|
- sig/resolver/cache/base.rbs
|
|
509
|
+
- sig/resolver/cache/file.rbs
|
|
498
510
|
- sig/resolver/cache/memory.rbs
|
|
499
511
|
- sig/resolver/entry.rbs
|
|
500
512
|
- sig/resolver/https.rbs
|