httpx 0.7.0 → 0.10.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/LICENSE.txt +48 -0
- data/README.md +9 -5
- data/doc/release_notes/0_0_1.md +7 -0
- data/doc/release_notes/0_0_2.md +9 -0
- data/doc/release_notes/0_0_3.md +9 -0
- data/doc/release_notes/0_0_4.md +7 -0
- data/doc/release_notes/0_0_5.md +5 -0
- data/doc/release_notes/0_10_0.md +66 -0
- data/doc/release_notes/0_1_0.md +9 -0
- data/doc/release_notes/0_2_0.md +5 -0
- data/doc/release_notes/0_2_1.md +16 -0
- data/doc/release_notes/0_3_0.md +12 -0
- data/doc/release_notes/0_3_1.md +6 -0
- data/doc/release_notes/0_4_0.md +51 -0
- data/doc/release_notes/0_4_1.md +3 -0
- data/doc/release_notes/0_5_0.md +15 -0
- data/doc/release_notes/0_5_1.md +14 -0
- data/doc/release_notes/0_6_0.md +5 -0
- data/doc/release_notes/0_6_1.md +6 -0
- data/doc/release_notes/0_6_2.md +6 -0
- data/doc/release_notes/0_6_3.md +13 -0
- data/doc/release_notes/0_6_4.md +21 -0
- data/doc/release_notes/0_6_5.md +22 -0
- data/doc/release_notes/0_6_6.md +19 -0
- data/doc/release_notes/0_6_7.md +5 -0
- data/doc/release_notes/0_7_0.md +46 -0
- data/doc/release_notes/0_8_0.md +27 -0
- data/doc/release_notes/0_8_1.md +8 -0
- data/doc/release_notes/0_8_2.md +7 -0
- data/doc/release_notes/0_9_0.md +38 -0
- data/lib/httpx.rb +2 -0
- data/lib/httpx/adapters/faraday.rb +1 -1
- data/lib/httpx/altsvc.rb +18 -2
- data/lib/httpx/chainable.rb +9 -8
- data/lib/httpx/connection.rb +177 -72
- data/lib/httpx/connection/http1.rb +44 -13
- data/lib/httpx/connection/http2.rb +77 -34
- data/lib/httpx/domain_name.rb +440 -0
- data/lib/httpx/errors.rb +1 -0
- data/lib/httpx/extensions.rb +23 -3
- data/lib/httpx/headers.rb +2 -2
- data/lib/httpx/io/ssl.rb +11 -4
- data/lib/httpx/io/tcp.rb +16 -5
- data/lib/httpx/io/udp.rb +4 -1
- data/lib/httpx/loggable.rb +6 -6
- data/lib/httpx/options.rb +22 -15
- data/lib/httpx/parser/http1.rb +14 -17
- data/lib/httpx/plugins/compression.rb +49 -64
- data/lib/httpx/plugins/compression/brotli.rb +10 -14
- data/lib/httpx/plugins/compression/deflate.rb +7 -6
- data/lib/httpx/plugins/compression/gzip.rb +45 -17
- data/lib/httpx/plugins/cookies.rb +21 -60
- data/lib/httpx/plugins/cookies/cookie.rb +173 -0
- data/lib/httpx/plugins/cookies/jar.rb +74 -0
- data/lib/httpx/plugins/cookies/set_cookie_parser.rb +142 -0
- data/lib/httpx/plugins/digest_authentication.rb +2 -0
- data/lib/httpx/plugins/expect.rb +12 -1
- data/lib/httpx/plugins/follow_redirects.rb +20 -2
- data/lib/httpx/plugins/h2c.rb +1 -1
- data/lib/httpx/plugins/multipart.rb +0 -8
- data/lib/httpx/plugins/persistent.rb +6 -1
- data/lib/httpx/plugins/proxy.rb +16 -12
- data/lib/httpx/plugins/proxy/http.rb +7 -2
- data/lib/httpx/plugins/proxy/socks4.rb +4 -2
- data/lib/httpx/plugins/proxy/socks5.rb +5 -1
- data/lib/httpx/plugins/push_promise.rb +2 -2
- data/lib/httpx/plugins/rate_limiter.rb +51 -0
- data/lib/httpx/plugins/retries.rb +13 -6
- data/lib/httpx/plugins/stream.rb +109 -13
- data/lib/httpx/pool.rb +13 -15
- data/lib/httpx/registry.rb +2 -1
- data/lib/httpx/request.rb +14 -19
- data/lib/httpx/resolver.rb +7 -8
- data/lib/httpx/resolver/https.rb +22 -5
- data/lib/httpx/resolver/native.rb +27 -33
- data/lib/httpx/resolver/options.rb +2 -2
- data/lib/httpx/resolver/resolver_mixin.rb +1 -1
- data/lib/httpx/response.rb +22 -17
- data/lib/httpx/selector.rb +96 -97
- data/lib/httpx/session.rb +32 -24
- data/lib/httpx/timeout.rb +7 -1
- data/lib/httpx/transcoder/chunker.rb +0 -2
- data/lib/httpx/transcoder/form.rb +0 -6
- data/lib/httpx/transcoder/json.rb +0 -4
- data/lib/httpx/utils.rb +45 -0
- data/lib/httpx/version.rb +1 -1
- data/sig/buffer.rbs +24 -0
- data/sig/callbacks.rbs +14 -0
- data/sig/chainable.rbs +37 -0
- data/sig/connection.rbs +2 -0
- data/sig/connection/http2.rbs +4 -0
- data/sig/domain_name.rbs +17 -0
- data/sig/errors.rbs +3 -0
- data/sig/headers.rbs +42 -0
- data/sig/httpx.rbs +14 -0
- data/sig/loggable.rbs +11 -0
- data/sig/missing.rbs +12 -0
- data/sig/options.rbs +118 -0
- data/sig/parser/http1.rbs +50 -0
- data/sig/plugins/authentication.rbs +11 -0
- data/sig/plugins/basic_authentication.rbs +13 -0
- data/sig/plugins/compression.rbs +55 -0
- data/sig/plugins/compression/brotli.rbs +21 -0
- data/sig/plugins/compression/deflate.rbs +17 -0
- data/sig/plugins/compression/gzip.rbs +29 -0
- data/sig/plugins/cookies.rbs +26 -0
- data/sig/plugins/cookies/cookie.rbs +50 -0
- data/sig/plugins/cookies/jar.rbs +27 -0
- data/sig/plugins/digest_authentication.rbs +33 -0
- data/sig/plugins/expect.rbs +19 -0
- data/sig/plugins/follow_redirects.rbs +37 -0
- data/sig/plugins/h2c.rbs +26 -0
- data/sig/plugins/multipart.rbs +19 -0
- data/sig/plugins/persistent.rbs +17 -0
- data/sig/plugins/proxy.rbs +47 -0
- data/sig/plugins/proxy/http.rbs +14 -0
- data/sig/plugins/proxy/socks4.rbs +33 -0
- data/sig/plugins/proxy/socks5.rbs +36 -0
- data/sig/plugins/proxy/ssh.rbs +18 -0
- data/sig/plugins/push_promise.rbs +22 -0
- data/sig/plugins/rate_limiter.rbs +11 -0
- data/sig/plugins/retries.rbs +48 -0
- data/sig/plugins/stream.rbs +39 -0
- data/sig/pool.rbs +2 -0
- data/sig/registry.rbs +9 -0
- data/sig/request.rbs +61 -0
- data/sig/response.rbs +87 -0
- data/sig/session.rbs +49 -0
- data/sig/test.rbs +9 -0
- data/sig/timeout.rbs +29 -0
- data/sig/transcoder.rbs +16 -0
- data/sig/transcoder/body.rbs +18 -0
- data/sig/transcoder/chunker.rbs +32 -0
- data/sig/transcoder/form.rbs +16 -0
- data/sig/transcoder/json.rbs +14 -0
- metadata +120 -21
data/sig/response.rbs
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
module HTTPX
|
|
2
|
+
interface _Response
|
|
3
|
+
def raise_for_status: () -> void
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
class Response
|
|
7
|
+
include _Response
|
|
8
|
+
include _ToS
|
|
9
|
+
include _Reader
|
|
10
|
+
|
|
11
|
+
attr_reader status: int
|
|
12
|
+
attr_reader headers: headers
|
|
13
|
+
attr_reader body: Body
|
|
14
|
+
attr_reader version: String
|
|
15
|
+
|
|
16
|
+
@options: Options
|
|
17
|
+
@request: Request
|
|
18
|
+
|
|
19
|
+
def copy_to: (_ToPath | _Writer destination) -> void
|
|
20
|
+
def close: () -> void
|
|
21
|
+
def uri: () -> uri
|
|
22
|
+
|
|
23
|
+
def merge_headers: (headers) -> void
|
|
24
|
+
def bodyless?: () -> bool
|
|
25
|
+
def content_type: () -> ContentType
|
|
26
|
+
def complete?: () -> bool
|
|
27
|
+
|
|
28
|
+
private
|
|
29
|
+
|
|
30
|
+
def initialize: (Request, _ToS, String, headers) -> untyped
|
|
31
|
+
def no_data?: () -> bool
|
|
32
|
+
|
|
33
|
+
class Body
|
|
34
|
+
include _Writer
|
|
35
|
+
include _Reader
|
|
36
|
+
include _ToS
|
|
37
|
+
include _ToStr
|
|
38
|
+
|
|
39
|
+
@state: :idle | :memory | :buffer
|
|
40
|
+
|
|
41
|
+
def each: () { (String) -> void } -> void
|
|
42
|
+
| () -> Enumerable[String]
|
|
43
|
+
|
|
44
|
+
def bytesize: () -> Integer
|
|
45
|
+
def empty?: () -> bool
|
|
46
|
+
def copy_to: (_ToPath | _Writer destination) -> void
|
|
47
|
+
def close: () -> void
|
|
48
|
+
|
|
49
|
+
private
|
|
50
|
+
|
|
51
|
+
def initialize: (Response, ?threshold_size: Integer, ?window_size: Integer) -> untyped
|
|
52
|
+
def rewind: () -> void
|
|
53
|
+
def transition: () -> void
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
class ContentType
|
|
58
|
+
attr_reader mime_type: String?
|
|
59
|
+
attr_reader charset: String?
|
|
60
|
+
|
|
61
|
+
def self.parse: (_ToS) -> instance
|
|
62
|
+
def self.mime_type: (_ToS) -> String?
|
|
63
|
+
def self.charset: (_ToS) -> String?
|
|
64
|
+
|
|
65
|
+
private
|
|
66
|
+
|
|
67
|
+
def initialize: (String?, String?) -> untyped
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
class ErrorResponse
|
|
71
|
+
include _Response
|
|
72
|
+
include Loggable
|
|
73
|
+
|
|
74
|
+
@options: Options
|
|
75
|
+
|
|
76
|
+
attr_reader request: Request
|
|
77
|
+
attr_reader error: Exception
|
|
78
|
+
|
|
79
|
+
def status: () -> (Integer | _ToS)
|
|
80
|
+
|
|
81
|
+
private
|
|
82
|
+
|
|
83
|
+
def initialize: (Request, Exception, options) -> untyped
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
type response = Response | ErrorResponse
|
|
87
|
+
end
|
data/sig/session.rbs
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
module HTTPX
|
|
2
|
+
class Session
|
|
3
|
+
include Loggable
|
|
4
|
+
include Chainable
|
|
5
|
+
|
|
6
|
+
@options: Options
|
|
7
|
+
@responses: Hash[Request, Response]
|
|
8
|
+
@persistent: bool
|
|
9
|
+
|
|
10
|
+
def wrap: () { (instance) -> void } -> void
|
|
11
|
+
| () -> void
|
|
12
|
+
def close: (*untyped) -> void
|
|
13
|
+
|
|
14
|
+
def request: (*Request, **untyped) -> (response | Array[response])
|
|
15
|
+
| (*untyped, **untyped) -> (response | Array[response])
|
|
16
|
+
|
|
17
|
+
def build_request: (String | verb, uri, ?options) -> Request
|
|
18
|
+
|
|
19
|
+
# def self.plugin: | (Symbol | Module, ?options) { (Class) -> void } -> singleton(Session)
|
|
20
|
+
# | (Symbol | Module, ?options) -> singleton(Session)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def self.default_options: -> Options
|
|
25
|
+
|
|
26
|
+
private
|
|
27
|
+
|
|
28
|
+
def initialize: (?options?) { (instance) -> void } -> untyped
|
|
29
|
+
| (?options?) -> untyped
|
|
30
|
+
|
|
31
|
+
def pool: -> Pool
|
|
32
|
+
# def on_response: (Request, response) -> void
|
|
33
|
+
def on_promise: (untyped, untyped) -> void
|
|
34
|
+
def fetch_response: (Request, *untyped) -> response?
|
|
35
|
+
def set_connection_callbacks: (Connection, Array[Connection], Options) -> void
|
|
36
|
+
|
|
37
|
+
def build_altsvc_connection: (Connection, Array[Connection], URI, String, Hash[String, String], Options) -> Connection?
|
|
38
|
+
|
|
39
|
+
def build_requests: (verb | string, uri, options) -> Array[Request]
|
|
40
|
+
| (Array[[verb | string, uri, options]], options) -> Array[Request]
|
|
41
|
+
| (Array[[verb | string, uri]], options) -> Array[Request]
|
|
42
|
+
| (verb | string, _Each[[uri, options], void], Options) -> Array[Request]
|
|
43
|
+
| (verb | string, _Each[uri, void], options) -> Array[Request]
|
|
44
|
+
|
|
45
|
+
def build_connection: (URI, Options) -> Connection
|
|
46
|
+
|
|
47
|
+
def send_requests: (*Request, options) -> Array[response]
|
|
48
|
+
end
|
|
49
|
+
end
|
data/sig/test.rbs
ADDED
data/sig/timeout.rbs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
module HTTPX
|
|
2
|
+
class Timeout
|
|
3
|
+
CONNECT_TIMEOUT: Numeric
|
|
4
|
+
KEEP_ALIVE_TIMEOUT: Numeric
|
|
5
|
+
OPERATION_TIMEOUT: Numeric
|
|
6
|
+
|
|
7
|
+
attr_reader connect_timeout: Numeric
|
|
8
|
+
attr_reader operation_timeout: Numeric
|
|
9
|
+
attr_reader total_timeout: Numeric?
|
|
10
|
+
attr_reader keep_alive_timeout: Numeric?
|
|
11
|
+
|
|
12
|
+
def self.new: (instance | Hash[Symbol, untyped]) -> instance
|
|
13
|
+
| () -> instance
|
|
14
|
+
|
|
15
|
+
def ==: (untyped other) -> bool
|
|
16
|
+
|
|
17
|
+
def merge: (Timeout | Hash[Symbol, untyped]) -> instance
|
|
18
|
+
|
|
19
|
+
private
|
|
20
|
+
|
|
21
|
+
def initialize: (
|
|
22
|
+
?connect_timeout: Numeric,
|
|
23
|
+
?operation_timeout: Numeric,
|
|
24
|
+
?keep_alive_timeout: Numeric,
|
|
25
|
+
?total_timeout: Numeric | nil,
|
|
26
|
+
?loop_timeout: Numeric | nil
|
|
27
|
+
) -> untyped
|
|
28
|
+
end
|
|
29
|
+
end
|
data/sig/transcoder.rbs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
module HTTPX
|
|
2
|
+
type bodyIO = _Reader | _Each[String, untyped] | _ToS
|
|
3
|
+
|
|
4
|
+
module Transcoder
|
|
5
|
+
extend HTTPX::Registry[String, Class]
|
|
6
|
+
|
|
7
|
+
interface _Encoder
|
|
8
|
+
def bytesize: () -> Integer
|
|
9
|
+
def content_type: () -> String
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
interface _Decoder
|
|
13
|
+
def decode: (string) -> String
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module HTTPX
|
|
2
|
+
module Transcoder
|
|
3
|
+
module Body
|
|
4
|
+
class Encoder
|
|
5
|
+
include _Encoder
|
|
6
|
+
include _ToS
|
|
7
|
+
|
|
8
|
+
@raw: bodyIO
|
|
9
|
+
|
|
10
|
+
private
|
|
11
|
+
|
|
12
|
+
def initialize: (untyped body ) -> untyped
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def self?.encode: (bodyIO body) -> Encoder
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module HTTPX::Transcoder
|
|
2
|
+
module Chunker
|
|
3
|
+
def self?.encode: (_Encoder chunks) -> Encoder
|
|
4
|
+
|
|
5
|
+
class Encoder
|
|
6
|
+
@raw: _Each[String]
|
|
7
|
+
|
|
8
|
+
include _Each[String]
|
|
9
|
+
|
|
10
|
+
private
|
|
11
|
+
|
|
12
|
+
def initialize: (_Encoder chunks) -> untyped
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
class Decoder
|
|
16
|
+
include _ToS
|
|
17
|
+
include _Each[String]
|
|
18
|
+
|
|
19
|
+
def finished?: () -> bool
|
|
20
|
+
def empty?: () -> bool
|
|
21
|
+
def <<: (string) -> void
|
|
22
|
+
def clear: () -> void
|
|
23
|
+
|
|
24
|
+
private
|
|
25
|
+
|
|
26
|
+
def initialize: (String, bool) -> untyped
|
|
27
|
+
| (String) -> untyped
|
|
28
|
+
|
|
29
|
+
def nextstate: (Symbol) -> void
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
module HTTPX::Transcoder
|
|
2
|
+
type urlencoded_input = Enumerable[[string, string], untyped]
|
|
3
|
+
|
|
4
|
+
module Form
|
|
5
|
+
def self?.encode: (urlencoded_input form) -> Encoder
|
|
6
|
+
|
|
7
|
+
class Encoder
|
|
8
|
+
include _Encoder
|
|
9
|
+
include _ToS
|
|
10
|
+
|
|
11
|
+
private
|
|
12
|
+
|
|
13
|
+
def initalize: (urlencoded_input form) -> untyped
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: httpx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tiago Cardoso
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http-2-next
|
|
@@ -58,29 +58,73 @@ dependencies:
|
|
|
58
58
|
- - "<"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
60
|
version: '3'
|
|
61
|
-
- !ruby/object:Gem::Dependency
|
|
62
|
-
name: http-cookie
|
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
|
64
|
-
requirements:
|
|
65
|
-
- - "~>"
|
|
66
|
-
- !ruby/object:Gem::Version
|
|
67
|
-
version: '1.0'
|
|
68
|
-
type: :development
|
|
69
|
-
prerelease: false
|
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
-
requirements:
|
|
72
|
-
- - "~>"
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
version: '1.0'
|
|
75
61
|
description: A client library for making HTTP requests from Ruby.
|
|
76
62
|
email:
|
|
77
63
|
- cardoso_tiago@hotmail.com
|
|
78
64
|
executables: []
|
|
79
65
|
extensions: []
|
|
80
|
-
extra_rdoc_files:
|
|
66
|
+
extra_rdoc_files:
|
|
67
|
+
- LICENSE.txt
|
|
68
|
+
- README.md
|
|
69
|
+
- doc/release_notes/0_0_1.md
|
|
70
|
+
- doc/release_notes/0_1_0.md
|
|
71
|
+
- doc/release_notes/0_0_5.md
|
|
72
|
+
- doc/release_notes/0_0_4.md
|
|
73
|
+
- doc/release_notes/0_6_5.md
|
|
74
|
+
- doc/release_notes/0_6_1.md
|
|
75
|
+
- doc/release_notes/0_7_0.md
|
|
76
|
+
- doc/release_notes/0_6_0.md
|
|
77
|
+
- doc/release_notes/0_8_2.md
|
|
78
|
+
- doc/release_notes/0_6_4.md
|
|
79
|
+
- doc/release_notes/0_9_0.md
|
|
80
|
+
- doc/release_notes/0_6_3.md
|
|
81
|
+
- doc/release_notes/0_8_1.md
|
|
82
|
+
- doc/release_notes/0_5_0.md
|
|
83
|
+
- doc/release_notes/0_6_7.md
|
|
84
|
+
- doc/release_notes/0_4_1.md
|
|
85
|
+
- doc/release_notes/0_5_1.md
|
|
86
|
+
- doc/release_notes/0_6_6.md
|
|
87
|
+
- doc/release_notes/0_4_0.md
|
|
88
|
+
- doc/release_notes/0_6_2.md
|
|
89
|
+
- doc/release_notes/0_10_0.md
|
|
90
|
+
- doc/release_notes/0_8_0.md
|
|
91
|
+
- doc/release_notes/0_3_0.md
|
|
92
|
+
- doc/release_notes/0_2_1.md
|
|
93
|
+
- doc/release_notes/0_0_3.md
|
|
94
|
+
- doc/release_notes/0_0_2.md
|
|
95
|
+
- doc/release_notes/0_3_1.md
|
|
96
|
+
- doc/release_notes/0_2_0.md
|
|
81
97
|
files:
|
|
82
98
|
- LICENSE.txt
|
|
83
99
|
- README.md
|
|
100
|
+
- doc/release_notes/0_0_1.md
|
|
101
|
+
- doc/release_notes/0_0_2.md
|
|
102
|
+
- doc/release_notes/0_0_3.md
|
|
103
|
+
- doc/release_notes/0_0_4.md
|
|
104
|
+
- doc/release_notes/0_0_5.md
|
|
105
|
+
- doc/release_notes/0_10_0.md
|
|
106
|
+
- doc/release_notes/0_1_0.md
|
|
107
|
+
- doc/release_notes/0_2_0.md
|
|
108
|
+
- doc/release_notes/0_2_1.md
|
|
109
|
+
- doc/release_notes/0_3_0.md
|
|
110
|
+
- doc/release_notes/0_3_1.md
|
|
111
|
+
- doc/release_notes/0_4_0.md
|
|
112
|
+
- doc/release_notes/0_4_1.md
|
|
113
|
+
- doc/release_notes/0_5_0.md
|
|
114
|
+
- doc/release_notes/0_5_1.md
|
|
115
|
+
- doc/release_notes/0_6_0.md
|
|
116
|
+
- doc/release_notes/0_6_1.md
|
|
117
|
+
- doc/release_notes/0_6_2.md
|
|
118
|
+
- doc/release_notes/0_6_3.md
|
|
119
|
+
- doc/release_notes/0_6_4.md
|
|
120
|
+
- doc/release_notes/0_6_5.md
|
|
121
|
+
- doc/release_notes/0_6_6.md
|
|
122
|
+
- doc/release_notes/0_6_7.md
|
|
123
|
+
- doc/release_notes/0_7_0.md
|
|
124
|
+
- doc/release_notes/0_8_0.md
|
|
125
|
+
- doc/release_notes/0_8_1.md
|
|
126
|
+
- doc/release_notes/0_8_2.md
|
|
127
|
+
- doc/release_notes/0_9_0.md
|
|
84
128
|
- lib/httpx.rb
|
|
85
129
|
- lib/httpx/adapters/faraday.rb
|
|
86
130
|
- lib/httpx/altsvc.rb
|
|
@@ -90,6 +134,7 @@ files:
|
|
|
90
134
|
- lib/httpx/connection.rb
|
|
91
135
|
- lib/httpx/connection/http1.rb
|
|
92
136
|
- lib/httpx/connection/http2.rb
|
|
137
|
+
- lib/httpx/domain_name.rb
|
|
93
138
|
- lib/httpx/errors.rb
|
|
94
139
|
- lib/httpx/extensions.rb
|
|
95
140
|
- lib/httpx/headers.rb
|
|
@@ -108,6 +153,9 @@ files:
|
|
|
108
153
|
- lib/httpx/plugins/compression/deflate.rb
|
|
109
154
|
- lib/httpx/plugins/compression/gzip.rb
|
|
110
155
|
- lib/httpx/plugins/cookies.rb
|
|
156
|
+
- lib/httpx/plugins/cookies/cookie.rb
|
|
157
|
+
- lib/httpx/plugins/cookies/jar.rb
|
|
158
|
+
- lib/httpx/plugins/cookies/set_cookie_parser.rb
|
|
111
159
|
- lib/httpx/plugins/digest_authentication.rb
|
|
112
160
|
- lib/httpx/plugins/expect.rb
|
|
113
161
|
- lib/httpx/plugins/follow_redirects.rb
|
|
@@ -120,6 +168,7 @@ files:
|
|
|
120
168
|
- lib/httpx/plugins/proxy/socks5.rb
|
|
121
169
|
- lib/httpx/plugins/proxy/ssh.rb
|
|
122
170
|
- lib/httpx/plugins/push_promise.rb
|
|
171
|
+
- lib/httpx/plugins/rate_limiter.rb
|
|
123
172
|
- lib/httpx/plugins/retries.rb
|
|
124
173
|
- lib/httpx/plugins/stream.rb
|
|
125
174
|
- lib/httpx/pool.rb
|
|
@@ -140,7 +189,57 @@ files:
|
|
|
140
189
|
- lib/httpx/transcoder/chunker.rb
|
|
141
190
|
- lib/httpx/transcoder/form.rb
|
|
142
191
|
- lib/httpx/transcoder/json.rb
|
|
192
|
+
- lib/httpx/utils.rb
|
|
143
193
|
- lib/httpx/version.rb
|
|
194
|
+
- sig/buffer.rbs
|
|
195
|
+
- sig/callbacks.rbs
|
|
196
|
+
- sig/chainable.rbs
|
|
197
|
+
- sig/connection.rbs
|
|
198
|
+
- sig/connection/http2.rbs
|
|
199
|
+
- sig/domain_name.rbs
|
|
200
|
+
- sig/errors.rbs
|
|
201
|
+
- sig/headers.rbs
|
|
202
|
+
- sig/httpx.rbs
|
|
203
|
+
- sig/loggable.rbs
|
|
204
|
+
- sig/missing.rbs
|
|
205
|
+
- sig/options.rbs
|
|
206
|
+
- sig/parser/http1.rbs
|
|
207
|
+
- sig/plugins/authentication.rbs
|
|
208
|
+
- sig/plugins/basic_authentication.rbs
|
|
209
|
+
- sig/plugins/compression.rbs
|
|
210
|
+
- sig/plugins/compression/brotli.rbs
|
|
211
|
+
- sig/plugins/compression/deflate.rbs
|
|
212
|
+
- sig/plugins/compression/gzip.rbs
|
|
213
|
+
- sig/plugins/cookies.rbs
|
|
214
|
+
- sig/plugins/cookies/cookie.rbs
|
|
215
|
+
- sig/plugins/cookies/jar.rbs
|
|
216
|
+
- sig/plugins/digest_authentication.rbs
|
|
217
|
+
- sig/plugins/expect.rbs
|
|
218
|
+
- sig/plugins/follow_redirects.rbs
|
|
219
|
+
- sig/plugins/h2c.rbs
|
|
220
|
+
- sig/plugins/multipart.rbs
|
|
221
|
+
- sig/plugins/persistent.rbs
|
|
222
|
+
- sig/plugins/proxy.rbs
|
|
223
|
+
- sig/plugins/proxy/http.rbs
|
|
224
|
+
- sig/plugins/proxy/socks4.rbs
|
|
225
|
+
- sig/plugins/proxy/socks5.rbs
|
|
226
|
+
- sig/plugins/proxy/ssh.rbs
|
|
227
|
+
- sig/plugins/push_promise.rbs
|
|
228
|
+
- sig/plugins/rate_limiter.rbs
|
|
229
|
+
- sig/plugins/retries.rbs
|
|
230
|
+
- sig/plugins/stream.rbs
|
|
231
|
+
- sig/pool.rbs
|
|
232
|
+
- sig/registry.rbs
|
|
233
|
+
- sig/request.rbs
|
|
234
|
+
- sig/response.rbs
|
|
235
|
+
- sig/session.rbs
|
|
236
|
+
- sig/test.rbs
|
|
237
|
+
- sig/timeout.rbs
|
|
238
|
+
- sig/transcoder.rbs
|
|
239
|
+
- sig/transcoder/body.rbs
|
|
240
|
+
- sig/transcoder/chunker.rbs
|
|
241
|
+
- sig/transcoder/form.rbs
|
|
242
|
+
- sig/transcoder/json.rbs
|
|
144
243
|
homepage: https://gitlab.com/honeyryderchuck/httpx
|
|
145
244
|
licenses:
|
|
146
245
|
- Apache 2.0
|
|
@@ -149,7 +248,7 @@ metadata:
|
|
|
149
248
|
changelog_uri: https://honeyryderchuck.gitlab.io/httpx/#release-notes
|
|
150
249
|
documentation_uri: https://honeyryderchuck.gitlab.io/httpx/rdoc/
|
|
151
250
|
source_code_uri: https://gitlab.com/honeyryderchuck/httpx
|
|
152
|
-
post_install_message:
|
|
251
|
+
post_install_message:
|
|
153
252
|
rdoc_options: []
|
|
154
253
|
require_paths:
|
|
155
254
|
- lib
|
|
@@ -164,8 +263,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
164
263
|
- !ruby/object:Gem::Version
|
|
165
264
|
version: '0'
|
|
166
265
|
requirements: []
|
|
167
|
-
rubygems_version: 3.1.
|
|
168
|
-
signing_key:
|
|
266
|
+
rubygems_version: 3.1.4
|
|
267
|
+
signing_key:
|
|
169
268
|
specification_version: 4
|
|
170
269
|
summary: HTTPX, to the future, and beyond
|
|
171
270
|
test_files: []
|