http 6.0.0-java
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 +7 -0
- data/CHANGELOG.md +267 -0
- data/CONTRIBUTING.md +26 -0
- data/LICENSE.txt +20 -0
- data/README.md +263 -0
- data/SECURITY.md +17 -0
- data/UPGRADING.md +491 -0
- data/http.gemspec +48 -0
- data/lib/http/base64.rb +22 -0
- data/lib/http/chainable/helpers.rb +62 -0
- data/lib/http/chainable/verbs.rb +136 -0
- data/lib/http/chainable.rb +377 -0
- data/lib/http/client.rb +230 -0
- data/lib/http/connection/internals.rb +141 -0
- data/lib/http/connection.rb +265 -0
- data/lib/http/content_type.rb +89 -0
- data/lib/http/errors.rb +67 -0
- data/lib/http/feature.rb +86 -0
- data/lib/http/features/auto_deflate.rb +230 -0
- data/lib/http/features/auto_inflate.rb +64 -0
- data/lib/http/features/caching/entry.rb +178 -0
- data/lib/http/features/caching/in_memory_store.rb +63 -0
- data/lib/http/features/caching.rb +216 -0
- data/lib/http/features/digest_auth.rb +234 -0
- data/lib/http/features/instrumentation.rb +149 -0
- data/lib/http/features/logging.rb +231 -0
- data/lib/http/features/normalize_uri.rb +34 -0
- data/lib/http/features/raise_error.rb +37 -0
- data/lib/http/form_data/composite_io.rb +106 -0
- data/lib/http/form_data/file.rb +95 -0
- data/lib/http/form_data/multipart/param.rb +62 -0
- data/lib/http/form_data/multipart.rb +106 -0
- data/lib/http/form_data/part.rb +52 -0
- data/lib/http/form_data/readable.rb +58 -0
- data/lib/http/form_data/urlencoded.rb +175 -0
- data/lib/http/form_data/version.rb +8 -0
- data/lib/http/form_data.rb +102 -0
- data/lib/http/headers/known.rb +90 -0
- data/lib/http/headers/normalizer.rb +50 -0
- data/lib/http/headers.rb +343 -0
- data/lib/http/mime_type/adapter.rb +43 -0
- data/lib/http/mime_type/json.rb +41 -0
- data/lib/http/mime_type.rb +96 -0
- data/lib/http/options/definitions.rb +189 -0
- data/lib/http/options.rb +241 -0
- data/lib/http/redirector.rb +157 -0
- data/lib/http/request/body.rb +181 -0
- data/lib/http/request/builder.rb +184 -0
- data/lib/http/request/proxy.rb +83 -0
- data/lib/http/request/writer.rb +186 -0
- data/lib/http/request.rb +375 -0
- data/lib/http/response/body.rb +172 -0
- data/lib/http/response/inflater.rb +60 -0
- data/lib/http/response/parser.rb +223 -0
- data/lib/http/response/status/reasons.rb +79 -0
- data/lib/http/response/status.rb +263 -0
- data/lib/http/response.rb +350 -0
- data/lib/http/retriable/delay_calculator.rb +91 -0
- data/lib/http/retriable/errors.rb +35 -0
- data/lib/http/retriable/performer.rb +197 -0
- data/lib/http/session.rb +280 -0
- data/lib/http/timeout/global.rb +229 -0
- data/lib/http/timeout/null.rb +225 -0
- data/lib/http/timeout/per_operation.rb +197 -0
- data/lib/http/uri/normalizer.rb +82 -0
- data/lib/http/uri/parsing.rb +182 -0
- data/lib/http/uri.rb +376 -0
- data/lib/http/version.rb +6 -0
- data/lib/http.rb +36 -0
- data/sig/deps.rbs +122 -0
- data/sig/http.rbs +1619 -0
- data/test/http/base64_test.rb +28 -0
- data/test/http/client_test.rb +739 -0
- data/test/http/connection_test.rb +1533 -0
- data/test/http/content_type_test.rb +190 -0
- data/test/http/errors_test.rb +28 -0
- data/test/http/feature_test.rb +49 -0
- data/test/http/features/auto_deflate_test.rb +317 -0
- data/test/http/features/auto_inflate_test.rb +213 -0
- data/test/http/features/caching_test.rb +942 -0
- data/test/http/features/digest_auth_test.rb +996 -0
- data/test/http/features/instrumentation_test.rb +246 -0
- data/test/http/features/logging_test.rb +654 -0
- data/test/http/features/normalize_uri_test.rb +41 -0
- data/test/http/features/raise_error_test.rb +77 -0
- data/test/http/form_data/composite_io_test.rb +215 -0
- data/test/http/form_data/file_test.rb +255 -0
- data/test/http/form_data/fixtures/the-http-gem.info +1 -0
- data/test/http/form_data/multipart_test.rb +303 -0
- data/test/http/form_data/part_test.rb +90 -0
- data/test/http/form_data/urlencoded_test.rb +164 -0
- data/test/http/form_data_test.rb +232 -0
- data/test/http/headers/normalizer_test.rb +93 -0
- data/test/http/headers_test.rb +888 -0
- data/test/http/mime_type/json_test.rb +39 -0
- data/test/http/mime_type_test.rb +150 -0
- data/test/http/options/base_uri_test.rb +148 -0
- data/test/http/options/body_test.rb +21 -0
- data/test/http/options/features_test.rb +38 -0
- data/test/http/options/form_test.rb +21 -0
- data/test/http/options/headers_test.rb +32 -0
- data/test/http/options/json_test.rb +21 -0
- data/test/http/options/merge_test.rb +78 -0
- data/test/http/options/new_test.rb +37 -0
- data/test/http/options/proxy_test.rb +32 -0
- data/test/http/options_test.rb +575 -0
- data/test/http/redirector_test.rb +639 -0
- data/test/http/request/body_test.rb +318 -0
- data/test/http/request/builder_test.rb +623 -0
- data/test/http/request/writer_test.rb +391 -0
- data/test/http/request_test.rb +1733 -0
- data/test/http/response/body_test.rb +292 -0
- data/test/http/response/parser_test.rb +105 -0
- data/test/http/response/status_test.rb +322 -0
- data/test/http/response_test.rb +502 -0
- data/test/http/retriable/delay_calculator_test.rb +194 -0
- data/test/http/retriable/errors_test.rb +71 -0
- data/test/http/retriable/performer_test.rb +551 -0
- data/test/http/session_test.rb +424 -0
- data/test/http/timeout/global_test.rb +239 -0
- data/test/http/timeout/null_test.rb +218 -0
- data/test/http/timeout/per_operation_test.rb +220 -0
- data/test/http/uri/normalizer_test.rb +89 -0
- data/test/http/uri_test.rb +1140 -0
- data/test/http/version_test.rb +15 -0
- data/test/http_test.rb +818 -0
- data/test/regression_tests.rb +27 -0
- data/test/support/capture_warning.rb +10 -0
- data/test/support/dummy_server/encoding_routes.rb +47 -0
- data/test/support/dummy_server/routes.rb +201 -0
- data/test/support/dummy_server/servlet.rb +81 -0
- data/test/support/dummy_server.rb +200 -0
- data/test/support/fakeio.rb +21 -0
- data/test/support/http_handling_shared/connection_reuse_tests.rb +97 -0
- data/test/support/http_handling_shared/timeout_tests.rb +134 -0
- data/test/support/http_handling_shared.rb +11 -0
- data/test/support/proxy_server.rb +207 -0
- data/test/support/servers/runner.rb +67 -0
- data/test/support/simplecov.rb +28 -0
- data/test/support/ssl_helper.rb +108 -0
- data/test/test_helper.rb +38 -0
- metadata +218 -0
metadata
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: http
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 6.0.0
|
|
5
|
+
platform: java
|
|
6
|
+
authors:
|
|
7
|
+
- Tony Arcieri
|
|
8
|
+
- Erik Berlin
|
|
9
|
+
- Alexey V. Zapparov
|
|
10
|
+
- Zachary Anker
|
|
11
|
+
bindir: bin
|
|
12
|
+
cert_chain: []
|
|
13
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: http-cookie
|
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
|
18
|
+
requirements:
|
|
19
|
+
- - "~>"
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '1.0'
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
requirements:
|
|
26
|
+
- - "~>"
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
version: '1.0'
|
|
29
|
+
- !ruby/object:Gem::Dependency
|
|
30
|
+
name: llhttp-ffi
|
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
|
32
|
+
requirements:
|
|
33
|
+
- - "~>"
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: 0.5.1
|
|
36
|
+
type: :runtime
|
|
37
|
+
prerelease: false
|
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - "~>"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 0.5.1
|
|
43
|
+
description: An easy-to-use client library for making requests from Ruby. It uses
|
|
44
|
+
a simple method chaining system for building requests, similar to Python's Requests.
|
|
45
|
+
email:
|
|
46
|
+
- bascule@gmail.com
|
|
47
|
+
executables: []
|
|
48
|
+
extensions: []
|
|
49
|
+
extra_rdoc_files: []
|
|
50
|
+
files:
|
|
51
|
+
- CHANGELOG.md
|
|
52
|
+
- CONTRIBUTING.md
|
|
53
|
+
- LICENSE.txt
|
|
54
|
+
- README.md
|
|
55
|
+
- SECURITY.md
|
|
56
|
+
- UPGRADING.md
|
|
57
|
+
- http.gemspec
|
|
58
|
+
- lib/http.rb
|
|
59
|
+
- lib/http/base64.rb
|
|
60
|
+
- lib/http/chainable.rb
|
|
61
|
+
- lib/http/chainable/helpers.rb
|
|
62
|
+
- lib/http/chainable/verbs.rb
|
|
63
|
+
- lib/http/client.rb
|
|
64
|
+
- lib/http/connection.rb
|
|
65
|
+
- lib/http/connection/internals.rb
|
|
66
|
+
- lib/http/content_type.rb
|
|
67
|
+
- lib/http/errors.rb
|
|
68
|
+
- lib/http/feature.rb
|
|
69
|
+
- lib/http/features/auto_deflate.rb
|
|
70
|
+
- lib/http/features/auto_inflate.rb
|
|
71
|
+
- lib/http/features/caching.rb
|
|
72
|
+
- lib/http/features/caching/entry.rb
|
|
73
|
+
- lib/http/features/caching/in_memory_store.rb
|
|
74
|
+
- lib/http/features/digest_auth.rb
|
|
75
|
+
- lib/http/features/instrumentation.rb
|
|
76
|
+
- lib/http/features/logging.rb
|
|
77
|
+
- lib/http/features/normalize_uri.rb
|
|
78
|
+
- lib/http/features/raise_error.rb
|
|
79
|
+
- lib/http/form_data.rb
|
|
80
|
+
- lib/http/form_data/composite_io.rb
|
|
81
|
+
- lib/http/form_data/file.rb
|
|
82
|
+
- lib/http/form_data/multipart.rb
|
|
83
|
+
- lib/http/form_data/multipart/param.rb
|
|
84
|
+
- lib/http/form_data/part.rb
|
|
85
|
+
- lib/http/form_data/readable.rb
|
|
86
|
+
- lib/http/form_data/urlencoded.rb
|
|
87
|
+
- lib/http/form_data/version.rb
|
|
88
|
+
- lib/http/headers.rb
|
|
89
|
+
- lib/http/headers/known.rb
|
|
90
|
+
- lib/http/headers/normalizer.rb
|
|
91
|
+
- lib/http/mime_type.rb
|
|
92
|
+
- lib/http/mime_type/adapter.rb
|
|
93
|
+
- lib/http/mime_type/json.rb
|
|
94
|
+
- lib/http/options.rb
|
|
95
|
+
- lib/http/options/definitions.rb
|
|
96
|
+
- lib/http/redirector.rb
|
|
97
|
+
- lib/http/request.rb
|
|
98
|
+
- lib/http/request/body.rb
|
|
99
|
+
- lib/http/request/builder.rb
|
|
100
|
+
- lib/http/request/proxy.rb
|
|
101
|
+
- lib/http/request/writer.rb
|
|
102
|
+
- lib/http/response.rb
|
|
103
|
+
- lib/http/response/body.rb
|
|
104
|
+
- lib/http/response/inflater.rb
|
|
105
|
+
- lib/http/response/parser.rb
|
|
106
|
+
- lib/http/response/status.rb
|
|
107
|
+
- lib/http/response/status/reasons.rb
|
|
108
|
+
- lib/http/retriable/delay_calculator.rb
|
|
109
|
+
- lib/http/retriable/errors.rb
|
|
110
|
+
- lib/http/retriable/performer.rb
|
|
111
|
+
- lib/http/session.rb
|
|
112
|
+
- lib/http/timeout/global.rb
|
|
113
|
+
- lib/http/timeout/null.rb
|
|
114
|
+
- lib/http/timeout/per_operation.rb
|
|
115
|
+
- lib/http/uri.rb
|
|
116
|
+
- lib/http/uri/normalizer.rb
|
|
117
|
+
- lib/http/uri/parsing.rb
|
|
118
|
+
- lib/http/version.rb
|
|
119
|
+
- sig/deps.rbs
|
|
120
|
+
- sig/http.rbs
|
|
121
|
+
- test/http/base64_test.rb
|
|
122
|
+
- test/http/client_test.rb
|
|
123
|
+
- test/http/connection_test.rb
|
|
124
|
+
- test/http/content_type_test.rb
|
|
125
|
+
- test/http/errors_test.rb
|
|
126
|
+
- test/http/feature_test.rb
|
|
127
|
+
- test/http/features/auto_deflate_test.rb
|
|
128
|
+
- test/http/features/auto_inflate_test.rb
|
|
129
|
+
- test/http/features/caching_test.rb
|
|
130
|
+
- test/http/features/digest_auth_test.rb
|
|
131
|
+
- test/http/features/instrumentation_test.rb
|
|
132
|
+
- test/http/features/logging_test.rb
|
|
133
|
+
- test/http/features/normalize_uri_test.rb
|
|
134
|
+
- test/http/features/raise_error_test.rb
|
|
135
|
+
- test/http/form_data/composite_io_test.rb
|
|
136
|
+
- test/http/form_data/file_test.rb
|
|
137
|
+
- test/http/form_data/fixtures/the-http-gem.info
|
|
138
|
+
- test/http/form_data/multipart_test.rb
|
|
139
|
+
- test/http/form_data/part_test.rb
|
|
140
|
+
- test/http/form_data/urlencoded_test.rb
|
|
141
|
+
- test/http/form_data_test.rb
|
|
142
|
+
- test/http/headers/normalizer_test.rb
|
|
143
|
+
- test/http/headers_test.rb
|
|
144
|
+
- test/http/mime_type/json_test.rb
|
|
145
|
+
- test/http/mime_type_test.rb
|
|
146
|
+
- test/http/options/base_uri_test.rb
|
|
147
|
+
- test/http/options/body_test.rb
|
|
148
|
+
- test/http/options/features_test.rb
|
|
149
|
+
- test/http/options/form_test.rb
|
|
150
|
+
- test/http/options/headers_test.rb
|
|
151
|
+
- test/http/options/json_test.rb
|
|
152
|
+
- test/http/options/merge_test.rb
|
|
153
|
+
- test/http/options/new_test.rb
|
|
154
|
+
- test/http/options/proxy_test.rb
|
|
155
|
+
- test/http/options_test.rb
|
|
156
|
+
- test/http/redirector_test.rb
|
|
157
|
+
- test/http/request/body_test.rb
|
|
158
|
+
- test/http/request/builder_test.rb
|
|
159
|
+
- test/http/request/writer_test.rb
|
|
160
|
+
- test/http/request_test.rb
|
|
161
|
+
- test/http/response/body_test.rb
|
|
162
|
+
- test/http/response/parser_test.rb
|
|
163
|
+
- test/http/response/status_test.rb
|
|
164
|
+
- test/http/response_test.rb
|
|
165
|
+
- test/http/retriable/delay_calculator_test.rb
|
|
166
|
+
- test/http/retriable/errors_test.rb
|
|
167
|
+
- test/http/retriable/performer_test.rb
|
|
168
|
+
- test/http/session_test.rb
|
|
169
|
+
- test/http/timeout/global_test.rb
|
|
170
|
+
- test/http/timeout/null_test.rb
|
|
171
|
+
- test/http/timeout/per_operation_test.rb
|
|
172
|
+
- test/http/uri/normalizer_test.rb
|
|
173
|
+
- test/http/uri_test.rb
|
|
174
|
+
- test/http/version_test.rb
|
|
175
|
+
- test/http_test.rb
|
|
176
|
+
- test/regression_tests.rb
|
|
177
|
+
- test/support/capture_warning.rb
|
|
178
|
+
- test/support/dummy_server.rb
|
|
179
|
+
- test/support/dummy_server/encoding_routes.rb
|
|
180
|
+
- test/support/dummy_server/routes.rb
|
|
181
|
+
- test/support/dummy_server/servlet.rb
|
|
182
|
+
- test/support/fakeio.rb
|
|
183
|
+
- test/support/http_handling_shared.rb
|
|
184
|
+
- test/support/http_handling_shared/connection_reuse_tests.rb
|
|
185
|
+
- test/support/http_handling_shared/timeout_tests.rb
|
|
186
|
+
- test/support/proxy_server.rb
|
|
187
|
+
- test/support/servers/runner.rb
|
|
188
|
+
- test/support/simplecov.rb
|
|
189
|
+
- test/support/ssl_helper.rb
|
|
190
|
+
- test/test_helper.rb
|
|
191
|
+
homepage: https://github.com/httprb/http
|
|
192
|
+
licenses:
|
|
193
|
+
- MIT
|
|
194
|
+
metadata:
|
|
195
|
+
homepage_uri: https://github.com/httprb/http
|
|
196
|
+
source_code_uri: https://github.com/httprb/http/tree/v6.0.0
|
|
197
|
+
bug_tracker_uri: https://github.com/httprb/http/issues
|
|
198
|
+
changelog_uri: https://github.com/httprb/http/blob/v6.0.0/CHANGELOG.md
|
|
199
|
+
documentation_uri: https://www.rubydoc.info/gems/http/6.0.0
|
|
200
|
+
rubygems_mfa_required: 'true'
|
|
201
|
+
rdoc_options: []
|
|
202
|
+
require_paths:
|
|
203
|
+
- lib
|
|
204
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
|
+
requirements:
|
|
206
|
+
- - ">="
|
|
207
|
+
- !ruby/object:Gem::Version
|
|
208
|
+
version: '3.2'
|
|
209
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
|
+
requirements:
|
|
211
|
+
- - ">="
|
|
212
|
+
- !ruby/object:Gem::Version
|
|
213
|
+
version: '0'
|
|
214
|
+
requirements: []
|
|
215
|
+
rubygems_version: 3.7.2
|
|
216
|
+
specification_version: 4
|
|
217
|
+
summary: HTTP should be easy
|
|
218
|
+
test_files: []
|