alchemrest-sentry 1.0.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 +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +22 -0
- data/.rubocop_todo.yml +20 -0
- data/.ruby-version +1 -0
- data/Appraisals +9 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +385 -0
- data/README.md +30 -0
- data/Rakefile +29 -0
- data/alchemrest-sentry.gemspec +53 -0
- data/coach.yml +5 -0
- data/gemfiles/rails_7_0.gemfile.lock +341 -0
- data/gemfiles/rails_7_2.gemfile +8 -0
- data/gemfiles/rails_7_2.gemfile.lock +376 -0
- data/gemfiles/rails_8_0.gemfile +8 -0
- data/gemfiles/rails_8_0.gemfile.lock +377 -0
- data/lib/alchemrest/sentry/version.rb +7 -0
- data/lib/alchemrest/sentry.rb +54 -0
- data/lib/alchemrest_sentry.rb +5 -0
- data/mutant.yml +16 -0
- data/sorbet/config +5 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/abstract_type@0.0.7.rbi +41 -0
- data/sorbet/rbi/gems/actionpack@8.0.2.rbi +9 -0
- data/sorbet/rbi/gems/actionview@8.0.2.rbi +9 -0
- data/sorbet/rbi/gems/activemodel@8.0.2.rbi +2891 -0
- data/sorbet/rbi/gems/activesupport@8.0.2.rbi +9301 -0
- data/sorbet/rbi/gems/adamantium@0.2.0.rbi +144 -0
- data/sorbet/rbi/gems/addressable@2.8.7.rbi +779 -0
- data/sorbet/rbi/gems/alchemrest@3.1.0.rbi +2455 -0
- data/sorbet/rbi/gems/anima@0.3.2.rbi +103 -0
- data/sorbet/rbi/gems/ast@2.4.3.rbi +107 -0
- data/sorbet/rbi/gems/base64@0.3.0.rbi +52 -0
- data/sorbet/rbi/gems/benchmark@0.4.1.rbi +147 -0
- data/sorbet/rbi/gems/bigdecimal@3.2.0.rbi +29 -0
- data/sorbet/rbi/gems/builder@3.3.0.rbi +9 -0
- data/sorbet/rbi/gems/circuitbox@2.0.0.rbi +297 -0
- data/sorbet/rbi/gems/concord@0.1.6.rbi +51 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +4716 -0
- data/sorbet/rbi/gems/connection_pool@2.5.3.rbi +9 -0
- data/sorbet/rbi/gems/crack@1.0.0.rbi +110 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +9 -0
- data/sorbet/rbi/gems/date@3.4.1.rbi +58 -0
- data/sorbet/rbi/gems/drb@2.2.3.rbi +639 -0
- data/sorbet/rbi/gems/equalizer@0.0.11.rbi +38 -0
- data/sorbet/rbi/gems/erb@5.0.1.rbi +306 -0
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +85 -0
- data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +143 -0
- data/sorbet/rbi/gems/faraday@2.14.1.rbi +1797 -0
- data/sorbet/rbi/gems/hansi@0.2.1.rbi +392 -0
- data/sorbet/rbi/gems/hashdiff@1.2.0.rbi +174 -0
- data/sorbet/rbi/gems/i18n@1.14.7.rbi +1328 -0
- data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +145 -0
- data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
- data/sorbet/rbi/gems/json@2.18.1.rbi +363 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +103 -0
- data/sorbet/rbi/gems/logger@1.7.0.rbi +260 -0
- data/sorbet/rbi/gems/loofah@2.24.1.rbi +9 -0
- data/sorbet/rbi/gems/memoizable@0.4.2.rbi +131 -0
- data/sorbet/rbi/gems/memosa@0.8.3.rbi +185 -0
- data/sorbet/rbi/gems/minitest@5.25.5.rbi +824 -0
- data/sorbet/rbi/gems/money@6.19.0.rbi +815 -0
- data/sorbet/rbi/gems/morpher@0.4.2.rbi +388 -0
- data/sorbet/rbi/gems/mprelude@0.1.0.rbi +140 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +180 -0
- data/sorbet/rbi/gems/mustermann-contrib@3.0.3.rbi +658 -0
- data/sorbet/rbi/gems/mustermann@3.0.3.rbi +809 -0
- data/sorbet/rbi/gems/net-http@0.9.1.rbi +1012 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +112 -0
- data/sorbet/rbi/gems/nokogiri@1.19.1.rbi +9 -0
- data/sorbet/rbi/gems/parallel@1.27.0.rbi +234 -0
- data/sorbet/rbi/gems/parser@3.3.8.0.rbi +4883 -0
- data/sorbet/rbi/gems/pp@0.6.2.rbi +176 -0
- data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +155 -0
- data/sorbet/rbi/gems/prism@1.4.0.rbi +26357 -0
- data/sorbet/rbi/gems/procto@0.0.3.rbi +9 -0
- data/sorbet/rbi/gems/psych@5.2.6.rbi +1173 -0
- data/sorbet/rbi/gems/public_suffix@6.0.2.rbi +267 -0
- data/sorbet/rbi/gems/racc@1.8.1.rbi +122 -0
- data/sorbet/rbi/gems/rack-session@2.1.1.rbi +9 -0
- data/sorbet/rbi/gems/rack-test@2.2.0.rbi +9 -0
- data/sorbet/rbi/gems/rack@3.1.20.rbi +2801 -0
- data/sorbet/rbi/gems/rackup@2.2.1.rbi +132 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi +9 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +9 -0
- data/sorbet/rbi/gems/railties@8.0.2.rbi +568 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +333 -0
- data/sorbet/rbi/gems/rake@13.3.0.rbi +1955 -0
- data/sorbet/rbi/gems/rbi@0.3.3.rbi +4551 -0
- data/sorbet/rbi/gems/rbs@3.9.4.rbi +5583 -0
- data/sorbet/rbi/gems/rdoc@6.14.0.rbi +6843 -0
- data/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +3020 -0
- data/sorbet/rbi/gems/reline@0.6.1.rbi +9 -0
- data/sorbet/rbi/gems/rexml@3.4.1.rbi +1931 -0
- data/sorbet/rbi/gems/rubocop-ast@1.44.1.rbi +5236 -0
- data/sorbet/rbi/gems/rubocop@1.75.8.rbi +32674 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +980 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +33 -0
- data/sorbet/rbi/gems/sentry-ruby@5.24.0.rbi +4076 -0
- data/sorbet/rbi/gems/spoom@1.6.3.rbi +4612 -0
- data/sorbet/rbi/gems/stringio@3.1.7.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3417 -0
- data/sorbet/rbi/gems/thor@1.4.0.rbi +2015 -0
- data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +711 -0
- data/sorbet/rbi/gems/timeout@0.4.3.rbi +80 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +1677 -0
- data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +106 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +178 -0
- data/sorbet/rbi/gems/uri@1.1.1.rbi +760 -0
- data/sorbet/rbi/gems/useragent@0.16.11.rbi +9 -0
- data/sorbet/rbi/gems/webmock@3.25.1.rbi +1368 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +345 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +8762 -0
- data/sorbet/rbi/gems/zeitwerk@2.7.3.rbi +9 -0
- data/sorbet/tapioca/config.yml +45 -0
- data/sorbet/tapioca/require.rb +2 -0
- data/sorbet/tapioca/sorbet/rbi/dsl/.gitattributes +1 -0
- data/sorbet/tapioca/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
- metadata +379 -0
|
@@ -0,0 +1,2801 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
|
|
3
|
+
# DO NOT EDIT MANUALLY
|
|
4
|
+
# This is an autogenerated file for types exported from the `rack` gem.
|
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rack`.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# source://rack//lib/rack/version.rb#14
|
|
9
|
+
module Rack
|
|
10
|
+
class << self
|
|
11
|
+
# source://rack//lib/rack/version.rb#18
|
|
12
|
+
def release; end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# source://rack//lib/rack.rb#60
|
|
17
|
+
module Rack::Auth; end
|
|
18
|
+
|
|
19
|
+
# source://rack//lib/rack/auth/abstract/handler.rb#11
|
|
20
|
+
class Rack::Auth::AbstractHandler
|
|
21
|
+
# source://rack//lib/rack/auth/abstract/handler.rb#15
|
|
22
|
+
def initialize(app, realm = T.unsafe(nil), &authenticator); end
|
|
23
|
+
|
|
24
|
+
# source://rack//lib/rack/auth/abstract/handler.rb#13
|
|
25
|
+
def realm; end
|
|
26
|
+
|
|
27
|
+
# source://rack//lib/rack/auth/abstract/handler.rb#13
|
|
28
|
+
def realm=(_arg0); end
|
|
29
|
+
|
|
30
|
+
private
|
|
31
|
+
|
|
32
|
+
# source://rack//lib/rack/auth/abstract/handler.rb#31
|
|
33
|
+
def bad_request; end
|
|
34
|
+
|
|
35
|
+
# source://rack//lib/rack/auth/abstract/handler.rb#22
|
|
36
|
+
def unauthorized(www_authenticate = T.unsafe(nil)); end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# source://rack//lib/rack/auth/abstract/request.rb#7
|
|
40
|
+
class Rack::Auth::AbstractRequest
|
|
41
|
+
# source://rack//lib/rack/auth/abstract/request.rb#9
|
|
42
|
+
def initialize(env); end
|
|
43
|
+
|
|
44
|
+
# source://rack//lib/rack/auth/abstract/request.rb#33
|
|
45
|
+
def params; end
|
|
46
|
+
|
|
47
|
+
# source://rack//lib/rack/auth/abstract/request.rb#25
|
|
48
|
+
def parts; end
|
|
49
|
+
|
|
50
|
+
# source://rack//lib/rack/auth/abstract/request.rb#17
|
|
51
|
+
def provided?; end
|
|
52
|
+
|
|
53
|
+
# source://rack//lib/rack/auth/abstract/request.rb#13
|
|
54
|
+
def request; end
|
|
55
|
+
|
|
56
|
+
# source://rack//lib/rack/auth/abstract/request.rb#29
|
|
57
|
+
def scheme; end
|
|
58
|
+
|
|
59
|
+
# source://rack//lib/rack/auth/abstract/request.rb#21
|
|
60
|
+
def valid?; end
|
|
61
|
+
|
|
62
|
+
private
|
|
63
|
+
|
|
64
|
+
# source://rack//lib/rack/auth/abstract/request.rb#42
|
|
65
|
+
def authorization_key; end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# source://rack//lib/rack/auth/abstract/request.rb#40
|
|
69
|
+
Rack::Auth::AbstractRequest::AUTHORIZATION_KEYS = T.let(T.unsafe(nil), Array)
|
|
70
|
+
|
|
71
|
+
# source://rack//lib/rack/auth/basic.rb#13
|
|
72
|
+
class Rack::Auth::Basic < ::Rack::Auth::AbstractHandler
|
|
73
|
+
# source://rack//lib/rack/auth/basic.rb#15
|
|
74
|
+
def call(env); end
|
|
75
|
+
|
|
76
|
+
private
|
|
77
|
+
|
|
78
|
+
# source://rack//lib/rack/auth/basic.rb#34
|
|
79
|
+
def challenge; end
|
|
80
|
+
|
|
81
|
+
# source://rack//lib/rack/auth/basic.rb#38
|
|
82
|
+
def valid?(auth); end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# source://rack//lib/rack/auth/basic.rb#42
|
|
86
|
+
class Rack::Auth::Basic::Request < ::Rack::Auth::AbstractRequest
|
|
87
|
+
# source://rack//lib/rack/auth/basic.rb#43
|
|
88
|
+
def basic?; end
|
|
89
|
+
|
|
90
|
+
# source://rack//lib/rack/auth/basic.rb#47
|
|
91
|
+
def credentials; end
|
|
92
|
+
|
|
93
|
+
# source://rack//lib/rack/auth/basic.rb#51
|
|
94
|
+
def username; end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# source://rack//lib/rack/builder.rb#6
|
|
98
|
+
Rack::BUILDER_TOPLEVEL_BINDING = T.let(T.unsafe(nil), Proc)
|
|
99
|
+
|
|
100
|
+
# source://rack//lib/rack/bad_request.rb#6
|
|
101
|
+
module Rack::BadRequest; end
|
|
102
|
+
|
|
103
|
+
# source://rack//lib/rack/body_proxy.rb#7
|
|
104
|
+
class Rack::BodyProxy
|
|
105
|
+
# source://rack//lib/rack/body_proxy.rb#10
|
|
106
|
+
def initialize(body, &block); end
|
|
107
|
+
|
|
108
|
+
# source://rack//lib/rack/body_proxy.rb#28
|
|
109
|
+
def close; end
|
|
110
|
+
|
|
111
|
+
# source://rack//lib/rack/body_proxy.rb#40
|
|
112
|
+
def closed?; end
|
|
113
|
+
|
|
114
|
+
# source://rack//lib/rack/body_proxy.rb#45
|
|
115
|
+
def method_missing(method_name, *args, **_arg2, &block); end
|
|
116
|
+
|
|
117
|
+
private
|
|
118
|
+
|
|
119
|
+
# source://rack//lib/rack/body_proxy.rb#17
|
|
120
|
+
def respond_to_missing?(method_name, include_all = T.unsafe(nil)); end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# source://rack//lib/rack/builder.rb#36
|
|
124
|
+
class Rack::Builder
|
|
125
|
+
# source://rack//lib/rack/builder.rb#116
|
|
126
|
+
def initialize(default_app = T.unsafe(nil), **options, &block); end
|
|
127
|
+
|
|
128
|
+
# source://rack//lib/rack/builder.rb#276
|
|
129
|
+
def call(env); end
|
|
130
|
+
|
|
131
|
+
# source://rack//lib/rack/builder.rb#259
|
|
132
|
+
def freeze_app; end
|
|
133
|
+
|
|
134
|
+
# source://rack//lib/rack/builder.rb#252
|
|
135
|
+
def map(path, &block); end
|
|
136
|
+
|
|
137
|
+
# source://rack//lib/rack/builder.rb#132
|
|
138
|
+
def options; end
|
|
139
|
+
|
|
140
|
+
# source://rack//lib/rack/builder.rb#193
|
|
141
|
+
def run(app = T.unsafe(nil), &block); end
|
|
142
|
+
|
|
143
|
+
# source://rack//lib/rack/builder.rb#264
|
|
144
|
+
def to_app; end
|
|
145
|
+
|
|
146
|
+
# source://rack//lib/rack/builder.rb#159
|
|
147
|
+
def use(middleware, *args, **_arg2, &block); end
|
|
148
|
+
|
|
149
|
+
# source://rack//lib/rack/builder.rb#209
|
|
150
|
+
def warmup(prc = T.unsafe(nil), &block); end
|
|
151
|
+
|
|
152
|
+
private
|
|
153
|
+
|
|
154
|
+
# source://rack//lib/rack/builder.rb#284
|
|
155
|
+
def generate_map(default_app, mapping); end
|
|
156
|
+
|
|
157
|
+
class << self
|
|
158
|
+
# source://rack//lib/rack/builder.rb#136
|
|
159
|
+
def app(default_app = T.unsafe(nil), &block); end
|
|
160
|
+
|
|
161
|
+
# source://rack//lib/rack/builder.rb#87
|
|
162
|
+
def load_file(path, **options); end
|
|
163
|
+
|
|
164
|
+
# source://rack//lib/rack/builder.rb#102
|
|
165
|
+
def new_from_string(builder_script, path = T.unsafe(nil), **options); end
|
|
166
|
+
|
|
167
|
+
# source://rack//lib/rack/builder.rb#65
|
|
168
|
+
def parse_file(path, **options); end
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# source://rack//lib/rack/builder.rb#39
|
|
173
|
+
Rack::Builder::UTF_8_BOM = T.let(T.unsafe(nil), String)
|
|
174
|
+
|
|
175
|
+
# source://rack//lib/rack/constants.rb#19
|
|
176
|
+
Rack::CACHE_CONTROL = T.let(T.unsafe(nil), String)
|
|
177
|
+
|
|
178
|
+
# source://rack//lib/rack/constants.rb#35
|
|
179
|
+
Rack::CONNECT = T.let(T.unsafe(nil), String)
|
|
180
|
+
|
|
181
|
+
# source://rack//lib/rack/constants.rb#20
|
|
182
|
+
Rack::CONTENT_LENGTH = T.let(T.unsafe(nil), String)
|
|
183
|
+
|
|
184
|
+
# source://rack//lib/rack/constants.rb#21
|
|
185
|
+
Rack::CONTENT_TYPE = T.let(T.unsafe(nil), String)
|
|
186
|
+
|
|
187
|
+
# source://rack//lib/rack/cascade.rb#11
|
|
188
|
+
class Rack::Cascade
|
|
189
|
+
# source://rack//lib/rack/cascade.rb#21
|
|
190
|
+
def initialize(apps, cascade_for = T.unsafe(nil)); end
|
|
191
|
+
|
|
192
|
+
# source://rack//lib/rack/cascade.rb#56
|
|
193
|
+
def <<(app); end
|
|
194
|
+
|
|
195
|
+
# source://rack//lib/rack/cascade.rb#56
|
|
196
|
+
def add(app); end
|
|
197
|
+
|
|
198
|
+
# source://rack//lib/rack/cascade.rb#13
|
|
199
|
+
def apps; end
|
|
200
|
+
|
|
201
|
+
# source://rack//lib/rack/cascade.rb#32
|
|
202
|
+
def call(env); end
|
|
203
|
+
|
|
204
|
+
# source://rack//lib/rack/cascade.rb#61
|
|
205
|
+
def include?(app); end
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# source://rack//lib/rack/common_logger.rb#13
|
|
209
|
+
class Rack::CommonLogger
|
|
210
|
+
# source://rack//lib/rack/common_logger.rb#29
|
|
211
|
+
def initialize(app, logger = T.unsafe(nil)); end
|
|
212
|
+
|
|
213
|
+
# source://rack//lib/rack/common_logger.rb#41
|
|
214
|
+
def call(env); end
|
|
215
|
+
|
|
216
|
+
private
|
|
217
|
+
|
|
218
|
+
# source://rack//lib/rack/common_logger.rb#84
|
|
219
|
+
def extract_content_length(headers); end
|
|
220
|
+
|
|
221
|
+
# source://rack//lib/rack/common_logger.rb#52
|
|
222
|
+
def log(env, status, response_headers, began_at); end
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# source://rack//lib/rack/common_logger.rb#23
|
|
226
|
+
Rack::CommonLogger::FORMAT = T.let(T.unsafe(nil), String)
|
|
227
|
+
|
|
228
|
+
# source://rack//lib/rack/conditional_get.rb#21
|
|
229
|
+
class Rack::ConditionalGet
|
|
230
|
+
# source://rack//lib/rack/conditional_get.rb#22
|
|
231
|
+
def initialize(app); end
|
|
232
|
+
|
|
233
|
+
# source://rack//lib/rack/conditional_get.rb#28
|
|
234
|
+
def call(env); end
|
|
235
|
+
|
|
236
|
+
private
|
|
237
|
+
|
|
238
|
+
# source://rack//lib/rack/conditional_get.rb#62
|
|
239
|
+
def etag_matches?(none_match, headers); end
|
|
240
|
+
|
|
241
|
+
# source://rack//lib/rack/conditional_get.rb#51
|
|
242
|
+
def fresh?(env, headers); end
|
|
243
|
+
|
|
244
|
+
# source://rack//lib/rack/conditional_get.rb#68
|
|
245
|
+
def modified_since?(modified_since, headers); end
|
|
246
|
+
|
|
247
|
+
# source://rack//lib/rack/conditional_get.rb#75
|
|
248
|
+
def to_rfc2822(since); end
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# source://rack//lib/rack/config.rb#11
|
|
252
|
+
class Rack::Config
|
|
253
|
+
# source://rack//lib/rack/config.rb#12
|
|
254
|
+
def initialize(app, &block); end
|
|
255
|
+
|
|
256
|
+
# source://rack//lib/rack/config.rb#17
|
|
257
|
+
def call(env); end
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
# source://rack//lib/rack/content_length.rb#12
|
|
261
|
+
class Rack::ContentLength
|
|
262
|
+
include ::Rack::Utils
|
|
263
|
+
|
|
264
|
+
# source://rack//lib/rack/content_length.rb#15
|
|
265
|
+
def initialize(app); end
|
|
266
|
+
|
|
267
|
+
# source://rack//lib/rack/content_length.rb#19
|
|
268
|
+
def call(env); end
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# source://rack//lib/rack/content_type.rb#15
|
|
272
|
+
class Rack::ContentType
|
|
273
|
+
include ::Rack::Utils
|
|
274
|
+
|
|
275
|
+
# source://rack//lib/rack/content_type.rb#18
|
|
276
|
+
def initialize(app, content_type = T.unsafe(nil)); end
|
|
277
|
+
|
|
278
|
+
# source://rack//lib/rack/content_type.rb#23
|
|
279
|
+
def call(env); end
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# source://rack//lib/rack/constants.rb#32
|
|
283
|
+
Rack::DELETE = T.let(T.unsafe(nil), String)
|
|
284
|
+
|
|
285
|
+
# source://rack//lib/rack/deflater.rb#28
|
|
286
|
+
class Rack::Deflater
|
|
287
|
+
# source://rack//lib/rack/deflater.rb#39
|
|
288
|
+
def initialize(app, options = T.unsafe(nil)); end
|
|
289
|
+
|
|
290
|
+
# source://rack//lib/rack/deflater.rb#46
|
|
291
|
+
def call(env); end
|
|
292
|
+
|
|
293
|
+
private
|
|
294
|
+
|
|
295
|
+
# source://rack//lib/rack/deflater.rb#136
|
|
296
|
+
def should_deflate?(env, status, headers, body); end
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# source://rack//lib/rack/deflater.rb#83
|
|
300
|
+
class Rack::Deflater::GzipStream
|
|
301
|
+
# source://rack//lib/rack/deflater.rb#92
|
|
302
|
+
def initialize(body, mtime, sync); end
|
|
303
|
+
|
|
304
|
+
# source://rack//lib/rack/deflater.rb#128
|
|
305
|
+
def close; end
|
|
306
|
+
|
|
307
|
+
# source://rack//lib/rack/deflater.rb#99
|
|
308
|
+
def each(&block); end
|
|
309
|
+
|
|
310
|
+
# source://rack//lib/rack/deflater.rb#123
|
|
311
|
+
def write(data); end
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
# source://rack//lib/rack/deflater.rb#85
|
|
315
|
+
Rack::Deflater::GzipStream::BUFFER_LENGTH = T.let(T.unsafe(nil), Integer)
|
|
316
|
+
|
|
317
|
+
# source://rack//lib/rack/directory.rb#19
|
|
318
|
+
class Rack::Directory
|
|
319
|
+
# source://rack//lib/rack/directory.rb#83
|
|
320
|
+
def initialize(root, app = T.unsafe(nil)); end
|
|
321
|
+
|
|
322
|
+
# source://rack//lib/rack/directory.rb#90
|
|
323
|
+
def call(env); end
|
|
324
|
+
|
|
325
|
+
# source://rack//lib/rack/directory.rb#110
|
|
326
|
+
def check_bad_request(path_info); end
|
|
327
|
+
|
|
328
|
+
# source://rack//lib/rack/directory.rb#120
|
|
329
|
+
def check_forbidden(path_info); end
|
|
330
|
+
|
|
331
|
+
# source://rack//lib/rack/directory.rb#184
|
|
332
|
+
def entity_not_found(path_info); end
|
|
333
|
+
|
|
334
|
+
# source://rack//lib/rack/directory.rb#200
|
|
335
|
+
def filesize_format(int); end
|
|
336
|
+
|
|
337
|
+
# source://rack//lib/rack/directory.rb#97
|
|
338
|
+
def get(env); end
|
|
339
|
+
|
|
340
|
+
# source://rack//lib/rack/directory.rb#133
|
|
341
|
+
def list_directory(path_info, path, script_name); end
|
|
342
|
+
|
|
343
|
+
# source://rack//lib/rack/directory.rb#174
|
|
344
|
+
def list_path(env, path, path_info, script_name); end
|
|
345
|
+
|
|
346
|
+
# source://rack//lib/rack/directory.rb#80
|
|
347
|
+
def root; end
|
|
348
|
+
|
|
349
|
+
# source://rack//lib/rack/directory.rb#166
|
|
350
|
+
def stat(path); end
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
# source://rack//lib/rack/directory.rb#20
|
|
354
|
+
Rack::Directory::DIR_FILE = T.let(T.unsafe(nil), String)
|
|
355
|
+
|
|
356
|
+
# source://rack//lib/rack/directory.rb#43
|
|
357
|
+
Rack::Directory::DIR_PAGE_FOOTER = T.let(T.unsafe(nil), String)
|
|
358
|
+
|
|
359
|
+
# source://rack//lib/rack/directory.rb#21
|
|
360
|
+
Rack::Directory::DIR_PAGE_HEADER = T.let(T.unsafe(nil), String)
|
|
361
|
+
|
|
362
|
+
# source://rack//lib/rack/directory.rb#51
|
|
363
|
+
class Rack::Directory::DirectoryBody < ::Struct
|
|
364
|
+
# source://rack//lib/rack/directory.rb#53
|
|
365
|
+
def each; end
|
|
366
|
+
|
|
367
|
+
private
|
|
368
|
+
|
|
369
|
+
# source://rack//lib/rack/directory.rb#73
|
|
370
|
+
def DIR_FILE_escape(htmls); end
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
# source://rack//lib/rack/directory.rb#192
|
|
374
|
+
Rack::Directory::FILESIZE_FORMAT = T.let(T.unsafe(nil), Array)
|
|
375
|
+
|
|
376
|
+
# source://rack//lib/rack/constants.rb#22
|
|
377
|
+
Rack::ETAG = T.let(T.unsafe(nil), String)
|
|
378
|
+
|
|
379
|
+
# source://rack//lib/rack/etag.rb#18
|
|
380
|
+
class Rack::ETag
|
|
381
|
+
# source://rack//lib/rack/etag.rb#22
|
|
382
|
+
def initialize(app, no_cache_control = T.unsafe(nil), cache_control = T.unsafe(nil)); end
|
|
383
|
+
|
|
384
|
+
# source://rack//lib/rack/etag.rb#28
|
|
385
|
+
def call(env); end
|
|
386
|
+
|
|
387
|
+
private
|
|
388
|
+
|
|
389
|
+
# source://rack//lib/rack/etag.rb#61
|
|
390
|
+
def digest_body(body); end
|
|
391
|
+
|
|
392
|
+
# source://rack//lib/rack/etag.rb#53
|
|
393
|
+
def etag_status?(status); end
|
|
394
|
+
|
|
395
|
+
# source://rack//lib/rack/etag.rb#57
|
|
396
|
+
def skip_caching?(headers); end
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
# source://rack//lib/rack/etag.rb#20
|
|
400
|
+
Rack::ETag::DEFAULT_CACHE_CONTROL = T.let(T.unsafe(nil), String)
|
|
401
|
+
|
|
402
|
+
# source://rack//lib/rack/etag.rb#19
|
|
403
|
+
Rack::ETag::ETAG_STRING = T.let(T.unsafe(nil), String)
|
|
404
|
+
|
|
405
|
+
# source://rack//lib/rack/constants.rb#23
|
|
406
|
+
Rack::EXPIRES = T.let(T.unsafe(nil), String)
|
|
407
|
+
|
|
408
|
+
# source://rack//lib/rack/events.rb#61
|
|
409
|
+
class Rack::Events
|
|
410
|
+
# source://rack//lib/rack/events.rb#106
|
|
411
|
+
def initialize(app, handlers); end
|
|
412
|
+
|
|
413
|
+
# source://rack//lib/rack/events.rb#111
|
|
414
|
+
def call(env); end
|
|
415
|
+
|
|
416
|
+
private
|
|
417
|
+
|
|
418
|
+
# source://rack//lib/rack/events.rb#149
|
|
419
|
+
def make_request(env); end
|
|
420
|
+
|
|
421
|
+
# source://rack//lib/rack/events.rb#153
|
|
422
|
+
def make_response(status, headers, body); end
|
|
423
|
+
|
|
424
|
+
# source://rack//lib/rack/events.rb#137
|
|
425
|
+
def on_commit(request, response); end
|
|
426
|
+
|
|
427
|
+
# source://rack//lib/rack/events.rb#133
|
|
428
|
+
def on_error(request, response, e); end
|
|
429
|
+
|
|
430
|
+
# source://rack//lib/rack/events.rb#145
|
|
431
|
+
def on_finish(request, response); end
|
|
432
|
+
|
|
433
|
+
# source://rack//lib/rack/events.rb#141
|
|
434
|
+
def on_start(request, response); end
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# source://rack//lib/rack/events.rb#62
|
|
438
|
+
module Rack::Events::Abstract
|
|
439
|
+
# source://rack//lib/rack/events.rb#66
|
|
440
|
+
def on_commit(req, res); end
|
|
441
|
+
|
|
442
|
+
# source://rack//lib/rack/events.rb#75
|
|
443
|
+
def on_error(req, res, e); end
|
|
444
|
+
|
|
445
|
+
# source://rack//lib/rack/events.rb#72
|
|
446
|
+
def on_finish(req, res); end
|
|
447
|
+
|
|
448
|
+
# source://rack//lib/rack/events.rb#69
|
|
449
|
+
def on_send(req, res); end
|
|
450
|
+
|
|
451
|
+
# source://rack//lib/rack/events.rb#63
|
|
452
|
+
def on_start(req, res); end
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
# source://rack//lib/rack/events.rb#95
|
|
456
|
+
class Rack::Events::BufferedResponse < ::Rack::Response::Raw
|
|
457
|
+
# source://rack//lib/rack/events.rb#98
|
|
458
|
+
def initialize(status, headers, body); end
|
|
459
|
+
|
|
460
|
+
# source://rack//lib/rack/events.rb#96
|
|
461
|
+
def body; end
|
|
462
|
+
|
|
463
|
+
# source://rack//lib/rack/events.rb#103
|
|
464
|
+
def to_a; end
|
|
465
|
+
end
|
|
466
|
+
|
|
467
|
+
# source://rack//lib/rack/events.rb#79
|
|
468
|
+
class Rack::Events::EventedBodyProxy < ::Rack::BodyProxy
|
|
469
|
+
# source://rack//lib/rack/events.rb#82
|
|
470
|
+
def initialize(body, request, response, handlers, &block); end
|
|
471
|
+
|
|
472
|
+
# source://rack//lib/rack/events.rb#89
|
|
473
|
+
def each; end
|
|
474
|
+
|
|
475
|
+
# source://rack//lib/rack/events.rb#80
|
|
476
|
+
def request; end
|
|
477
|
+
|
|
478
|
+
# source://rack//lib/rack/events.rb#80
|
|
479
|
+
def response; end
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
# source://rack//lib/rack/files.rb#20
|
|
483
|
+
class Rack::Files
|
|
484
|
+
# source://rack//lib/rack/files.rb#27
|
|
485
|
+
def initialize(root, headers = T.unsafe(nil), default_mime = T.unsafe(nil)); end
|
|
486
|
+
|
|
487
|
+
# source://rack//lib/rack/files.rb#34
|
|
488
|
+
def call(env); end
|
|
489
|
+
|
|
490
|
+
# source://rack//lib/rack/files.rb#39
|
|
491
|
+
def get(env); end
|
|
492
|
+
|
|
493
|
+
# source://rack//lib/rack/files.rb#25
|
|
494
|
+
def root; end
|
|
495
|
+
|
|
496
|
+
# source://rack//lib/rack/files.rb#68
|
|
497
|
+
def serving(request, path); end
|
|
498
|
+
|
|
499
|
+
private
|
|
500
|
+
|
|
501
|
+
# source://rack//lib/rack/files.rb#190
|
|
502
|
+
def fail(status, body, headers = T.unsafe(nil)); end
|
|
503
|
+
|
|
504
|
+
# source://rack//lib/rack/files.rb#209
|
|
505
|
+
def filesize(path); end
|
|
506
|
+
|
|
507
|
+
# source://rack//lib/rack/files.rb#205
|
|
508
|
+
def mime_type(path, default_mime); end
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
# source://rack//lib/rack/files.rb#21
|
|
512
|
+
Rack::Files::ALLOWED_VERBS = T.let(T.unsafe(nil), Array)
|
|
513
|
+
|
|
514
|
+
# source://rack//lib/rack/files.rb#22
|
|
515
|
+
Rack::Files::ALLOW_HEADER = T.let(T.unsafe(nil), String)
|
|
516
|
+
|
|
517
|
+
# source://rack//lib/rack/files.rb#121
|
|
518
|
+
class Rack::Files::BaseIterator
|
|
519
|
+
# source://rack//lib/rack/files.rb#124
|
|
520
|
+
def initialize(path, ranges, options); end
|
|
521
|
+
|
|
522
|
+
# source://rack//lib/rack/files.rb#144
|
|
523
|
+
def bytesize; end
|
|
524
|
+
|
|
525
|
+
# source://rack//lib/rack/files.rb#153
|
|
526
|
+
def close; end
|
|
527
|
+
|
|
528
|
+
# source://rack//lib/rack/files.rb#130
|
|
529
|
+
def each; end
|
|
530
|
+
|
|
531
|
+
# source://rack//lib/rack/files.rb#122
|
|
532
|
+
def options; end
|
|
533
|
+
|
|
534
|
+
# source://rack//lib/rack/files.rb#122
|
|
535
|
+
def path; end
|
|
536
|
+
|
|
537
|
+
# source://rack//lib/rack/files.rb#122
|
|
538
|
+
def ranges; end
|
|
539
|
+
|
|
540
|
+
private
|
|
541
|
+
|
|
542
|
+
# source://rack//lib/rack/files.rb#171
|
|
543
|
+
def each_range_part(file, range); end
|
|
544
|
+
|
|
545
|
+
# source://rack//lib/rack/files.rb#157
|
|
546
|
+
def multipart?; end
|
|
547
|
+
|
|
548
|
+
# source://rack//lib/rack/files.rb#161
|
|
549
|
+
def multipart_heading(range); end
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# source://rack//lib/rack/files.rb#184
|
|
553
|
+
class Rack::Files::Iterator < ::Rack::Files::BaseIterator
|
|
554
|
+
# source://rack//lib/rack/files.rb#122
|
|
555
|
+
def to_path; end
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
# source://rack//lib/rack/files.rb#23
|
|
559
|
+
Rack::Files::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String)
|
|
560
|
+
|
|
561
|
+
# source://rack//lib/rack/recursive.rb#14
|
|
562
|
+
class Rack::ForwardRequest < ::Exception
|
|
563
|
+
# source://rack//lib/rack/recursive.rb#17
|
|
564
|
+
def initialize(url, env = T.unsafe(nil)); end
|
|
565
|
+
|
|
566
|
+
# source://rack//lib/rack/recursive.rb#15
|
|
567
|
+
def env; end
|
|
568
|
+
|
|
569
|
+
# source://rack//lib/rack/recursive.rb#15
|
|
570
|
+
def url; end
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
# source://rack//lib/rack/constants.rb#28
|
|
574
|
+
Rack::GET = T.let(T.unsafe(nil), String)
|
|
575
|
+
|
|
576
|
+
# source://rack//lib/rack/constants.rb#33
|
|
577
|
+
Rack::HEAD = T.let(T.unsafe(nil), String)
|
|
578
|
+
|
|
579
|
+
# source://rack//lib/rack/constants.rb#7
|
|
580
|
+
Rack::HTTPS = T.let(T.unsafe(nil), String)
|
|
581
|
+
|
|
582
|
+
# source://rack//lib/rack/constants.rb#16
|
|
583
|
+
Rack::HTTP_COOKIE = T.let(T.unsafe(nil), String)
|
|
584
|
+
|
|
585
|
+
# source://rack//lib/rack/constants.rb#5
|
|
586
|
+
Rack::HTTP_HOST = T.let(T.unsafe(nil), String)
|
|
587
|
+
|
|
588
|
+
# source://rack//lib/rack/constants.rb#6
|
|
589
|
+
Rack::HTTP_PORT = T.let(T.unsafe(nil), String)
|
|
590
|
+
|
|
591
|
+
# source://rack//lib/rack/head.rb#9
|
|
592
|
+
class Rack::Head
|
|
593
|
+
# source://rack//lib/rack/head.rb#10
|
|
594
|
+
def initialize(app); end
|
|
595
|
+
|
|
596
|
+
# source://rack//lib/rack/head.rb#14
|
|
597
|
+
def call(env); end
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
# source://rack//lib/rack/headers.rb#8
|
|
601
|
+
class Rack::Headers < ::Hash
|
|
602
|
+
# source://rack//lib/rack/headers.rb#110
|
|
603
|
+
def [](key); end
|
|
604
|
+
|
|
605
|
+
# source://rack//lib/rack/headers.rb#114
|
|
606
|
+
def []=(key, value); end
|
|
607
|
+
|
|
608
|
+
# source://rack//lib/rack/headers.rb#119
|
|
609
|
+
def assoc(key); end
|
|
610
|
+
|
|
611
|
+
# source://rack//lib/rack/headers.rb#123
|
|
612
|
+
def compare_by_identity; end
|
|
613
|
+
|
|
614
|
+
# source://rack//lib/rack/headers.rb#127
|
|
615
|
+
def delete(key); end
|
|
616
|
+
|
|
617
|
+
# source://rack//lib/rack/headers.rb#131
|
|
618
|
+
def dig(key, *a); end
|
|
619
|
+
|
|
620
|
+
# source://rack//lib/rack/headers.rb#227
|
|
621
|
+
def except(*a); end
|
|
622
|
+
|
|
623
|
+
# source://rack//lib/rack/headers.rb#135
|
|
624
|
+
def fetch(key, *default, &block); end
|
|
625
|
+
|
|
626
|
+
# source://rack//lib/rack/headers.rb#140
|
|
627
|
+
def fetch_values(*a); end
|
|
628
|
+
|
|
629
|
+
# source://rack//lib/rack/headers.rb#144
|
|
630
|
+
def has_key?(key); end
|
|
631
|
+
|
|
632
|
+
# source://rack//lib/rack/headers.rb#144
|
|
633
|
+
def include?(key); end
|
|
634
|
+
|
|
635
|
+
# source://rack//lib/rack/headers.rb#151
|
|
636
|
+
def invert; end
|
|
637
|
+
|
|
638
|
+
# source://rack//lib/rack/headers.rb#144
|
|
639
|
+
def key?(key); end
|
|
640
|
+
|
|
641
|
+
# source://rack//lib/rack/headers.rb#144
|
|
642
|
+
def member?(key); end
|
|
643
|
+
|
|
644
|
+
# source://rack//lib/rack/headers.rb#157
|
|
645
|
+
def merge(hash, &block); end
|
|
646
|
+
|
|
647
|
+
# source://rack//lib/rack/headers.rb#186
|
|
648
|
+
def merge!(hash, &block); end
|
|
649
|
+
|
|
650
|
+
# source://rack//lib/rack/headers.rb#161
|
|
651
|
+
def reject(&block); end
|
|
652
|
+
|
|
653
|
+
# source://rack//lib/rack/headers.rb#167
|
|
654
|
+
def replace(hash); end
|
|
655
|
+
|
|
656
|
+
# source://rack//lib/rack/headers.rb#172
|
|
657
|
+
def select(&block); end
|
|
658
|
+
|
|
659
|
+
# source://rack//lib/rack/headers.rb#205
|
|
660
|
+
def slice(*a); end
|
|
661
|
+
|
|
662
|
+
# source://rack//lib/rack/headers.rb#114
|
|
663
|
+
def store(key, value); end
|
|
664
|
+
|
|
665
|
+
# source://rack//lib/rack/headers.rb#178
|
|
666
|
+
def to_proc; end
|
|
667
|
+
|
|
668
|
+
# source://rack//lib/rack/headers.rb#211
|
|
669
|
+
def transform_keys(&block); end
|
|
670
|
+
|
|
671
|
+
# source://rack//lib/rack/headers.rb#215
|
|
672
|
+
def transform_keys!; end
|
|
673
|
+
|
|
674
|
+
# source://rack//lib/rack/headers.rb#182
|
|
675
|
+
def transform_values(&block); end
|
|
676
|
+
|
|
677
|
+
# source://rack//lib/rack/headers.rb#186
|
|
678
|
+
def update(hash, &block); end
|
|
679
|
+
|
|
680
|
+
# source://rack//lib/rack/headers.rb#198
|
|
681
|
+
def values_at(*keys); end
|
|
682
|
+
|
|
683
|
+
private
|
|
684
|
+
|
|
685
|
+
# source://rack//lib/rack/headers.rb#234
|
|
686
|
+
def downcase_key(key); end
|
|
687
|
+
|
|
688
|
+
class << self
|
|
689
|
+
# source://rack//lib/rack/headers.rb#91
|
|
690
|
+
def [](*items); end
|
|
691
|
+
end
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
# source://rack//lib/rack/headers.rb#9
|
|
695
|
+
Rack::Headers::KNOWN_HEADERS = T.let(T.unsafe(nil), Hash)
|
|
696
|
+
|
|
697
|
+
# source://rack//lib/rack/constants.rb#36
|
|
698
|
+
Rack::LINK = T.let(T.unsafe(nil), String)
|
|
699
|
+
|
|
700
|
+
# source://rack//lib/rack/lint.rb#13
|
|
701
|
+
class Rack::Lint
|
|
702
|
+
# source://rack//lib/rack/lint.rb#19
|
|
703
|
+
def initialize(app); end
|
|
704
|
+
|
|
705
|
+
# source://rack//lib/rack/lint.rb#40
|
|
706
|
+
def call(env = T.unsafe(nil)); end
|
|
707
|
+
end
|
|
708
|
+
|
|
709
|
+
# source://rack//lib/rack/lint.rb#25
|
|
710
|
+
class Rack::Lint::LintError < ::RuntimeError; end
|
|
711
|
+
|
|
712
|
+
# source://rack//lib/rack/lint.rb#15
|
|
713
|
+
Rack::Lint::REQUEST_PATH_ABSOLUTE_FORM = T.let(T.unsafe(nil), Regexp)
|
|
714
|
+
|
|
715
|
+
# source://rack//lib/rack/lint.rb#17
|
|
716
|
+
Rack::Lint::REQUEST_PATH_ASTERISK_FORM = T.let(T.unsafe(nil), String)
|
|
717
|
+
|
|
718
|
+
# source://rack//lib/rack/lint.rb#16
|
|
719
|
+
Rack::Lint::REQUEST_PATH_AUTHORITY_FORM = T.let(T.unsafe(nil), Regexp)
|
|
720
|
+
|
|
721
|
+
# source://rack//lib/rack/lint.rb#14
|
|
722
|
+
Rack::Lint::REQUEST_PATH_ORIGIN_FORM = T.let(T.unsafe(nil), Regexp)
|
|
723
|
+
|
|
724
|
+
# source://rack//lib/rack/lint.rb#44
|
|
725
|
+
class Rack::Lint::Wrapper
|
|
726
|
+
# source://rack//lib/rack/lint.rb#45
|
|
727
|
+
def initialize(app, env); end
|
|
728
|
+
|
|
729
|
+
# source://rack//lib/rack/lint.rb#939
|
|
730
|
+
def call(stream); end
|
|
731
|
+
|
|
732
|
+
# source://rack//lib/rack/lint.rb#757
|
|
733
|
+
def check_content_length_header(status, headers); end
|
|
734
|
+
|
|
735
|
+
# source://rack//lib/rack/lint.rb#741
|
|
736
|
+
def check_content_type_header(status, headers); end
|
|
737
|
+
|
|
738
|
+
# source://rack//lib/rack/lint.rb#657
|
|
739
|
+
def check_early_hints(env); end
|
|
740
|
+
|
|
741
|
+
# source://rack//lib/rack/lint.rb#101
|
|
742
|
+
def check_environment(env); end
|
|
743
|
+
|
|
744
|
+
# source://rack//lib/rack/lint.rb#531
|
|
745
|
+
def check_error_stream(error); end
|
|
746
|
+
|
|
747
|
+
# source://rack//lib/rack/lint.rb#731
|
|
748
|
+
def check_header_value(key, value); end
|
|
749
|
+
|
|
750
|
+
# source://rack//lib/rack/lint.rb#691
|
|
751
|
+
def check_headers(headers); end
|
|
752
|
+
|
|
753
|
+
# source://rack//lib/rack/lint.rb#591
|
|
754
|
+
def check_hijack(env); end
|
|
755
|
+
|
|
756
|
+
# source://rack//lib/rack/lint.rb#619
|
|
757
|
+
def check_hijack_response(headers, env); end
|
|
758
|
+
|
|
759
|
+
# source://rack//lib/rack/lint.rb#427
|
|
760
|
+
def check_input_stream(input); end
|
|
761
|
+
|
|
762
|
+
# source://rack//lib/rack/lint.rb#785
|
|
763
|
+
def check_rack_protocol_header(status, headers); end
|
|
764
|
+
|
|
765
|
+
# source://rack//lib/rack/lint.rb#680
|
|
766
|
+
def check_status(status); end
|
|
767
|
+
|
|
768
|
+
# source://rack//lib/rack/lint.rb#831
|
|
769
|
+
def close; end
|
|
770
|
+
|
|
771
|
+
# source://rack//lib/rack/lint.rb#865
|
|
772
|
+
def each; end
|
|
773
|
+
|
|
774
|
+
# source://rack//lib/rack/lint.rb#910
|
|
775
|
+
def respond_to?(name, *_arg1); end
|
|
776
|
+
|
|
777
|
+
# source://rack//lib/rack/lint.rb#60
|
|
778
|
+
def response; end
|
|
779
|
+
|
|
780
|
+
# source://rack//lib/rack/lint.rb#926
|
|
781
|
+
def to_ary; end
|
|
782
|
+
|
|
783
|
+
# source://rack//lib/rack/lint.rb#906
|
|
784
|
+
def to_path; end
|
|
785
|
+
|
|
786
|
+
# source://rack//lib/rack/lint.rb#770
|
|
787
|
+
def verify_content_length(size); end
|
|
788
|
+
|
|
789
|
+
# source://rack//lib/rack/lint.rb#847
|
|
790
|
+
def verify_to_path; end
|
|
791
|
+
end
|
|
792
|
+
|
|
793
|
+
# source://rack//lib/rack/lint.rb#904
|
|
794
|
+
Rack::Lint::Wrapper::BODY_METHODS = T.let(T.unsafe(nil), Hash)
|
|
795
|
+
|
|
796
|
+
# source://rack//lib/rack/lint.rb#540
|
|
797
|
+
class Rack::Lint::Wrapper::ErrorWrapper
|
|
798
|
+
# source://rack//lib/rack/lint.rb#541
|
|
799
|
+
def initialize(error); end
|
|
800
|
+
|
|
801
|
+
# source://rack//lib/rack/lint.rb#563
|
|
802
|
+
def close(*args); end
|
|
803
|
+
|
|
804
|
+
# source://rack//lib/rack/lint.rb#558
|
|
805
|
+
def flush; end
|
|
806
|
+
|
|
807
|
+
# source://rack//lib/rack/lint.rb#546
|
|
808
|
+
def puts(str); end
|
|
809
|
+
|
|
810
|
+
# source://rack//lib/rack/lint.rb#551
|
|
811
|
+
def write(str); end
|
|
812
|
+
end
|
|
813
|
+
|
|
814
|
+
# source://rack//lib/rack/lint.rb#445
|
|
815
|
+
class Rack::Lint::Wrapper::InputWrapper
|
|
816
|
+
# source://rack//lib/rack/lint.rb#446
|
|
817
|
+
def initialize(input); end
|
|
818
|
+
|
|
819
|
+
# source://rack//lib/rack/lint.rb#523
|
|
820
|
+
def close(*args); end
|
|
821
|
+
|
|
822
|
+
# source://rack//lib/rack/lint.rb#511
|
|
823
|
+
def each(*args); end
|
|
824
|
+
|
|
825
|
+
# source://rack//lib/rack/lint.rb#452
|
|
826
|
+
def gets(*args); end
|
|
827
|
+
|
|
828
|
+
# source://rack//lib/rack/lint.rb#478
|
|
829
|
+
def read(*args); end
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
# source://rack//lib/rack/lint.rb#959
|
|
833
|
+
class Rack::Lint::Wrapper::StreamWrapper
|
|
834
|
+
extend ::Forwardable
|
|
835
|
+
|
|
836
|
+
# source://rack//lib/rack/lint.rb#974
|
|
837
|
+
def initialize(stream); end
|
|
838
|
+
|
|
839
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
840
|
+
def <<(*args, **_arg1, &block); end
|
|
841
|
+
|
|
842
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
843
|
+
def close(*args, **_arg1, &block); end
|
|
844
|
+
|
|
845
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
846
|
+
def close_read(*args, **_arg1, &block); end
|
|
847
|
+
|
|
848
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
849
|
+
def close_write(*args, **_arg1, &block); end
|
|
850
|
+
|
|
851
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
852
|
+
def closed?(*args, **_arg1, &block); end
|
|
853
|
+
|
|
854
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
855
|
+
def flush(*args, **_arg1, &block); end
|
|
856
|
+
|
|
857
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
858
|
+
def read(*args, **_arg1, &block); end
|
|
859
|
+
|
|
860
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
|
861
|
+
def write(*args, **_arg1, &block); end
|
|
862
|
+
end
|
|
863
|
+
|
|
864
|
+
# source://rack//lib/rack/lint.rb#967
|
|
865
|
+
Rack::Lint::Wrapper::StreamWrapper::REQUIRED_METHODS = T.let(T.unsafe(nil), Array)
|
|
866
|
+
|
|
867
|
+
# source://rack//lib/rack/lock.rb#8
|
|
868
|
+
class Rack::Lock
|
|
869
|
+
# source://rack//lib/rack/lock.rb#9
|
|
870
|
+
def initialize(app, mutex = T.unsafe(nil)); end
|
|
871
|
+
|
|
872
|
+
# source://rack//lib/rack/lock.rb#13
|
|
873
|
+
def call(env); end
|
|
874
|
+
|
|
875
|
+
private
|
|
876
|
+
|
|
877
|
+
# source://rack//lib/rack/lock.rb#25
|
|
878
|
+
def unlock; end
|
|
879
|
+
end
|
|
880
|
+
|
|
881
|
+
# source://rack//lib/rack/logger.rb#10
|
|
882
|
+
class Rack::Logger
|
|
883
|
+
# source://rack//lib/rack/logger.rb#11
|
|
884
|
+
def initialize(app, level = T.unsafe(nil)); end
|
|
885
|
+
|
|
886
|
+
# source://rack//lib/rack/logger.rb#15
|
|
887
|
+
def call(env); end
|
|
888
|
+
end
|
|
889
|
+
|
|
890
|
+
# source://rack//lib/rack/media_type.rb#6
|
|
891
|
+
class Rack::MediaType
|
|
892
|
+
class << self
|
|
893
|
+
# source://rack//lib/rack/media_type.rb#35
|
|
894
|
+
def params(content_type); end
|
|
895
|
+
|
|
896
|
+
# source://rack//lib/rack/media_type.rb#16
|
|
897
|
+
def type(content_type); end
|
|
898
|
+
|
|
899
|
+
private
|
|
900
|
+
|
|
901
|
+
# source://rack//lib/rack/media_type.rb#48
|
|
902
|
+
def strip_doublequotes(str); end
|
|
903
|
+
end
|
|
904
|
+
end
|
|
905
|
+
|
|
906
|
+
# source://rack//lib/rack/media_type.rb#7
|
|
907
|
+
Rack::MediaType::SPLIT_PATTERN = T.let(T.unsafe(nil), Regexp)
|
|
908
|
+
|
|
909
|
+
# source://rack//lib/rack/method_override.rb#8
|
|
910
|
+
class Rack::MethodOverride
|
|
911
|
+
# source://rack//lib/rack/method_override.rb#15
|
|
912
|
+
def initialize(app); end
|
|
913
|
+
|
|
914
|
+
# source://rack//lib/rack/method_override.rb#19
|
|
915
|
+
def call(env); end
|
|
916
|
+
|
|
917
|
+
# source://rack//lib/rack/method_override.rb#31
|
|
918
|
+
def method_override(env); end
|
|
919
|
+
|
|
920
|
+
private
|
|
921
|
+
|
|
922
|
+
# source://rack//lib/rack/method_override.rb#44
|
|
923
|
+
def allowed_methods; end
|
|
924
|
+
|
|
925
|
+
# source://rack//lib/rack/method_override.rb#48
|
|
926
|
+
def method_override_param(req); end
|
|
927
|
+
end
|
|
928
|
+
|
|
929
|
+
# source://rack//lib/rack/method_override.rb#13
|
|
930
|
+
Rack::MethodOverride::ALLOWED_METHODS = T.let(T.unsafe(nil), Array)
|
|
931
|
+
|
|
932
|
+
# source://rack//lib/rack/method_override.rb#9
|
|
933
|
+
Rack::MethodOverride::HTTP_METHODS = T.let(T.unsafe(nil), Array)
|
|
934
|
+
|
|
935
|
+
# source://rack//lib/rack/method_override.rb#12
|
|
936
|
+
Rack::MethodOverride::HTTP_METHOD_OVERRIDE_HEADER = T.let(T.unsafe(nil), String)
|
|
937
|
+
|
|
938
|
+
# source://rack//lib/rack/method_override.rb#11
|
|
939
|
+
Rack::MethodOverride::METHOD_OVERRIDE_PARAM_KEY = T.let(T.unsafe(nil), String)
|
|
940
|
+
|
|
941
|
+
# source://rack//lib/rack/mime.rb#4
|
|
942
|
+
module Rack::Mime
|
|
943
|
+
private
|
|
944
|
+
|
|
945
|
+
# source://rack//lib/rack/mime.rb#30
|
|
946
|
+
def match?(value, matcher); end
|
|
947
|
+
|
|
948
|
+
# source://rack//lib/rack/mime.rb#18
|
|
949
|
+
def mime_type(ext, fallback = T.unsafe(nil)); end
|
|
950
|
+
|
|
951
|
+
class << self
|
|
952
|
+
# source://rack//lib/rack/mime.rb#30
|
|
953
|
+
def match?(value, matcher); end
|
|
954
|
+
|
|
955
|
+
# source://rack//lib/rack/mime.rb#18
|
|
956
|
+
def mime_type(ext, fallback = T.unsafe(nil)); end
|
|
957
|
+
end
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
# source://rack//lib/rack/mime.rb#51
|
|
961
|
+
Rack::Mime::MIME_TYPES = T.let(T.unsafe(nil), Hash)
|
|
962
|
+
|
|
963
|
+
# source://rack//lib/rack/mock_request.rb#23
|
|
964
|
+
class Rack::MockRequest
|
|
965
|
+
# source://rack//lib/rack/mock_request.rb#44
|
|
966
|
+
def initialize(app); end
|
|
967
|
+
|
|
968
|
+
# source://rack//lib/rack/mock_request.rb#57
|
|
969
|
+
def delete(uri, opts = T.unsafe(nil)); end
|
|
970
|
+
|
|
971
|
+
# source://rack//lib/rack/mock_request.rb#49
|
|
972
|
+
def get(uri, opts = T.unsafe(nil)); end
|
|
973
|
+
|
|
974
|
+
# source://rack//lib/rack/mock_request.rb#59
|
|
975
|
+
def head(uri, opts = T.unsafe(nil)); end
|
|
976
|
+
|
|
977
|
+
# source://rack//lib/rack/mock_request.rb#61
|
|
978
|
+
def options(uri, opts = T.unsafe(nil)); end
|
|
979
|
+
|
|
980
|
+
# source://rack//lib/rack/mock_request.rb#55
|
|
981
|
+
def patch(uri, opts = T.unsafe(nil)); end
|
|
982
|
+
|
|
983
|
+
# source://rack//lib/rack/mock_request.rb#51
|
|
984
|
+
def post(uri, opts = T.unsafe(nil)); end
|
|
985
|
+
|
|
986
|
+
# source://rack//lib/rack/mock_request.rb#53
|
|
987
|
+
def put(uri, opts = T.unsafe(nil)); end
|
|
988
|
+
|
|
989
|
+
# source://rack//lib/rack/mock_request.rb#66
|
|
990
|
+
def request(method = T.unsafe(nil), uri = T.unsafe(nil), opts = T.unsafe(nil)); end
|
|
991
|
+
|
|
992
|
+
class << self
|
|
993
|
+
# source://rack//lib/rack/mock_request.rb#98
|
|
994
|
+
def env_for(uri = T.unsafe(nil), opts = T.unsafe(nil)); end
|
|
995
|
+
|
|
996
|
+
# source://rack//lib/rack/mock_request.rb#84
|
|
997
|
+
def parse_uri_rfc2396(uri); end
|
|
998
|
+
end
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
# source://rack//lib/rack/mock_request.rb#27
|
|
1002
|
+
class Rack::MockRequest::FatalWarner
|
|
1003
|
+
# source://rack//lib/rack/mock_request.rb#36
|
|
1004
|
+
def flush; end
|
|
1005
|
+
|
|
1006
|
+
# source://rack//lib/rack/mock_request.rb#28
|
|
1007
|
+
def puts(warning); end
|
|
1008
|
+
|
|
1009
|
+
# source://rack//lib/rack/mock_request.rb#39
|
|
1010
|
+
def string; end
|
|
1011
|
+
|
|
1012
|
+
# source://rack//lib/rack/mock_request.rb#32
|
|
1013
|
+
def write(warning); end
|
|
1014
|
+
end
|
|
1015
|
+
|
|
1016
|
+
# source://rack//lib/rack/mock_request.rb#24
|
|
1017
|
+
class Rack::MockRequest::FatalWarning < ::RuntimeError; end
|
|
1018
|
+
|
|
1019
|
+
# source://rack//lib/rack/mock_response.rb#12
|
|
1020
|
+
class Rack::MockResponse < ::Rack::Response
|
|
1021
|
+
# source://rack//lib/rack/mock_response.rb#53
|
|
1022
|
+
def initialize(status, headers, body, errors = T.unsafe(nil)); end
|
|
1023
|
+
|
|
1024
|
+
# source://rack//lib/rack/mock_response.rb#68
|
|
1025
|
+
def =~(other); end
|
|
1026
|
+
|
|
1027
|
+
# source://rack//lib/rack/mock_response.rb#76
|
|
1028
|
+
def body; end
|
|
1029
|
+
|
|
1030
|
+
# source://rack//lib/rack/mock_response.rb#102
|
|
1031
|
+
def cookie(name); end
|
|
1032
|
+
|
|
1033
|
+
# source://rack//lib/rack/mock_response.rb#48
|
|
1034
|
+
def cookies; end
|
|
1035
|
+
|
|
1036
|
+
# source://rack//lib/rack/mock_response.rb#98
|
|
1037
|
+
def empty?; end
|
|
1038
|
+
|
|
1039
|
+
# source://rack//lib/rack/mock_response.rb#51
|
|
1040
|
+
def errors; end
|
|
1041
|
+
|
|
1042
|
+
# source://rack//lib/rack/mock_response.rb#51
|
|
1043
|
+
def errors=(_arg0); end
|
|
1044
|
+
|
|
1045
|
+
# source://rack//lib/rack/mock_response.rb#72
|
|
1046
|
+
def match(other); end
|
|
1047
|
+
|
|
1048
|
+
# source://rack//lib/rack/mock_response.rb#48
|
|
1049
|
+
def original_headers; end
|
|
1050
|
+
|
|
1051
|
+
private
|
|
1052
|
+
|
|
1053
|
+
# source://rack//lib/rack/mock_response.rb#129
|
|
1054
|
+
def identify_cookie_attributes(cookie_filling); end
|
|
1055
|
+
|
|
1056
|
+
# source://rack//lib/rack/mock_response.rb#108
|
|
1057
|
+
def parse_cookies_from_header; end
|
|
1058
|
+
|
|
1059
|
+
class << self
|
|
1060
|
+
def [](*_arg0); end
|
|
1061
|
+
end
|
|
1062
|
+
end
|
|
1063
|
+
|
|
1064
|
+
# source://rack//lib/rack/mock_response.rb#16
|
|
1065
|
+
Rack::MockResponse::Cookie = CGI::Cookie
|
|
1066
|
+
|
|
1067
|
+
# source://rack//lib/rack/multipart/parser.rb#9
|
|
1068
|
+
module Rack::Multipart
|
|
1069
|
+
class << self
|
|
1070
|
+
# source://rack//lib/rack/multipart.rb#72
|
|
1071
|
+
def build_multipart(params, first = T.unsafe(nil)); end
|
|
1072
|
+
|
|
1073
|
+
# source://rack//lib/rack/multipart.rb#68
|
|
1074
|
+
def extract_multipart(request, params = T.unsafe(nil)); end
|
|
1075
|
+
|
|
1076
|
+
# source://rack//lib/rack/multipart.rb#48
|
|
1077
|
+
def parse_multipart(env, params = T.unsafe(nil)); end
|
|
1078
|
+
end
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
# source://rack//lib/rack/multipart/parser.rb#26
|
|
1082
|
+
class Rack::Multipart::BoundaryTooLongError < ::StandardError
|
|
1083
|
+
include ::Rack::BadRequest
|
|
1084
|
+
end
|
|
1085
|
+
|
|
1086
|
+
# source://rack//lib/rack/multipart/parser.rb#33
|
|
1087
|
+
Rack::Multipart::EOL = T.let(T.unsafe(nil), String)
|
|
1088
|
+
|
|
1089
|
+
# source://rack//lib/rack/multipart/parser.rb#20
|
|
1090
|
+
class Rack::Multipart::EmptyContentError < ::EOFError
|
|
1091
|
+
include ::Rack::BadRequest
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
# source://rack//lib/rack/multipart/parser.rb#31
|
|
1095
|
+
Rack::Multipart::Error = Rack::Multipart::BoundaryTooLongError
|
|
1096
|
+
|
|
1097
|
+
# source://rack//lib/rack/multipart/parser.rb#34
|
|
1098
|
+
Rack::Multipart::FWS = T.let(T.unsafe(nil), Regexp)
|
|
1099
|
+
|
|
1100
|
+
# source://rack//lib/rack/multipart/generator.rb#7
|
|
1101
|
+
class Rack::Multipart::Generator
|
|
1102
|
+
# source://rack//lib/rack/multipart/generator.rb#8
|
|
1103
|
+
def initialize(params, first = T.unsafe(nil)); end
|
|
1104
|
+
|
|
1105
|
+
# source://rack//lib/rack/multipart/generator.rb#16
|
|
1106
|
+
def dump; end
|
|
1107
|
+
|
|
1108
|
+
private
|
|
1109
|
+
|
|
1110
|
+
# source://rack//lib/rack/multipart/generator.rb#89
|
|
1111
|
+
def content_for_other(file, name); end
|
|
1112
|
+
|
|
1113
|
+
# source://rack//lib/rack/multipart/generator.rb#77
|
|
1114
|
+
def content_for_tempfile(io, file, name); end
|
|
1115
|
+
|
|
1116
|
+
# source://rack//lib/rack/multipart/generator.rb#52
|
|
1117
|
+
def flattened_params; end
|
|
1118
|
+
|
|
1119
|
+
# source://rack//lib/rack/multipart/generator.rb#37
|
|
1120
|
+
def multipart?; end
|
|
1121
|
+
end
|
|
1122
|
+
|
|
1123
|
+
# source://rack//lib/rack/multipart/parser.rb#35
|
|
1124
|
+
Rack::Multipart::HEADER_VALUE = T.let(T.unsafe(nil), String)
|
|
1125
|
+
|
|
1126
|
+
# source://rack//lib/rack/multipart/parser.rb#36
|
|
1127
|
+
Rack::Multipart::MULTIPART = T.let(T.unsafe(nil), Regexp)
|
|
1128
|
+
|
|
1129
|
+
# source://rack//lib/rack/multipart.rb#16
|
|
1130
|
+
Rack::Multipart::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String)
|
|
1131
|
+
|
|
1132
|
+
# source://rack//lib/rack/multipart/parser.rb#38
|
|
1133
|
+
Rack::Multipart::MULTIPART_CONTENT_DISPOSITION = T.let(T.unsafe(nil), Regexp)
|
|
1134
|
+
|
|
1135
|
+
# source://rack//lib/rack/multipart/parser.rb#39
|
|
1136
|
+
Rack::Multipart::MULTIPART_CONTENT_ID = T.let(T.unsafe(nil), Regexp)
|
|
1137
|
+
|
|
1138
|
+
# source://rack//lib/rack/multipart/parser.rb#37
|
|
1139
|
+
Rack::Multipart::MULTIPART_CONTENT_TYPE = T.let(T.unsafe(nil), Regexp)
|
|
1140
|
+
|
|
1141
|
+
# source://rack//lib/rack/multipart.rb#18
|
|
1142
|
+
class Rack::Multipart::MissingInputError < ::StandardError
|
|
1143
|
+
include ::Rack::BadRequest
|
|
1144
|
+
end
|
|
1145
|
+
|
|
1146
|
+
# source://rack//lib/rack/multipart/parser.rb#10
|
|
1147
|
+
class Rack::Multipart::MultipartPartLimitError < ::Errno::EMFILE
|
|
1148
|
+
include ::Rack::BadRequest
|
|
1149
|
+
end
|
|
1150
|
+
|
|
1151
|
+
# source://rack//lib/rack/multipart/parser.rb#14
|
|
1152
|
+
class Rack::Multipart::MultipartTotalPartLimitError < ::StandardError
|
|
1153
|
+
include ::Rack::BadRequest
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
# source://rack//lib/rack/multipart.rb#25
|
|
1157
|
+
class Rack::Multipart::ParamList
|
|
1158
|
+
# source://rack//lib/rack/multipart.rb#34
|
|
1159
|
+
def initialize; end
|
|
1160
|
+
|
|
1161
|
+
# source://rack//lib/rack/multipart.rb#38
|
|
1162
|
+
def <<(pair); end
|
|
1163
|
+
|
|
1164
|
+
# source://rack//lib/rack/multipart.rb#42
|
|
1165
|
+
def to_params_hash; end
|
|
1166
|
+
|
|
1167
|
+
class << self
|
|
1168
|
+
# source://rack//lib/rack/multipart.rb#26
|
|
1169
|
+
def make_params; end
|
|
1170
|
+
|
|
1171
|
+
# source://rack//lib/rack/multipart.rb#30
|
|
1172
|
+
def normalize_params(params, key, value); end
|
|
1173
|
+
end
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1176
|
+
# source://rack//lib/rack/multipart/parser.rb#41
|
|
1177
|
+
class Rack::Multipart::Parser
|
|
1178
|
+
# source://rack//lib/rack/multipart/parser.rb#223
|
|
1179
|
+
def initialize(boundary, tempfile, bufsize, query_parser); end
|
|
1180
|
+
|
|
1181
|
+
# source://rack//lib/rack/multipart/parser.rb#242
|
|
1182
|
+
def parse(io); end
|
|
1183
|
+
|
|
1184
|
+
# source://rack//lib/rack/multipart/parser.rb#265
|
|
1185
|
+
def result; end
|
|
1186
|
+
|
|
1187
|
+
# source://rack//lib/rack/multipart/parser.rb#221
|
|
1188
|
+
def state; end
|
|
1189
|
+
|
|
1190
|
+
private
|
|
1191
|
+
|
|
1192
|
+
# source://rack//lib/rack/multipart/parser.rb#486
|
|
1193
|
+
def consume_boundary; end
|
|
1194
|
+
|
|
1195
|
+
# source://rack//lib/rack/multipart/parser.rb#277
|
|
1196
|
+
def dequote(str); end
|
|
1197
|
+
|
|
1198
|
+
# source://rack//lib/rack/multipart/parser.rb#541
|
|
1199
|
+
def find_encoding(enc); end
|
|
1200
|
+
|
|
1201
|
+
# source://rack//lib/rack/multipart/parser.rb#323
|
|
1202
|
+
def handle_consume_token; end
|
|
1203
|
+
|
|
1204
|
+
# source://rack//lib/rack/multipart/parser.rb#547
|
|
1205
|
+
def handle_empty_content!(content); end
|
|
1206
|
+
|
|
1207
|
+
# source://rack//lib/rack/multipart/parser.rb#296
|
|
1208
|
+
def handle_fast_forward; end
|
|
1209
|
+
|
|
1210
|
+
# source://rack//lib/rack/multipart/parser.rb#453
|
|
1211
|
+
def handle_mime_body; end
|
|
1212
|
+
|
|
1213
|
+
# source://rack//lib/rack/multipart/parser.rb#335
|
|
1214
|
+
def handle_mime_head; end
|
|
1215
|
+
|
|
1216
|
+
# source://rack//lib/rack/multipart/parser.rb#495
|
|
1217
|
+
def normalize_filename(filename); end
|
|
1218
|
+
|
|
1219
|
+
# source://rack//lib/rack/multipart/parser.rb#283
|
|
1220
|
+
def read_data(io, outbuf); end
|
|
1221
|
+
|
|
1222
|
+
# source://rack//lib/rack/multipart/parser.rb#508
|
|
1223
|
+
def tag_multipart_encoding(filename, content_type, name, body); end
|
|
1224
|
+
|
|
1225
|
+
# source://rack//lib/rack/multipart/parser.rb#475
|
|
1226
|
+
def update_retained_size(size); end
|
|
1227
|
+
|
|
1228
|
+
class << self
|
|
1229
|
+
# source://rack//lib/rack/multipart/parser.rb#110
|
|
1230
|
+
def parse(io, content_length, content_type, tmpfile, bufsize, qp); end
|
|
1231
|
+
|
|
1232
|
+
# source://rack//lib/rack/multipart/parser.rb#103
|
|
1233
|
+
def parse_boundary(content_type); end
|
|
1234
|
+
end
|
|
1235
|
+
end
|
|
1236
|
+
|
|
1237
|
+
# source://rack//lib/rack/multipart/parser.rb#50
|
|
1238
|
+
Rack::Multipart::Parser::BOUNDARY_START_LIMIT = T.let(T.unsafe(nil), Integer)
|
|
1239
|
+
|
|
1240
|
+
# source://rack//lib/rack/multipart/parser.rb#68
|
|
1241
|
+
Rack::Multipart::Parser::BUFFERED_UPLOAD_BYTESIZE_LIMIT = T.let(T.unsafe(nil), Integer)
|
|
1242
|
+
|
|
1243
|
+
# source://rack//lib/rack/multipart/parser.rb#42
|
|
1244
|
+
Rack::Multipart::Parser::BUFSIZE = T.let(T.unsafe(nil), Integer)
|
|
1245
|
+
|
|
1246
|
+
# source://rack//lib/rack/multipart/parser.rb#71
|
|
1247
|
+
class Rack::Multipart::Parser::BoundedIO
|
|
1248
|
+
# source://rack//lib/rack/multipart/parser.rb#72
|
|
1249
|
+
def initialize(io, content_length); end
|
|
1250
|
+
|
|
1251
|
+
# source://rack//lib/rack/multipart/parser.rb#78
|
|
1252
|
+
def read(size, outbuf = T.unsafe(nil)); end
|
|
1253
|
+
end
|
|
1254
|
+
|
|
1255
|
+
# source://rack//lib/rack/multipart/parser.rb#505
|
|
1256
|
+
Rack::Multipart::Parser::CHARSET = T.let(T.unsafe(nil), String)
|
|
1257
|
+
|
|
1258
|
+
# source://rack//lib/rack/multipart/parser.rb#334
|
|
1259
|
+
Rack::Multipart::Parser::CONTENT_DISPOSITION_MAX_BYTES = T.let(T.unsafe(nil), Integer)
|
|
1260
|
+
|
|
1261
|
+
# source://rack//lib/rack/multipart/parser.rb#333
|
|
1262
|
+
Rack::Multipart::Parser::CONTENT_DISPOSITION_MAX_PARAMS = T.let(T.unsafe(nil), Integer)
|
|
1263
|
+
|
|
1264
|
+
# source://rack//lib/rack/multipart/parser.rb#130
|
|
1265
|
+
class Rack::Multipart::Parser::Collector
|
|
1266
|
+
include ::Enumerable
|
|
1267
|
+
|
|
1268
|
+
# source://rack//lib/rack/multipart/parser.rb#166
|
|
1269
|
+
def initialize(tempfile); end
|
|
1270
|
+
|
|
1271
|
+
# source://rack//lib/rack/multipart/parser.rb#172
|
|
1272
|
+
def each; end
|
|
1273
|
+
|
|
1274
|
+
# source://rack//lib/rack/multipart/parser.rb#192
|
|
1275
|
+
def on_mime_body(mime_index, content); end
|
|
1276
|
+
|
|
1277
|
+
# source://rack//lib/rack/multipart/parser.rb#196
|
|
1278
|
+
def on_mime_finish(mime_index); end
|
|
1279
|
+
|
|
1280
|
+
# source://rack//lib/rack/multipart/parser.rb#176
|
|
1281
|
+
def on_mime_head(mime_index, head, filename, content_type, name); end
|
|
1282
|
+
|
|
1283
|
+
private
|
|
1284
|
+
|
|
1285
|
+
# source://rack//lib/rack/multipart/parser.rb#201
|
|
1286
|
+
def check_part_limits; end
|
|
1287
|
+
end
|
|
1288
|
+
|
|
1289
|
+
# source://rack//lib/rack/multipart/parser.rb#154
|
|
1290
|
+
class Rack::Multipart::Parser::Collector::BufferPart < ::Rack::Multipart::Parser::Collector::MimePart
|
|
1291
|
+
# source://rack//lib/rack/multipart/parser.rb#156
|
|
1292
|
+
def close; end
|
|
1293
|
+
|
|
1294
|
+
# source://rack//lib/rack/multipart/parser.rb#155
|
|
1295
|
+
def file?; end
|
|
1296
|
+
end
|
|
1297
|
+
|
|
1298
|
+
# source://rack//lib/rack/multipart/parser.rb#131
|
|
1299
|
+
class Rack::Multipart::Parser::Collector::MimePart < ::Struct
|
|
1300
|
+
# source://rack//lib/rack/multipart/parser.rb#132
|
|
1301
|
+
def get_data; end
|
|
1302
|
+
end
|
|
1303
|
+
|
|
1304
|
+
# source://rack//lib/rack/multipart/parser.rb#159
|
|
1305
|
+
class Rack::Multipart::Parser::Collector::TempfilePart < ::Rack::Multipart::Parser::Collector::MimePart
|
|
1306
|
+
# source://rack//lib/rack/multipart/parser.rb#161
|
|
1307
|
+
def close; end
|
|
1308
|
+
|
|
1309
|
+
# source://rack//lib/rack/multipart/parser.rb#160
|
|
1310
|
+
def file?; end
|
|
1311
|
+
end
|
|
1312
|
+
|
|
1313
|
+
# source://rack//lib/rack/multipart/parser.rb#101
|
|
1314
|
+
Rack::Multipart::Parser::EMPTY = T.let(T.unsafe(nil), Rack::Multipart::Parser::MultipartInfo)
|
|
1315
|
+
|
|
1316
|
+
# source://rack//lib/rack/multipart/parser.rb#53
|
|
1317
|
+
Rack::Multipart::Parser::MIME_HEADER_BYTESIZE_LIMIT = T.let(T.unsafe(nil), Integer)
|
|
1318
|
+
|
|
1319
|
+
# source://rack//lib/rack/multipart/parser.rb#100
|
|
1320
|
+
class Rack::Multipart::Parser::MultipartInfo < ::Struct
|
|
1321
|
+
def params; end
|
|
1322
|
+
def params=(_); end
|
|
1323
|
+
def tmp_files; end
|
|
1324
|
+
def tmp_files=(_); end
|
|
1325
|
+
|
|
1326
|
+
class << self
|
|
1327
|
+
def [](*_arg0); end
|
|
1328
|
+
def inspect; end
|
|
1329
|
+
def keyword_init?; end
|
|
1330
|
+
def members; end
|
|
1331
|
+
def new(*_arg0); end
|
|
1332
|
+
end
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1335
|
+
# source://rack//lib/rack/multipart/parser.rb#44
|
|
1336
|
+
Rack::Multipart::Parser::TEMPFILE_FACTORY = T.let(T.unsafe(nil), Proc)
|
|
1337
|
+
|
|
1338
|
+
# source://rack//lib/rack/multipart/parser.rb#43
|
|
1339
|
+
Rack::Multipart::Parser::TEXT_PLAIN = T.let(T.unsafe(nil), String)
|
|
1340
|
+
|
|
1341
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#8
|
|
1342
|
+
class Rack::Multipart::UploadedFile
|
|
1343
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#16
|
|
1344
|
+
def initialize(filepath = T.unsafe(nil), ct = T.unsafe(nil), bin = T.unsafe(nil), path: T.unsafe(nil), content_type: T.unsafe(nil), binary: T.unsafe(nil), filename: T.unsafe(nil), io: T.unsafe(nil)); end
|
|
1345
|
+
|
|
1346
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#14
|
|
1347
|
+
def content_type; end
|
|
1348
|
+
|
|
1349
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#14
|
|
1350
|
+
def content_type=(_arg0); end
|
|
1351
|
+
|
|
1352
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#31
|
|
1353
|
+
def local_path; end
|
|
1354
|
+
|
|
1355
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#40
|
|
1356
|
+
def method_missing(method_name, *args, &block); end
|
|
1357
|
+
|
|
1358
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#11
|
|
1359
|
+
def original_filename; end
|
|
1360
|
+
|
|
1361
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#31
|
|
1362
|
+
def path; end
|
|
1363
|
+
|
|
1364
|
+
# source://rack//lib/rack/multipart/uploaded_file.rb#36
|
|
1365
|
+
def respond_to?(*args); end
|
|
1366
|
+
end
|
|
1367
|
+
|
|
1368
|
+
# source://rack//lib/rack/null_logger.rb#6
|
|
1369
|
+
class Rack::NullLogger
|
|
1370
|
+
# source://rack//lib/rack/null_logger.rb#7
|
|
1371
|
+
def initialize(app); end
|
|
1372
|
+
|
|
1373
|
+
# source://rack//lib/rack/null_logger.rb#45
|
|
1374
|
+
def <<(msg); end
|
|
1375
|
+
|
|
1376
|
+
# source://rack//lib/rack/null_logger.rb#43
|
|
1377
|
+
def add(severity, message = T.unsafe(nil), progname = T.unsafe(nil), &block); end
|
|
1378
|
+
|
|
1379
|
+
# source://rack//lib/rack/null_logger.rb#11
|
|
1380
|
+
def call(env); end
|
|
1381
|
+
|
|
1382
|
+
# source://rack//lib/rack/null_logger.rb#42
|
|
1383
|
+
def close; end
|
|
1384
|
+
|
|
1385
|
+
# source://rack//lib/rack/null_logger.rb#34
|
|
1386
|
+
def datetime_format; end
|
|
1387
|
+
|
|
1388
|
+
# source://rack//lib/rack/null_logger.rb#39
|
|
1389
|
+
def datetime_format=(datetime_format); end
|
|
1390
|
+
|
|
1391
|
+
# source://rack//lib/rack/null_logger.rb#17
|
|
1392
|
+
def debug(progname = T.unsafe(nil), &block); end
|
|
1393
|
+
|
|
1394
|
+
# source://rack//lib/rack/null_logger.rb#27
|
|
1395
|
+
def debug!; end
|
|
1396
|
+
|
|
1397
|
+
# source://rack//lib/rack/null_logger.rb#23
|
|
1398
|
+
def debug?; end
|
|
1399
|
+
|
|
1400
|
+
# source://rack//lib/rack/null_logger.rb#19
|
|
1401
|
+
def error(progname = T.unsafe(nil), &block); end
|
|
1402
|
+
|
|
1403
|
+
# source://rack//lib/rack/null_logger.rb#28
|
|
1404
|
+
def error!; end
|
|
1405
|
+
|
|
1406
|
+
# source://rack//lib/rack/null_logger.rb#25
|
|
1407
|
+
def error?; end
|
|
1408
|
+
|
|
1409
|
+
# source://rack//lib/rack/null_logger.rb#20
|
|
1410
|
+
def fatal(progname = T.unsafe(nil), &block); end
|
|
1411
|
+
|
|
1412
|
+
# source://rack//lib/rack/null_logger.rb#29
|
|
1413
|
+
def fatal!; end
|
|
1414
|
+
|
|
1415
|
+
# source://rack//lib/rack/null_logger.rb#26
|
|
1416
|
+
def fatal?; end
|
|
1417
|
+
|
|
1418
|
+
# source://rack//lib/rack/null_logger.rb#35
|
|
1419
|
+
def formatter; end
|
|
1420
|
+
|
|
1421
|
+
# source://rack//lib/rack/null_logger.rb#40
|
|
1422
|
+
def formatter=(formatter); end
|
|
1423
|
+
|
|
1424
|
+
# source://rack//lib/rack/null_logger.rb#16
|
|
1425
|
+
def info(progname = T.unsafe(nil), &block); end
|
|
1426
|
+
|
|
1427
|
+
# source://rack//lib/rack/null_logger.rb#30
|
|
1428
|
+
def info!; end
|
|
1429
|
+
|
|
1430
|
+
# source://rack//lib/rack/null_logger.rb#22
|
|
1431
|
+
def info?; end
|
|
1432
|
+
|
|
1433
|
+
# source://rack//lib/rack/null_logger.rb#32
|
|
1434
|
+
def level; end
|
|
1435
|
+
|
|
1436
|
+
# source://rack//lib/rack/null_logger.rb#37
|
|
1437
|
+
def level=(level); end
|
|
1438
|
+
|
|
1439
|
+
# source://rack//lib/rack/null_logger.rb#44
|
|
1440
|
+
def log(severity, message = T.unsafe(nil), progname = T.unsafe(nil), &block); end
|
|
1441
|
+
|
|
1442
|
+
# source://rack//lib/rack/null_logger.rb#33
|
|
1443
|
+
def progname; end
|
|
1444
|
+
|
|
1445
|
+
# source://rack//lib/rack/null_logger.rb#38
|
|
1446
|
+
def progname=(progname); end
|
|
1447
|
+
|
|
1448
|
+
# source://rack//lib/rack/null_logger.rb#46
|
|
1449
|
+
def reopen(logdev = T.unsafe(nil)); end
|
|
1450
|
+
|
|
1451
|
+
# source://rack//lib/rack/null_logger.rb#36
|
|
1452
|
+
def sev_threshold; end
|
|
1453
|
+
|
|
1454
|
+
# source://rack//lib/rack/null_logger.rb#41
|
|
1455
|
+
def sev_threshold=(sev_threshold); end
|
|
1456
|
+
|
|
1457
|
+
# source://rack//lib/rack/null_logger.rb#21
|
|
1458
|
+
def unknown(progname = T.unsafe(nil), &block); end
|
|
1459
|
+
|
|
1460
|
+
# source://rack//lib/rack/null_logger.rb#18
|
|
1461
|
+
def warn(progname = T.unsafe(nil), &block); end
|
|
1462
|
+
|
|
1463
|
+
# source://rack//lib/rack/null_logger.rb#31
|
|
1464
|
+
def warn!; end
|
|
1465
|
+
|
|
1466
|
+
# source://rack//lib/rack/null_logger.rb#24
|
|
1467
|
+
def warn?; end
|
|
1468
|
+
end
|
|
1469
|
+
|
|
1470
|
+
# source://rack//lib/rack/constants.rb#34
|
|
1471
|
+
Rack::OPTIONS = T.let(T.unsafe(nil), String)
|
|
1472
|
+
|
|
1473
|
+
# source://rack//lib/rack/constants.rb#31
|
|
1474
|
+
Rack::PATCH = T.let(T.unsafe(nil), String)
|
|
1475
|
+
|
|
1476
|
+
# source://rack//lib/rack/constants.rb#8
|
|
1477
|
+
Rack::PATH_INFO = T.let(T.unsafe(nil), String)
|
|
1478
|
+
|
|
1479
|
+
# source://rack//lib/rack/constants.rb#29
|
|
1480
|
+
Rack::POST = T.let(T.unsafe(nil), String)
|
|
1481
|
+
|
|
1482
|
+
# source://rack//lib/rack/constants.rb#30
|
|
1483
|
+
Rack::PUT = T.let(T.unsafe(nil), String)
|
|
1484
|
+
|
|
1485
|
+
# source://rack//lib/rack/constants.rb#12
|
|
1486
|
+
Rack::QUERY_STRING = T.let(T.unsafe(nil), String)
|
|
1487
|
+
|
|
1488
|
+
# source://rack//lib/rack/query_parser.rb#7
|
|
1489
|
+
class Rack::QueryParser
|
|
1490
|
+
# source://rack//lib/rack/query_parser.rb#62
|
|
1491
|
+
def initialize(params_class, param_depth_limit, bytesize_limit: T.unsafe(nil), params_limit: T.unsafe(nil)); end
|
|
1492
|
+
|
|
1493
|
+
# source://rack//lib/rack/query_parser.rb#60
|
|
1494
|
+
def bytesize_limit; end
|
|
1495
|
+
|
|
1496
|
+
# source://rack//lib/rack/query_parser.rb#194
|
|
1497
|
+
def make_params; end
|
|
1498
|
+
|
|
1499
|
+
# source://rack//lib/rack/query_parser.rb#198
|
|
1500
|
+
def new_depth_limit(param_depth_limit); end
|
|
1501
|
+
|
|
1502
|
+
# source://rack//lib/rack/query_parser.rb#122
|
|
1503
|
+
def normalize_params(params, name, v, _depth = T.unsafe(nil)); end
|
|
1504
|
+
|
|
1505
|
+
# source://rack//lib/rack/query_parser.rb#40
|
|
1506
|
+
def param_depth_limit; end
|
|
1507
|
+
|
|
1508
|
+
# source://rack//lib/rack/query_parser.rb#101
|
|
1509
|
+
def parse_nested_query(qs, separator = T.unsafe(nil)); end
|
|
1510
|
+
|
|
1511
|
+
# source://rack//lib/rack/query_parser.rb#73
|
|
1512
|
+
def parse_query(qs, separator = T.unsafe(nil), &unescaper); end
|
|
1513
|
+
|
|
1514
|
+
private
|
|
1515
|
+
|
|
1516
|
+
# source://rack//lib/rack/query_parser.rb#126
|
|
1517
|
+
def _normalize_params(params, name, v, depth); end
|
|
1518
|
+
|
|
1519
|
+
# source://rack//lib/rack/query_parser.rb#220
|
|
1520
|
+
def check_query_string(qs, sep); end
|
|
1521
|
+
|
|
1522
|
+
# source://rack//lib/rack/query_parser.rb#208
|
|
1523
|
+
def params_hash_has_key?(hash, key); end
|
|
1524
|
+
|
|
1525
|
+
# source://rack//lib/rack/query_parser.rb#204
|
|
1526
|
+
def params_hash_type?(obj); end
|
|
1527
|
+
|
|
1528
|
+
# source://rack//lib/rack/query_parser.rb#236
|
|
1529
|
+
def unescape(string, encoding = T.unsafe(nil)); end
|
|
1530
|
+
|
|
1531
|
+
class << self
|
|
1532
|
+
# source://rack//lib/rack/query_parser.rb#36
|
|
1533
|
+
def make_default(param_depth_limit, **options); end
|
|
1534
|
+
end
|
|
1535
|
+
end
|
|
1536
|
+
|
|
1537
|
+
# source://rack//lib/rack/query_parser.rb#54
|
|
1538
|
+
Rack::QueryParser::BYTESIZE_LIMIT = T.let(T.unsafe(nil), Integer)
|
|
1539
|
+
|
|
1540
|
+
# source://rack//lib/rack/query_parser.rb#9
|
|
1541
|
+
Rack::QueryParser::COMMON_SEP = T.let(T.unsafe(nil), Hash)
|
|
1542
|
+
|
|
1543
|
+
# source://rack//lib/rack/query_parser.rb#8
|
|
1544
|
+
Rack::QueryParser::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp)
|
|
1545
|
+
|
|
1546
|
+
# source://rack//lib/rack/query_parser.rb#20
|
|
1547
|
+
class Rack::QueryParser::InvalidParameterError < ::ArgumentError
|
|
1548
|
+
include ::Rack::BadRequest
|
|
1549
|
+
end
|
|
1550
|
+
|
|
1551
|
+
# source://rack//lib/rack/query_parser.rb#57
|
|
1552
|
+
Rack::QueryParser::PARAMS_LIMIT = T.let(T.unsafe(nil), Integer)
|
|
1553
|
+
|
|
1554
|
+
# source://rack//lib/rack/query_parser.rb#13
|
|
1555
|
+
class Rack::QueryParser::ParameterTypeError < ::TypeError
|
|
1556
|
+
include ::Rack::BadRequest
|
|
1557
|
+
end
|
|
1558
|
+
|
|
1559
|
+
# source://rack//lib/rack/query_parser.rb#240
|
|
1560
|
+
class Rack::QueryParser::Params < ::Hash
|
|
1561
|
+
def to_params_hash; end
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
# source://rack//lib/rack/query_parser.rb#34
|
|
1565
|
+
Rack::QueryParser::ParamsTooDeepError = Rack::QueryParser::QueryLimitError
|
|
1566
|
+
|
|
1567
|
+
# source://rack//lib/rack/query_parser.rb#26
|
|
1568
|
+
class Rack::QueryParser::QueryLimitError < ::RangeError
|
|
1569
|
+
include ::Rack::BadRequest
|
|
1570
|
+
end
|
|
1571
|
+
|
|
1572
|
+
# source://rack//lib/rack/constants.rb#43
|
|
1573
|
+
Rack::RACK_EARLY_HINTS = T.let(T.unsafe(nil), String)
|
|
1574
|
+
|
|
1575
|
+
# source://rack//lib/rack/constants.rb#44
|
|
1576
|
+
Rack::RACK_ERRORS = T.let(T.unsafe(nil), String)
|
|
1577
|
+
|
|
1578
|
+
# source://rack//lib/rack/constants.rb#51
|
|
1579
|
+
Rack::RACK_HIJACK = T.let(T.unsafe(nil), String)
|
|
1580
|
+
|
|
1581
|
+
# source://rack//lib/rack/constants.rb#46
|
|
1582
|
+
Rack::RACK_INPUT = T.let(T.unsafe(nil), String)
|
|
1583
|
+
|
|
1584
|
+
# source://rack//lib/rack/constants.rb#52
|
|
1585
|
+
Rack::RACK_IS_HIJACK = T.let(T.unsafe(nil), String)
|
|
1586
|
+
|
|
1587
|
+
# source://rack//lib/rack/constants.rb#45
|
|
1588
|
+
Rack::RACK_LOGGER = T.let(T.unsafe(nil), String)
|
|
1589
|
+
|
|
1590
|
+
# source://rack//lib/rack/constants.rb#66
|
|
1591
|
+
Rack::RACK_METHODOVERRIDE_ORIGINAL_METHOD = T.let(T.unsafe(nil), String)
|
|
1592
|
+
|
|
1593
|
+
# source://rack//lib/rack/constants.rb#54
|
|
1594
|
+
Rack::RACK_MULTIPART_BUFFER_SIZE = T.let(T.unsafe(nil), String)
|
|
1595
|
+
|
|
1596
|
+
# source://rack//lib/rack/constants.rb#55
|
|
1597
|
+
Rack::RACK_MULTIPART_TEMPFILE_FACTORY = T.let(T.unsafe(nil), String)
|
|
1598
|
+
|
|
1599
|
+
# source://rack//lib/rack/constants.rb#53
|
|
1600
|
+
Rack::RACK_RECURSIVE_INCLUDE = T.let(T.unsafe(nil), String)
|
|
1601
|
+
|
|
1602
|
+
# source://rack//lib/rack/constants.rb#62
|
|
1603
|
+
Rack::RACK_REQUEST_COOKIE_HASH = T.let(T.unsafe(nil), String)
|
|
1604
|
+
|
|
1605
|
+
# source://rack//lib/rack/constants.rb#63
|
|
1606
|
+
Rack::RACK_REQUEST_COOKIE_STRING = T.let(T.unsafe(nil), String)
|
|
1607
|
+
|
|
1608
|
+
# source://rack//lib/rack/constants.rb#61
|
|
1609
|
+
Rack::RACK_REQUEST_FORM_ERROR = T.let(T.unsafe(nil), String)
|
|
1610
|
+
|
|
1611
|
+
# source://rack//lib/rack/constants.rb#58
|
|
1612
|
+
Rack::RACK_REQUEST_FORM_HASH = T.let(T.unsafe(nil), String)
|
|
1613
|
+
|
|
1614
|
+
# source://rack//lib/rack/constants.rb#57
|
|
1615
|
+
Rack::RACK_REQUEST_FORM_INPUT = T.let(T.unsafe(nil), String)
|
|
1616
|
+
|
|
1617
|
+
# source://rack//lib/rack/constants.rb#59
|
|
1618
|
+
Rack::RACK_REQUEST_FORM_PAIRS = T.let(T.unsafe(nil), String)
|
|
1619
|
+
|
|
1620
|
+
# source://rack//lib/rack/constants.rb#60
|
|
1621
|
+
Rack::RACK_REQUEST_FORM_VARS = T.let(T.unsafe(nil), String)
|
|
1622
|
+
|
|
1623
|
+
# source://rack//lib/rack/constants.rb#64
|
|
1624
|
+
Rack::RACK_REQUEST_QUERY_HASH = T.let(T.unsafe(nil), String)
|
|
1625
|
+
|
|
1626
|
+
# source://rack//lib/rack/constants.rb#65
|
|
1627
|
+
Rack::RACK_REQUEST_QUERY_STRING = T.let(T.unsafe(nil), String)
|
|
1628
|
+
|
|
1629
|
+
# source://rack//lib/rack/constants.rb#56
|
|
1630
|
+
Rack::RACK_RESPONSE_FINISHED = T.let(T.unsafe(nil), String)
|
|
1631
|
+
|
|
1632
|
+
# source://rack//lib/rack/constants.rb#47
|
|
1633
|
+
Rack::RACK_SESSION = T.let(T.unsafe(nil), String)
|
|
1634
|
+
|
|
1635
|
+
# source://rack//lib/rack/constants.rb#48
|
|
1636
|
+
Rack::RACK_SESSION_OPTIONS = T.let(T.unsafe(nil), String)
|
|
1637
|
+
|
|
1638
|
+
# source://rack//lib/rack/constants.rb#49
|
|
1639
|
+
Rack::RACK_SHOWSTATUS_DETAIL = T.let(T.unsafe(nil), String)
|
|
1640
|
+
|
|
1641
|
+
# source://rack//lib/rack/constants.rb#42
|
|
1642
|
+
Rack::RACK_TEMPFILES = T.let(T.unsafe(nil), String)
|
|
1643
|
+
|
|
1644
|
+
# source://rack//lib/rack/constants.rb#50
|
|
1645
|
+
Rack::RACK_URL_SCHEME = T.let(T.unsafe(nil), String)
|
|
1646
|
+
|
|
1647
|
+
# source://rack//lib/rack/constants.rb#41
|
|
1648
|
+
Rack::RACK_VERSION = T.let(T.unsafe(nil), String)
|
|
1649
|
+
|
|
1650
|
+
# source://rack//lib/rack/version.rb#15
|
|
1651
|
+
Rack::RELEASE = T.let(T.unsafe(nil), String)
|
|
1652
|
+
|
|
1653
|
+
# source://rack//lib/rack/constants.rb#9
|
|
1654
|
+
Rack::REQUEST_METHOD = T.let(T.unsafe(nil), String)
|
|
1655
|
+
|
|
1656
|
+
# source://rack//lib/rack/constants.rb#10
|
|
1657
|
+
Rack::REQUEST_PATH = T.let(T.unsafe(nil), String)
|
|
1658
|
+
|
|
1659
|
+
# source://rack//lib/rack/recursive.rb#36
|
|
1660
|
+
class Rack::Recursive
|
|
1661
|
+
# source://rack//lib/rack/recursive.rb#37
|
|
1662
|
+
def initialize(app); end
|
|
1663
|
+
|
|
1664
|
+
# source://rack//lib/rack/recursive.rb#45
|
|
1665
|
+
def _call(env); end
|
|
1666
|
+
|
|
1667
|
+
# source://rack//lib/rack/recursive.rb#41
|
|
1668
|
+
def call(env); end
|
|
1669
|
+
|
|
1670
|
+
# source://rack//lib/rack/recursive.rb#52
|
|
1671
|
+
def include(env, path); end
|
|
1672
|
+
end
|
|
1673
|
+
|
|
1674
|
+
# source://rack//lib/rack/reloader.rb#24
|
|
1675
|
+
class Rack::Reloader
|
|
1676
|
+
# source://rack//lib/rack/reloader.rb#25
|
|
1677
|
+
def initialize(app, cooldown = T.unsafe(nil), backend = T.unsafe(nil)); end
|
|
1678
|
+
|
|
1679
|
+
# source://rack//lib/rack/reloader.rb#36
|
|
1680
|
+
def call(env); end
|
|
1681
|
+
|
|
1682
|
+
# source://rack//lib/rack/reloader.rb#50
|
|
1683
|
+
def reload!(stderr = T.unsafe(nil)); end
|
|
1684
|
+
|
|
1685
|
+
# source://rack//lib/rack/reloader.rb#58
|
|
1686
|
+
def safe_load(file, mtime, stderr = T.unsafe(nil)); end
|
|
1687
|
+
end
|
|
1688
|
+
|
|
1689
|
+
# source://rack//lib/rack/reloader.rb#68
|
|
1690
|
+
module Rack::Reloader::Stat
|
|
1691
|
+
# source://rack//lib/rack/reloader.rb#88
|
|
1692
|
+
def figure_path(file, paths); end
|
|
1693
|
+
|
|
1694
|
+
# source://rack//lib/rack/reloader.rb#69
|
|
1695
|
+
def rotation; end
|
|
1696
|
+
|
|
1697
|
+
# source://rack//lib/rack/reloader.rb#103
|
|
1698
|
+
def safe_stat(file); end
|
|
1699
|
+
end
|
|
1700
|
+
|
|
1701
|
+
# source://rack//lib/rack/request.rb#16
|
|
1702
|
+
class Rack::Request
|
|
1703
|
+
include ::Rack::Request::Env
|
|
1704
|
+
include ::Rack::Request::Helpers
|
|
1705
|
+
|
|
1706
|
+
# source://rack//lib/rack/request.rb#62
|
|
1707
|
+
def initialize(env); end
|
|
1708
|
+
|
|
1709
|
+
# source://rack//lib/rack/request.rb#76
|
|
1710
|
+
def delete_param(k); end
|
|
1711
|
+
|
|
1712
|
+
# source://rack//lib/rack/request.rb#67
|
|
1713
|
+
def params; end
|
|
1714
|
+
|
|
1715
|
+
# source://rack//lib/rack/request.rb#67
|
|
1716
|
+
def query; end
|
|
1717
|
+
|
|
1718
|
+
# source://rack//lib/rack/request.rb#71
|
|
1719
|
+
def update_param(k, v); end
|
|
1720
|
+
|
|
1721
|
+
# source://yard/0.9.37/lib/yard/server/rack_adapter.rb#94
|
|
1722
|
+
def version_supplied; end
|
|
1723
|
+
|
|
1724
|
+
# source://yard/0.9.37/lib/yard/server/rack_adapter.rb#94
|
|
1725
|
+
def version_supplied=(_arg0); end
|
|
1726
|
+
|
|
1727
|
+
# source://yard/0.9.37/lib/yard/server/rack_adapter.rb#96
|
|
1728
|
+
def xhr?; end
|
|
1729
|
+
|
|
1730
|
+
class << self
|
|
1731
|
+
# source://rack//lib/rack/request.rb#31
|
|
1732
|
+
def forwarded_priority; end
|
|
1733
|
+
|
|
1734
|
+
# source://rack//lib/rack/request.rb#31
|
|
1735
|
+
def forwarded_priority=(_arg0); end
|
|
1736
|
+
|
|
1737
|
+
# source://rack//lib/rack/request.rb#18
|
|
1738
|
+
def ip_filter; end
|
|
1739
|
+
|
|
1740
|
+
# source://rack//lib/rack/request.rb#18
|
|
1741
|
+
def ip_filter=(_arg0); end
|
|
1742
|
+
|
|
1743
|
+
# source://rack//lib/rack/request.rb#40
|
|
1744
|
+
def x_forwarded_proto_priority; end
|
|
1745
|
+
|
|
1746
|
+
# source://rack//lib/rack/request.rb#40
|
|
1747
|
+
def x_forwarded_proto_priority=(_arg0); end
|
|
1748
|
+
end
|
|
1749
|
+
end
|
|
1750
|
+
|
|
1751
|
+
# source://rack//lib/rack/request.rb#60
|
|
1752
|
+
Rack::Request::ALLOWED_SCHEMES = T.let(T.unsafe(nil), Array)
|
|
1753
|
+
|
|
1754
|
+
# source://rack//lib/rack/request.rb#82
|
|
1755
|
+
module Rack::Request::Env
|
|
1756
|
+
# source://rack//lib/rack/request.rb#86
|
|
1757
|
+
def initialize(env); end
|
|
1758
|
+
|
|
1759
|
+
# source://rack//lib/rack/request.rb#129
|
|
1760
|
+
def add_header(key, v); end
|
|
1761
|
+
|
|
1762
|
+
# source://rack//lib/rack/request.rb#140
|
|
1763
|
+
def delete_header(name); end
|
|
1764
|
+
|
|
1765
|
+
# source://rack//lib/rack/request.rb#111
|
|
1766
|
+
def each_header(&block); end
|
|
1767
|
+
|
|
1768
|
+
# source://rack//lib/rack/request.rb#84
|
|
1769
|
+
def env; end
|
|
1770
|
+
|
|
1771
|
+
# source://rack//lib/rack/request.rb#106
|
|
1772
|
+
def fetch_header(name, &block); end
|
|
1773
|
+
|
|
1774
|
+
# source://rack//lib/rack/request.rb#100
|
|
1775
|
+
def get_header(name); end
|
|
1776
|
+
|
|
1777
|
+
# source://rack//lib/rack/request.rb#95
|
|
1778
|
+
def has_header?(name); end
|
|
1779
|
+
|
|
1780
|
+
# source://rack//lib/rack/request.rb#116
|
|
1781
|
+
def set_header(name, v); end
|
|
1782
|
+
|
|
1783
|
+
private
|
|
1784
|
+
|
|
1785
|
+
# source://rack//lib/rack/request.rb#144
|
|
1786
|
+
def initialize_copy(other); end
|
|
1787
|
+
end
|
|
1788
|
+
|
|
1789
|
+
# source://rack//lib/rack/request.rb#149
|
|
1790
|
+
module Rack::Request::Helpers
|
|
1791
|
+
# source://rack//lib/rack/request.rb#484
|
|
1792
|
+
def GET; end
|
|
1793
|
+
|
|
1794
|
+
# source://rack//lib/rack/request.rb#503
|
|
1795
|
+
def POST; end
|
|
1796
|
+
|
|
1797
|
+
# source://rack//lib/rack/request.rb#610
|
|
1798
|
+
def accept_encoding; end
|
|
1799
|
+
|
|
1800
|
+
# source://rack//lib/rack/request.rb#614
|
|
1801
|
+
def accept_language; end
|
|
1802
|
+
|
|
1803
|
+
# source://rack//lib/rack/request.rb#266
|
|
1804
|
+
def authority; end
|
|
1805
|
+
|
|
1806
|
+
# source://rack//lib/rack/request.rb#593
|
|
1807
|
+
def base_url; end
|
|
1808
|
+
|
|
1809
|
+
# source://rack//lib/rack/request.rb#190
|
|
1810
|
+
def body; end
|
|
1811
|
+
|
|
1812
|
+
# source://rack//lib/rack/request.rb#458
|
|
1813
|
+
def content_charset; end
|
|
1814
|
+
|
|
1815
|
+
# source://rack//lib/rack/request.rb#199
|
|
1816
|
+
def content_length; end
|
|
1817
|
+
|
|
1818
|
+
# source://rack//lib/rack/request.rb#308
|
|
1819
|
+
def content_type; end
|
|
1820
|
+
|
|
1821
|
+
# source://rack//lib/rack/request.rb#293
|
|
1822
|
+
def cookies; end
|
|
1823
|
+
|
|
1824
|
+
# source://rack//lib/rack/request.rb#220
|
|
1825
|
+
def delete?; end
|
|
1826
|
+
|
|
1827
|
+
# source://rack//lib/rack/request.rb#588
|
|
1828
|
+
def delete_param(k); end
|
|
1829
|
+
|
|
1830
|
+
# source://rack//lib/rack/request.rb#470
|
|
1831
|
+
def form_data?; end
|
|
1832
|
+
|
|
1833
|
+
# source://rack//lib/rack/request.rb#393
|
|
1834
|
+
def forwarded_authority; end
|
|
1835
|
+
|
|
1836
|
+
# source://rack//lib/rack/request.rb#353
|
|
1837
|
+
def forwarded_for; end
|
|
1838
|
+
|
|
1839
|
+
# source://rack//lib/rack/request.rb#374
|
|
1840
|
+
def forwarded_port; end
|
|
1841
|
+
|
|
1842
|
+
# source://rack//lib/rack/request.rb#606
|
|
1843
|
+
def fullpath; end
|
|
1844
|
+
|
|
1845
|
+
# source://rack//lib/rack/request.rb#223
|
|
1846
|
+
def get?; end
|
|
1847
|
+
|
|
1848
|
+
# source://rack//lib/rack/request.rb#226
|
|
1849
|
+
def head?; end
|
|
1850
|
+
|
|
1851
|
+
# source://rack//lib/rack/request.rb#333
|
|
1852
|
+
def host; end
|
|
1853
|
+
|
|
1854
|
+
# source://rack//lib/rack/request.rb#318
|
|
1855
|
+
def host_authority; end
|
|
1856
|
+
|
|
1857
|
+
# source://rack//lib/rack/request.rb#322
|
|
1858
|
+
def host_with_port(authority = T.unsafe(nil)); end
|
|
1859
|
+
|
|
1860
|
+
# source://rack//lib/rack/request.rb#341
|
|
1861
|
+
def hostname; end
|
|
1862
|
+
|
|
1863
|
+
# source://rack//lib/rack/request.rb#414
|
|
1864
|
+
def ip; end
|
|
1865
|
+
|
|
1866
|
+
# source://rack//lib/rack/request.rb#232
|
|
1867
|
+
def link?; end
|
|
1868
|
+
|
|
1869
|
+
# source://rack//lib/rack/request.rb#200
|
|
1870
|
+
def logger; end
|
|
1871
|
+
|
|
1872
|
+
# source://rack//lib/rack/request.rb#441
|
|
1873
|
+
def media_type; end
|
|
1874
|
+
|
|
1875
|
+
# source://rack//lib/rack/request.rb#450
|
|
1876
|
+
def media_type_params; end
|
|
1877
|
+
|
|
1878
|
+
# source://rack//lib/rack/request.rb#229
|
|
1879
|
+
def options?; end
|
|
1880
|
+
|
|
1881
|
+
# source://rack//lib/rack/request.rb#559
|
|
1882
|
+
def params; end
|
|
1883
|
+
|
|
1884
|
+
# source://rack//lib/rack/request.rb#479
|
|
1885
|
+
def parseable_data?; end
|
|
1886
|
+
|
|
1887
|
+
# source://rack//lib/rack/request.rb#235
|
|
1888
|
+
def patch?; end
|
|
1889
|
+
|
|
1890
|
+
# source://rack//lib/rack/request.rb#602
|
|
1891
|
+
def path; end
|
|
1892
|
+
|
|
1893
|
+
# source://rack//lib/rack/request.rb#194
|
|
1894
|
+
def path_info; end
|
|
1895
|
+
|
|
1896
|
+
# source://rack//lib/rack/request.rb#195
|
|
1897
|
+
def path_info=(s); end
|
|
1898
|
+
|
|
1899
|
+
# source://rack//lib/rack/request.rb#345
|
|
1900
|
+
def port; end
|
|
1901
|
+
|
|
1902
|
+
# source://rack//lib/rack/request.rb#238
|
|
1903
|
+
def post?; end
|
|
1904
|
+
|
|
1905
|
+
# source://rack//lib/rack/request.rb#241
|
|
1906
|
+
def put?; end
|
|
1907
|
+
|
|
1908
|
+
# source://rack//lib/rack/request.rb#198
|
|
1909
|
+
def query_string; end
|
|
1910
|
+
|
|
1911
|
+
# source://rack//lib/rack/request.rb#204
|
|
1912
|
+
def referer; end
|
|
1913
|
+
|
|
1914
|
+
# source://rack//lib/rack/request.rb#204
|
|
1915
|
+
def referrer; end
|
|
1916
|
+
|
|
1917
|
+
# source://rack//lib/rack/request.rb#197
|
|
1918
|
+
def request_method; end
|
|
1919
|
+
|
|
1920
|
+
# source://rack//lib/rack/request.rb#249
|
|
1921
|
+
def scheme; end
|
|
1922
|
+
|
|
1923
|
+
# source://rack//lib/rack/request.rb#191
|
|
1924
|
+
def script_name; end
|
|
1925
|
+
|
|
1926
|
+
# source://rack//lib/rack/request.rb#192
|
|
1927
|
+
def script_name=(s); end
|
|
1928
|
+
|
|
1929
|
+
# source://rack//lib/rack/request.rb#272
|
|
1930
|
+
def server_authority; end
|
|
1931
|
+
|
|
1932
|
+
# source://rack//lib/rack/request.rb#285
|
|
1933
|
+
def server_name; end
|
|
1934
|
+
|
|
1935
|
+
# source://rack//lib/rack/request.rb#289
|
|
1936
|
+
def server_port; end
|
|
1937
|
+
|
|
1938
|
+
# source://rack//lib/rack/request.rb#207
|
|
1939
|
+
def session; end
|
|
1940
|
+
|
|
1941
|
+
# source://rack//lib/rack/request.rb#213
|
|
1942
|
+
def session_options; end
|
|
1943
|
+
|
|
1944
|
+
# source://rack//lib/rack/request.rb#410
|
|
1945
|
+
def ssl?; end
|
|
1946
|
+
|
|
1947
|
+
# source://rack//lib/rack/request.rb#244
|
|
1948
|
+
def trace?; end
|
|
1949
|
+
|
|
1950
|
+
# source://rack//lib/rack/request.rb#618
|
|
1951
|
+
def trusted_proxy?(ip); end
|
|
1952
|
+
|
|
1953
|
+
# source://rack//lib/rack/request.rb#247
|
|
1954
|
+
def unlink?; end
|
|
1955
|
+
|
|
1956
|
+
# source://rack//lib/rack/request.rb#568
|
|
1957
|
+
def update_param(k, v); end
|
|
1958
|
+
|
|
1959
|
+
# source://rack//lib/rack/request.rb#598
|
|
1960
|
+
def url; end
|
|
1961
|
+
|
|
1962
|
+
# source://rack//lib/rack/request.rb#201
|
|
1963
|
+
def user_agent; end
|
|
1964
|
+
|
|
1965
|
+
# source://rack//lib/rack/request.rb#623
|
|
1966
|
+
def values_at(*keys); end
|
|
1967
|
+
|
|
1968
|
+
# source://rack//lib/rack/request.rb#313
|
|
1969
|
+
def xhr?; end
|
|
1970
|
+
|
|
1971
|
+
private
|
|
1972
|
+
|
|
1973
|
+
# source://rack//lib/rack/request.rb#779
|
|
1974
|
+
def allowed_scheme(header); end
|
|
1975
|
+
|
|
1976
|
+
# source://rack//lib/rack/request.rb#631
|
|
1977
|
+
def default_session; end
|
|
1978
|
+
|
|
1979
|
+
# source://rack//lib/rack/request.rb#687
|
|
1980
|
+
def expand_param_pairs(pairs, query_parser = T.unsafe(nil)); end
|
|
1981
|
+
|
|
1982
|
+
# source://rack//lib/rack/request.rb#783
|
|
1983
|
+
def forwarded_priority; end
|
|
1984
|
+
|
|
1985
|
+
# source://rack//lib/rack/request.rb#755
|
|
1986
|
+
def forwarded_scheme; end
|
|
1987
|
+
|
|
1988
|
+
# source://rack//lib/rack/request.rb#671
|
|
1989
|
+
def get_http_forwarded(token); end
|
|
1990
|
+
|
|
1991
|
+
# source://rack//lib/rack/request.rb#647
|
|
1992
|
+
def parse_http_accept_header(header); end
|
|
1993
|
+
|
|
1994
|
+
# source://rack//lib/rack/request.rb#683
|
|
1995
|
+
def parse_multipart; end
|
|
1996
|
+
|
|
1997
|
+
# source://rack//lib/rack/request.rb#679
|
|
1998
|
+
def parse_query(qs, d = T.unsafe(nil)); end
|
|
1999
|
+
|
|
2000
|
+
# source://rack//lib/rack/request.rb#675
|
|
2001
|
+
def query_parser; end
|
|
2002
|
+
|
|
2003
|
+
# source://rack//lib/rack/request.rb#746
|
|
2004
|
+
def reject_trusted_ip_addresses(ip_addresses); end
|
|
2005
|
+
|
|
2006
|
+
# source://rack//lib/rack/request.rb#740
|
|
2007
|
+
def split_authority(authority); end
|
|
2008
|
+
|
|
2009
|
+
# source://rack//lib/rack/request.rb#697
|
|
2010
|
+
def split_header(value); end
|
|
2011
|
+
|
|
2012
|
+
# source://rack//lib/rack/request.rb#634
|
|
2013
|
+
def wrap_ipv6(host); end
|
|
2014
|
+
|
|
2015
|
+
# source://rack//lib/rack/request.rb#787
|
|
2016
|
+
def x_forwarded_proto_priority; end
|
|
2017
|
+
end
|
|
2018
|
+
|
|
2019
|
+
# source://rack//lib/rack/request.rb#725
|
|
2020
|
+
Rack::Request::Helpers::AUTHORITY = T.let(T.unsafe(nil), Regexp)
|
|
2021
|
+
|
|
2022
|
+
# source://rack//lib/rack/request.rb#168
|
|
2023
|
+
Rack::Request::Helpers::DEFAULT_PORTS = T.let(T.unsafe(nil), Hash)
|
|
2024
|
+
|
|
2025
|
+
# source://rack//lib/rack/request.rb#153
|
|
2026
|
+
Rack::Request::Helpers::FORM_DATA_MEDIA_TYPES = T.let(T.unsafe(nil), Array)
|
|
2027
|
+
|
|
2028
|
+
# source://rack//lib/rack/request.rb#750
|
|
2029
|
+
Rack::Request::Helpers::FORWARDED_SCHEME_HEADERS = T.let(T.unsafe(nil), Hash)
|
|
2030
|
+
|
|
2031
|
+
# source://rack//lib/rack/request.rb#176
|
|
2032
|
+
Rack::Request::Helpers::HTTP_FORWARDED = T.let(T.unsafe(nil), String)
|
|
2033
|
+
|
|
2034
|
+
# source://rack//lib/rack/request.rb#171
|
|
2035
|
+
Rack::Request::Helpers::HTTP_X_FORWARDED_FOR = T.let(T.unsafe(nil), String)
|
|
2036
|
+
|
|
2037
|
+
# source://rack//lib/rack/request.rb#174
|
|
2038
|
+
Rack::Request::Helpers::HTTP_X_FORWARDED_HOST = T.let(T.unsafe(nil), String)
|
|
2039
|
+
|
|
2040
|
+
# source://rack//lib/rack/request.rb#185
|
|
2041
|
+
Rack::Request::Helpers::HTTP_X_FORWARDED_PORT = T.let(T.unsafe(nil), String)
|
|
2042
|
+
|
|
2043
|
+
# source://rack//lib/rack/request.rb#182
|
|
2044
|
+
Rack::Request::Helpers::HTTP_X_FORWARDED_PROTO = T.let(T.unsafe(nil), String)
|
|
2045
|
+
|
|
2046
|
+
# source://rack//lib/rack/request.rb#179
|
|
2047
|
+
Rack::Request::Helpers::HTTP_X_FORWARDED_SCHEME = T.let(T.unsafe(nil), String)
|
|
2048
|
+
|
|
2049
|
+
# source://rack//lib/rack/request.rb#188
|
|
2050
|
+
Rack::Request::Helpers::HTTP_X_FORWARDED_SSL = T.let(T.unsafe(nil), String)
|
|
2051
|
+
|
|
2052
|
+
# source://rack//lib/rack/request.rb#161
|
|
2053
|
+
Rack::Request::Helpers::PARSEABLE_DATA_MEDIA_TYPES = T.let(T.unsafe(nil), Array)
|
|
2054
|
+
|
|
2055
|
+
# source://rack//lib/rack/response.rb#23
|
|
2056
|
+
class Rack::Response
|
|
2057
|
+
include ::Rack::Response::Helpers
|
|
2058
|
+
|
|
2059
|
+
# source://rack//lib/rack/response.rb#54
|
|
2060
|
+
def initialize(body = T.unsafe(nil), status = T.unsafe(nil), headers = T.unsafe(nil)); end
|
|
2061
|
+
|
|
2062
|
+
# source://rack//lib/rack/response.rb#164
|
|
2063
|
+
def [](key); end
|
|
2064
|
+
|
|
2065
|
+
# source://rack//lib/rack/response.rb#168
|
|
2066
|
+
def []=(key, value); end
|
|
2067
|
+
|
|
2068
|
+
# source://rack//lib/rack/response.rb#31
|
|
2069
|
+
def body; end
|
|
2070
|
+
|
|
2071
|
+
# source://rack//lib/rack/response.rb#31
|
|
2072
|
+
def body=(_arg0); end
|
|
2073
|
+
|
|
2074
|
+
# source://rack//lib/rack/response.rb#95
|
|
2075
|
+
def chunked?; end
|
|
2076
|
+
|
|
2077
|
+
# source://rack//lib/rack/response.rb#152
|
|
2078
|
+
def close; end
|
|
2079
|
+
|
|
2080
|
+
# source://rack//lib/rack/response.rb#172
|
|
2081
|
+
def delete_header(key); end
|
|
2082
|
+
|
|
2083
|
+
# source://rack//lib/rack/response.rb#130
|
|
2084
|
+
def each(&callback); end
|
|
2085
|
+
|
|
2086
|
+
# source://rack//lib/rack/response.rb#156
|
|
2087
|
+
def empty?; end
|
|
2088
|
+
|
|
2089
|
+
# source://rack//lib/rack/response.rb#107
|
|
2090
|
+
def finish(&block); end
|
|
2091
|
+
|
|
2092
|
+
# source://rack//lib/rack/response.rb#164
|
|
2093
|
+
def get_header(key); end
|
|
2094
|
+
|
|
2095
|
+
# source://rack//lib/rack/response.rb#160
|
|
2096
|
+
def has_header?(key); end
|
|
2097
|
+
|
|
2098
|
+
# source://rack//lib/rack/response.rb#32
|
|
2099
|
+
def headers; end
|
|
2100
|
+
|
|
2101
|
+
# source://rack//lib/rack/response.rb#31
|
|
2102
|
+
def length; end
|
|
2103
|
+
|
|
2104
|
+
# source://rack//lib/rack/response.rb#31
|
|
2105
|
+
def length=(_arg0); end
|
|
2106
|
+
|
|
2107
|
+
# source://rack//lib/rack/response.rb#99
|
|
2108
|
+
def no_entity_body?; end
|
|
2109
|
+
|
|
2110
|
+
# source://rack//lib/rack/response.rb#90
|
|
2111
|
+
def redirect(target, status = T.unsafe(nil)); end
|
|
2112
|
+
|
|
2113
|
+
# source://rack//lib/rack/response.rb#168
|
|
2114
|
+
def set_header(key, value); end
|
|
2115
|
+
|
|
2116
|
+
# source://rack//lib/rack/response.rb#31
|
|
2117
|
+
def status; end
|
|
2118
|
+
|
|
2119
|
+
# source://rack//lib/rack/response.rb#31
|
|
2120
|
+
def status=(_arg0); end
|
|
2121
|
+
|
|
2122
|
+
# source://rack//lib/rack/response.rb#107
|
|
2123
|
+
def to_a(&block); end
|
|
2124
|
+
|
|
2125
|
+
# source://rack//lib/rack/response.rb#146
|
|
2126
|
+
def write(chunk); end
|
|
2127
|
+
|
|
2128
|
+
class << self
|
|
2129
|
+
# source://rack//lib/rack/response.rb#24
|
|
2130
|
+
def [](status, headers, body); end
|
|
2131
|
+
end
|
|
2132
|
+
end
|
|
2133
|
+
|
|
2134
|
+
# source://rack//lib/rack/response.rb#28
|
|
2135
|
+
Rack::Response::CHUNKED = T.let(T.unsafe(nil), String)
|
|
2136
|
+
|
|
2137
|
+
# source://rack//lib/rack/response.rb#180
|
|
2138
|
+
module Rack::Response::Helpers
|
|
2139
|
+
# source://rack//lib/rack/response.rb#191
|
|
2140
|
+
def accepted?; end
|
|
2141
|
+
|
|
2142
|
+
# source://rack//lib/rack/response.rb#219
|
|
2143
|
+
def add_header(key, value); end
|
|
2144
|
+
|
|
2145
|
+
# source://rack//lib/rack/response.rb#194
|
|
2146
|
+
def bad_request?; end
|
|
2147
|
+
|
|
2148
|
+
# source://rack//lib/rack/response.rb#307
|
|
2149
|
+
def cache!(duration = T.unsafe(nil), directive: T.unsafe(nil)); end
|
|
2150
|
+
|
|
2151
|
+
# source://rack//lib/rack/response.rb#290
|
|
2152
|
+
def cache_control; end
|
|
2153
|
+
|
|
2154
|
+
# source://rack//lib/rack/response.rb#294
|
|
2155
|
+
def cache_control=(value); end
|
|
2156
|
+
|
|
2157
|
+
# source://rack//lib/rack/response.rb#186
|
|
2158
|
+
def client_error?; end
|
|
2159
|
+
|
|
2160
|
+
# source://rack//lib/rack/response.rb#257
|
|
2161
|
+
def content_length; end
|
|
2162
|
+
|
|
2163
|
+
# source://rack//lib/rack/response.rb#240
|
|
2164
|
+
def content_type; end
|
|
2165
|
+
|
|
2166
|
+
# source://rack//lib/rack/response.rb#245
|
|
2167
|
+
def content_type=(content_type); end
|
|
2168
|
+
|
|
2169
|
+
# source://rack//lib/rack/response.rb#190
|
|
2170
|
+
def created?; end
|
|
2171
|
+
|
|
2172
|
+
# source://rack//lib/rack/response.rb#274
|
|
2173
|
+
def delete_cookie(key, value = T.unsafe(nil)); end
|
|
2174
|
+
|
|
2175
|
+
# source://rack//lib/rack/response.rb#299
|
|
2176
|
+
def do_not_cache!; end
|
|
2177
|
+
|
|
2178
|
+
# source://rack//lib/rack/response.rb#314
|
|
2179
|
+
def etag; end
|
|
2180
|
+
|
|
2181
|
+
# source://rack//lib/rack/response.rb#318
|
|
2182
|
+
def etag=(value); end
|
|
2183
|
+
|
|
2184
|
+
# source://rack//lib/rack/response.rb#196
|
|
2185
|
+
def forbidden?; end
|
|
2186
|
+
|
|
2187
|
+
# source://rack//lib/rack/response.rb#206
|
|
2188
|
+
def include?(header); end
|
|
2189
|
+
|
|
2190
|
+
# source://rack//lib/rack/response.rb#183
|
|
2191
|
+
def informational?; end
|
|
2192
|
+
|
|
2193
|
+
# source://rack//lib/rack/response.rb#181
|
|
2194
|
+
def invalid?; end
|
|
2195
|
+
|
|
2196
|
+
# source://rack//lib/rack/response.rb#262
|
|
2197
|
+
def location; end
|
|
2198
|
+
|
|
2199
|
+
# source://rack//lib/rack/response.rb#266
|
|
2200
|
+
def location=(location); end
|
|
2201
|
+
|
|
2202
|
+
# source://rack//lib/rack/response.rb#249
|
|
2203
|
+
def media_type; end
|
|
2204
|
+
|
|
2205
|
+
# source://rack//lib/rack/response.rb#253
|
|
2206
|
+
def media_type_params; end
|
|
2207
|
+
|
|
2208
|
+
# source://rack//lib/rack/response.rb#198
|
|
2209
|
+
def method_not_allowed?; end
|
|
2210
|
+
|
|
2211
|
+
# source://rack//lib/rack/response.rb#193
|
|
2212
|
+
def moved_permanently?; end
|
|
2213
|
+
|
|
2214
|
+
# source://rack//lib/rack/response.rb#192
|
|
2215
|
+
def no_content?; end
|
|
2216
|
+
|
|
2217
|
+
# source://rack//lib/rack/response.rb#199
|
|
2218
|
+
def not_acceptable?; end
|
|
2219
|
+
|
|
2220
|
+
# source://rack//lib/rack/response.rb#197
|
|
2221
|
+
def not_found?; end
|
|
2222
|
+
|
|
2223
|
+
# source://rack//lib/rack/response.rb#189
|
|
2224
|
+
def ok?; end
|
|
2225
|
+
|
|
2226
|
+
# source://rack//lib/rack/response.rb#201
|
|
2227
|
+
def precondition_failed?; end
|
|
2228
|
+
|
|
2229
|
+
# source://rack//lib/rack/response.rb#204
|
|
2230
|
+
def redirect?; end
|
|
2231
|
+
|
|
2232
|
+
# source://rack//lib/rack/response.rb#185
|
|
2233
|
+
def redirection?; end
|
|
2234
|
+
|
|
2235
|
+
# source://rack//lib/rack/response.rb#200
|
|
2236
|
+
def request_timeout?; end
|
|
2237
|
+
|
|
2238
|
+
# source://rack//lib/rack/response.rb#187
|
|
2239
|
+
def server_error?; end
|
|
2240
|
+
|
|
2241
|
+
# source://rack//lib/rack/response.rb#270
|
|
2242
|
+
def set_cookie(key, value); end
|
|
2243
|
+
|
|
2244
|
+
# source://rack//lib/rack/response.rb#282
|
|
2245
|
+
def set_cookie_header; end
|
|
2246
|
+
|
|
2247
|
+
# source://rack//lib/rack/response.rb#286
|
|
2248
|
+
def set_cookie_header=(value); end
|
|
2249
|
+
|
|
2250
|
+
# source://rack//lib/rack/response.rb#184
|
|
2251
|
+
def successful?; end
|
|
2252
|
+
|
|
2253
|
+
# source://rack//lib/rack/response.rb#195
|
|
2254
|
+
def unauthorized?; end
|
|
2255
|
+
|
|
2256
|
+
# source://rack//lib/rack/response.rb#202
|
|
2257
|
+
def unprocessable?; end
|
|
2258
|
+
|
|
2259
|
+
protected
|
|
2260
|
+
|
|
2261
|
+
# source://rack//lib/rack/response.rb#359
|
|
2262
|
+
def append(chunk); end
|
|
2263
|
+
|
|
2264
|
+
# source://rack//lib/rack/response.rb#332
|
|
2265
|
+
def buffered_body!; end
|
|
2266
|
+
end
|
|
2267
|
+
|
|
2268
|
+
# source://rack//lib/rack/response.rb#375
|
|
2269
|
+
class Rack::Response::Raw
|
|
2270
|
+
include ::Rack::Response::Helpers
|
|
2271
|
+
|
|
2272
|
+
# source://rack//lib/rack/response.rb#381
|
|
2273
|
+
def initialize(status, headers); end
|
|
2274
|
+
|
|
2275
|
+
# source://rack//lib/rack/response.rb#398
|
|
2276
|
+
def delete_header(key); end
|
|
2277
|
+
|
|
2278
|
+
# source://rack//lib/rack/response.rb#390
|
|
2279
|
+
def get_header(key); end
|
|
2280
|
+
|
|
2281
|
+
# source://rack//lib/rack/response.rb#386
|
|
2282
|
+
def has_header?(key); end
|
|
2283
|
+
|
|
2284
|
+
# source://rack//lib/rack/response.rb#378
|
|
2285
|
+
def headers; end
|
|
2286
|
+
|
|
2287
|
+
# source://rack//lib/rack/response.rb#394
|
|
2288
|
+
def set_header(key, value); end
|
|
2289
|
+
|
|
2290
|
+
# source://rack//lib/rack/response.rb#379
|
|
2291
|
+
def status; end
|
|
2292
|
+
|
|
2293
|
+
# source://rack//lib/rack/response.rb#379
|
|
2294
|
+
def status=(_arg0); end
|
|
2295
|
+
end
|
|
2296
|
+
|
|
2297
|
+
# source://rack//lib/rack/response.rb#29
|
|
2298
|
+
Rack::Response::STATUS_WITH_NO_ENTITY_BODY = T.let(T.unsafe(nil), Hash)
|
|
2299
|
+
|
|
2300
|
+
# source://rack//lib/rack/rewindable_input.rb#14
|
|
2301
|
+
class Rack::RewindableInput
|
|
2302
|
+
# source://rack//lib/rack/rewindable_input.rb#29
|
|
2303
|
+
def initialize(io); end
|
|
2304
|
+
|
|
2305
|
+
# source://rack//lib/rack/rewindable_input.rb#65
|
|
2306
|
+
def close; end
|
|
2307
|
+
|
|
2308
|
+
# source://rack//lib/rack/rewindable_input.rb#45
|
|
2309
|
+
def each(&block); end
|
|
2310
|
+
|
|
2311
|
+
# source://rack//lib/rack/rewindable_input.rb#35
|
|
2312
|
+
def gets; end
|
|
2313
|
+
|
|
2314
|
+
# source://rack//lib/rack/rewindable_input.rb#40
|
|
2315
|
+
def read(*args); end
|
|
2316
|
+
|
|
2317
|
+
# source://rack//lib/rack/rewindable_input.rb#50
|
|
2318
|
+
def rewind; end
|
|
2319
|
+
|
|
2320
|
+
# source://rack//lib/rack/rewindable_input.rb#55
|
|
2321
|
+
def size; end
|
|
2322
|
+
|
|
2323
|
+
private
|
|
2324
|
+
|
|
2325
|
+
# source://rack//lib/rack/rewindable_input.rb#109
|
|
2326
|
+
def filesystem_has_posix_semantics?; end
|
|
2327
|
+
|
|
2328
|
+
# source://rack//lib/rack/rewindable_input.rb#78
|
|
2329
|
+
def make_rewindable; end
|
|
2330
|
+
end
|
|
2331
|
+
|
|
2332
|
+
# source://rack//lib/rack/rewindable_input.rb#18
|
|
2333
|
+
class Rack::RewindableInput::Middleware
|
|
2334
|
+
# source://rack//lib/rack/rewindable_input.rb#19
|
|
2335
|
+
def initialize(app); end
|
|
2336
|
+
|
|
2337
|
+
# source://rack//lib/rack/rewindable_input.rb#23
|
|
2338
|
+
def call(env); end
|
|
2339
|
+
end
|
|
2340
|
+
|
|
2341
|
+
# source://rack//lib/rack/runtime.rb#12
|
|
2342
|
+
class Rack::Runtime
|
|
2343
|
+
# source://rack//lib/rack/runtime.rb#16
|
|
2344
|
+
def initialize(app, name = T.unsafe(nil)); end
|
|
2345
|
+
|
|
2346
|
+
# source://rack//lib/rack/runtime.rb#22
|
|
2347
|
+
def call(env); end
|
|
2348
|
+
end
|
|
2349
|
+
|
|
2350
|
+
# source://rack//lib/rack/runtime.rb#13
|
|
2351
|
+
Rack::Runtime::FORMAT_STRING = T.let(T.unsafe(nil), String)
|
|
2352
|
+
|
|
2353
|
+
# source://rack//lib/rack/runtime.rb#14
|
|
2354
|
+
Rack::Runtime::HEADER_NAME = T.let(T.unsafe(nil), String)
|
|
2355
|
+
|
|
2356
|
+
# source://rack//lib/rack/constants.rb#11
|
|
2357
|
+
Rack::SCRIPT_NAME = T.let(T.unsafe(nil), String)
|
|
2358
|
+
|
|
2359
|
+
# source://rack//lib/rack/constants.rb#14
|
|
2360
|
+
Rack::SERVER_NAME = T.let(T.unsafe(nil), String)
|
|
2361
|
+
|
|
2362
|
+
# source://rack//lib/rack/constants.rb#15
|
|
2363
|
+
Rack::SERVER_PORT = T.let(T.unsafe(nil), String)
|
|
2364
|
+
|
|
2365
|
+
# source://rack//lib/rack/constants.rb#13
|
|
2366
|
+
Rack::SERVER_PROTOCOL = T.let(T.unsafe(nil), String)
|
|
2367
|
+
|
|
2368
|
+
# source://rack//lib/rack/constants.rb#24
|
|
2369
|
+
Rack::SET_COOKIE = T.let(T.unsafe(nil), String)
|
|
2370
|
+
|
|
2371
|
+
# source://rack//lib/rack/sendfile.rb#121
|
|
2372
|
+
class Rack::Sendfile
|
|
2373
|
+
# source://rack//lib/rack/sendfile.rb#122
|
|
2374
|
+
def initialize(app, variation = T.unsafe(nil), mappings = T.unsafe(nil)); end
|
|
2375
|
+
|
|
2376
|
+
# source://rack//lib/rack/sendfile.rb#130
|
|
2377
|
+
def call(env); end
|
|
2378
|
+
|
|
2379
|
+
private
|
|
2380
|
+
|
|
2381
|
+
# source://rack//lib/rack/sendfile.rb#182
|
|
2382
|
+
def map_accel_path(env, path); end
|
|
2383
|
+
|
|
2384
|
+
# source://rack//lib/rack/sendfile.rb#166
|
|
2385
|
+
def variation(env); end
|
|
2386
|
+
|
|
2387
|
+
# source://rack//lib/rack/sendfile.rb#172
|
|
2388
|
+
def x_accel_mapping(env); end
|
|
2389
|
+
end
|
|
2390
|
+
|
|
2391
|
+
# source://rack//lib/rack/show_exceptions.rb#18
|
|
2392
|
+
class Rack::ShowExceptions
|
|
2393
|
+
# source://rack//lib/rack/show_exceptions.rb#26
|
|
2394
|
+
def initialize(app); end
|
|
2395
|
+
|
|
2396
|
+
# source://rack//lib/rack/show_exceptions.rb#30
|
|
2397
|
+
def call(env); end
|
|
2398
|
+
|
|
2399
|
+
# source://rack//lib/rack/show_exceptions.rb#65
|
|
2400
|
+
def dump_exception(exception); end
|
|
2401
|
+
|
|
2402
|
+
# source://rack//lib/rack/show_exceptions.rb#116
|
|
2403
|
+
def h(obj); end
|
|
2404
|
+
|
|
2405
|
+
# source://rack//lib/rack/show_exceptions.rb#56
|
|
2406
|
+
def prefers_plaintext?(env); end
|
|
2407
|
+
|
|
2408
|
+
# source://rack//lib/rack/show_exceptions.rb#76
|
|
2409
|
+
def pretty(env, exception); end
|
|
2410
|
+
|
|
2411
|
+
# source://rack//lib/rack/show_exceptions.rb#112
|
|
2412
|
+
def template; end
|
|
2413
|
+
|
|
2414
|
+
private
|
|
2415
|
+
|
|
2416
|
+
# source://rack//lib/rack/show_exceptions.rb#60
|
|
2417
|
+
def accepts_html?(env); end
|
|
2418
|
+
end
|
|
2419
|
+
|
|
2420
|
+
# source://rack//lib/rack/show_exceptions.rb#19
|
|
2421
|
+
Rack::ShowExceptions::CONTEXT = T.let(T.unsafe(nil), Integer)
|
|
2422
|
+
|
|
2423
|
+
# source://rack//lib/rack/show_exceptions.rb#21
|
|
2424
|
+
class Rack::ShowExceptions::Frame < ::Struct
|
|
2425
|
+
def context_line; end
|
|
2426
|
+
def context_line=(_); end
|
|
2427
|
+
def filename; end
|
|
2428
|
+
def filename=(_); end
|
|
2429
|
+
def function; end
|
|
2430
|
+
def function=(_); end
|
|
2431
|
+
def lineno; end
|
|
2432
|
+
def lineno=(_); end
|
|
2433
|
+
def post_context; end
|
|
2434
|
+
def post_context=(_); end
|
|
2435
|
+
def post_context_lineno; end
|
|
2436
|
+
def post_context_lineno=(_); end
|
|
2437
|
+
def pre_context; end
|
|
2438
|
+
def pre_context=(_); end
|
|
2439
|
+
def pre_context_lineno; end
|
|
2440
|
+
def pre_context_lineno=(_); end
|
|
2441
|
+
|
|
2442
|
+
class << self
|
|
2443
|
+
def [](*_arg0); end
|
|
2444
|
+
def inspect; end
|
|
2445
|
+
def keyword_init?; end
|
|
2446
|
+
def members; end
|
|
2447
|
+
def new(*_arg0); end
|
|
2448
|
+
end
|
|
2449
|
+
end
|
|
2450
|
+
|
|
2451
|
+
# source://rack//lib/rack/show_exceptions.rb#131
|
|
2452
|
+
Rack::ShowExceptions::TEMPLATE = T.let(T.unsafe(nil), ERB)
|
|
2453
|
+
|
|
2454
|
+
# source://rack//lib/rack/show_status.rb#18
|
|
2455
|
+
class Rack::ShowStatus
|
|
2456
|
+
# source://rack//lib/rack/show_status.rb#19
|
|
2457
|
+
def initialize(app); end
|
|
2458
|
+
|
|
2459
|
+
# source://rack//lib/rack/show_status.rb#24
|
|
2460
|
+
def call(env); end
|
|
2461
|
+
|
|
2462
|
+
# source://rack//lib/rack/show_status.rb#54
|
|
2463
|
+
def h(obj); end
|
|
2464
|
+
end
|
|
2465
|
+
|
|
2466
|
+
# source://rack//lib/rack/show_status.rb#69
|
|
2467
|
+
Rack::ShowStatus::TEMPLATE = T.let(T.unsafe(nil), String)
|
|
2468
|
+
|
|
2469
|
+
# source://rack//lib/rack/static.rb#92
|
|
2470
|
+
class Rack::Static
|
|
2471
|
+
# source://rack//lib/rack/static.rb#93
|
|
2472
|
+
def initialize(app, options = T.unsafe(nil)); end
|
|
2473
|
+
|
|
2474
|
+
# source://rack//lib/rack/static.rb#109
|
|
2475
|
+
def add_index_root?(path); end
|
|
2476
|
+
|
|
2477
|
+
# source://rack//lib/rack/static.rb#167
|
|
2478
|
+
def applicable_rules(path); end
|
|
2479
|
+
|
|
2480
|
+
# source://rack//lib/rack/static.rb#125
|
|
2481
|
+
def call(env); end
|
|
2482
|
+
|
|
2483
|
+
# source://rack//lib/rack/static.rb#121
|
|
2484
|
+
def can_serve(path); end
|
|
2485
|
+
|
|
2486
|
+
# source://rack//lib/rack/static.rb#113
|
|
2487
|
+
def overwrite_file_path(path); end
|
|
2488
|
+
|
|
2489
|
+
# source://rack//lib/rack/static.rb#117
|
|
2490
|
+
def route_file(path); end
|
|
2491
|
+
end
|
|
2492
|
+
|
|
2493
|
+
# source://rack//lib/rack/constants.rb#38
|
|
2494
|
+
Rack::TRACE = T.let(T.unsafe(nil), String)
|
|
2495
|
+
|
|
2496
|
+
# source://rack//lib/rack/constants.rb#25
|
|
2497
|
+
Rack::TRANSFER_ENCODING = T.let(T.unsafe(nil), String)
|
|
2498
|
+
|
|
2499
|
+
# source://rack//lib/rack/tempfile_reaper.rb#11
|
|
2500
|
+
class Rack::TempfileReaper
|
|
2501
|
+
# source://rack//lib/rack/tempfile_reaper.rb#12
|
|
2502
|
+
def initialize(app); end
|
|
2503
|
+
|
|
2504
|
+
# source://rack//lib/rack/tempfile_reaper.rb#16
|
|
2505
|
+
def call(env); end
|
|
2506
|
+
end
|
|
2507
|
+
|
|
2508
|
+
# source://rack//lib/rack/constants.rb#37
|
|
2509
|
+
Rack::UNLINK = T.let(T.unsafe(nil), String)
|
|
2510
|
+
|
|
2511
|
+
# source://rack//lib/rack/urlmap.rb#20
|
|
2512
|
+
class Rack::URLMap
|
|
2513
|
+
# source://rack//lib/rack/urlmap.rb#21
|
|
2514
|
+
def initialize(map = T.unsafe(nil)); end
|
|
2515
|
+
|
|
2516
|
+
# source://rack//lib/rack/urlmap.rb#48
|
|
2517
|
+
def call(env); end
|
|
2518
|
+
|
|
2519
|
+
# source://rack//lib/rack/urlmap.rb#25
|
|
2520
|
+
def remap(map); end
|
|
2521
|
+
|
|
2522
|
+
private
|
|
2523
|
+
|
|
2524
|
+
# source://rack//lib/rack/urlmap.rb#87
|
|
2525
|
+
def casecmp?(v1, v2); end
|
|
2526
|
+
end
|
|
2527
|
+
|
|
2528
|
+
# source://rack//lib/rack/utils.rb#20
|
|
2529
|
+
module Rack::Utils
|
|
2530
|
+
private
|
|
2531
|
+
|
|
2532
|
+
# source://rack//lib/rack/utils.rb#167
|
|
2533
|
+
def best_q_match(q_value_header, available_mimes); end
|
|
2534
|
+
|
|
2535
|
+
# source://rack//lib/rack/utils.rb#120
|
|
2536
|
+
def build_nested_query(value, prefix = T.unsafe(nil)); end
|
|
2537
|
+
|
|
2538
|
+
# source://rack//lib/rack/utils.rb#110
|
|
2539
|
+
def build_query(params); end
|
|
2540
|
+
|
|
2541
|
+
# source://rack//lib/rack/utils.rb#409
|
|
2542
|
+
def byte_ranges(env, size); end
|
|
2543
|
+
|
|
2544
|
+
# source://rack//lib/rack/utils.rb#609
|
|
2545
|
+
def clean_path_info(path_info); end
|
|
2546
|
+
|
|
2547
|
+
# source://rack//lib/rack/utils.rb#91
|
|
2548
|
+
def clock_time; end
|
|
2549
|
+
|
|
2550
|
+
# source://rack//lib/rack/utils.rb#367
|
|
2551
|
+
def delete_cookie_header!(headers, key, value = T.unsafe(nil)); end
|
|
2552
|
+
|
|
2553
|
+
# source://rack//lib/rack/utils.rb#363
|
|
2554
|
+
def delete_set_cookie_header(key, value = T.unsafe(nil)); end
|
|
2555
|
+
|
|
2556
|
+
# source://rack//lib/rack/utils.rb#391
|
|
2557
|
+
def delete_set_cookie_header!(header, key, value = T.unsafe(nil)); end
|
|
2558
|
+
|
|
2559
|
+
# source://rack//lib/rack/utils.rb#40
|
|
2560
|
+
def escape(s); end
|
|
2561
|
+
|
|
2562
|
+
# source://rack//lib/rack/utils.rb#262
|
|
2563
|
+
def escape_cookie_key(key); end
|
|
2564
|
+
|
|
2565
|
+
def escape_html(_arg0); end
|
|
2566
|
+
|
|
2567
|
+
# source://rack//lib/rack/utils.rb#46
|
|
2568
|
+
def escape_path(s); end
|
|
2569
|
+
|
|
2570
|
+
# source://rack//lib/rack/utils.rb#149
|
|
2571
|
+
def forwarded_values(forwarded_header); end
|
|
2572
|
+
|
|
2573
|
+
# source://rack//lib/rack/utils.rb#413
|
|
2574
|
+
def get_byte_ranges(http_range, size); end
|
|
2575
|
+
|
|
2576
|
+
# source://rack//lib/rack/utils.rb#253
|
|
2577
|
+
def parse_cookies(env); end
|
|
2578
|
+
|
|
2579
|
+
# source://rack//lib/rack/utils.rb#234
|
|
2580
|
+
def parse_cookies_header(value); end
|
|
2581
|
+
|
|
2582
|
+
# source://rack//lib/rack/utils.rb#106
|
|
2583
|
+
def parse_nested_query(qs, d = T.unsafe(nil)); end
|
|
2584
|
+
|
|
2585
|
+
# source://rack//lib/rack/utils.rb#102
|
|
2586
|
+
def parse_query(qs, d = T.unsafe(nil), &unescaper); end
|
|
2587
|
+
|
|
2588
|
+
# source://rack//lib/rack/utils.rb#138
|
|
2589
|
+
def q_values(q_value_header); end
|
|
2590
|
+
|
|
2591
|
+
# source://rack//lib/rack/utils.rb#402
|
|
2592
|
+
def rfc2822(time); end
|
|
2593
|
+
|
|
2594
|
+
# source://rack//lib/rack/utils.rb#455
|
|
2595
|
+
def secure_compare(a, b); end
|
|
2596
|
+
|
|
2597
|
+
# source://rack//lib/rack/utils.rb#192
|
|
2598
|
+
def select_best_encoding(available_encodings, accept_encoding); end
|
|
2599
|
+
|
|
2600
|
+
# source://rack//lib/rack/utils.rb#294
|
|
2601
|
+
def set_cookie_header(key, value); end
|
|
2602
|
+
|
|
2603
|
+
# source://rack//lib/rack/utils.rb#337
|
|
2604
|
+
def set_cookie_header!(headers, key, value); end
|
|
2605
|
+
|
|
2606
|
+
# source://rack//lib/rack/utils.rb#589
|
|
2607
|
+
def status_code(status); end
|
|
2608
|
+
|
|
2609
|
+
# source://rack//lib/rack/utils.rb#58
|
|
2610
|
+
def unescape(s, encoding = T.unsafe(nil)); end
|
|
2611
|
+
|
|
2612
|
+
# source://rack//lib/rack/utils.rb#52
|
|
2613
|
+
def unescape_path(s); end
|
|
2614
|
+
|
|
2615
|
+
# source://rack//lib/rack/utils.rb#626
|
|
2616
|
+
def valid_path?(path); end
|
|
2617
|
+
|
|
2618
|
+
class << self
|
|
2619
|
+
# source://rack//lib/rack/utils.rb#167
|
|
2620
|
+
def best_q_match(q_value_header, available_mimes); end
|
|
2621
|
+
|
|
2622
|
+
# source://rack//lib/rack/utils.rb#120
|
|
2623
|
+
def build_nested_query(value, prefix = T.unsafe(nil)); end
|
|
2624
|
+
|
|
2625
|
+
# source://rack//lib/rack/utils.rb#110
|
|
2626
|
+
def build_query(params); end
|
|
2627
|
+
|
|
2628
|
+
# source://rack//lib/rack/utils.rb#409
|
|
2629
|
+
def byte_ranges(env, size); end
|
|
2630
|
+
|
|
2631
|
+
# source://rack//lib/rack/utils.rb#609
|
|
2632
|
+
def clean_path_info(path_info); end
|
|
2633
|
+
|
|
2634
|
+
# source://rack//lib/rack/utils.rb#91
|
|
2635
|
+
def clock_time; end
|
|
2636
|
+
|
|
2637
|
+
# source://rack//lib/rack/utils.rb#30
|
|
2638
|
+
def default_query_parser; end
|
|
2639
|
+
|
|
2640
|
+
# source://rack//lib/rack/utils.rb#30
|
|
2641
|
+
def default_query_parser=(_arg0); end
|
|
2642
|
+
|
|
2643
|
+
# source://rack//lib/rack/utils.rb#367
|
|
2644
|
+
def delete_cookie_header!(headers, key, value = T.unsafe(nil)); end
|
|
2645
|
+
|
|
2646
|
+
# source://rack//lib/rack/utils.rb#363
|
|
2647
|
+
def delete_set_cookie_header(key, value = T.unsafe(nil)); end
|
|
2648
|
+
|
|
2649
|
+
# source://rack//lib/rack/utils.rb#391
|
|
2650
|
+
def delete_set_cookie_header!(header, key, value = T.unsafe(nil)); end
|
|
2651
|
+
|
|
2652
|
+
# source://rack//lib/rack/utils.rb#40
|
|
2653
|
+
def escape(s); end
|
|
2654
|
+
|
|
2655
|
+
# source://rack//lib/rack/utils.rb#262
|
|
2656
|
+
def escape_cookie_key(key); end
|
|
2657
|
+
|
|
2658
|
+
def escape_html(_arg0); end
|
|
2659
|
+
|
|
2660
|
+
# source://rack//lib/rack/utils.rb#46
|
|
2661
|
+
def escape_path(s); end
|
|
2662
|
+
|
|
2663
|
+
# source://rack//lib/rack/utils.rb#149
|
|
2664
|
+
def forwarded_values(forwarded_header); end
|
|
2665
|
+
|
|
2666
|
+
# source://rack//lib/rack/utils.rb#413
|
|
2667
|
+
def get_byte_ranges(http_range, size); end
|
|
2668
|
+
|
|
2669
|
+
# source://rack//lib/rack/utils.rb#65
|
|
2670
|
+
def multipart_file_limit; end
|
|
2671
|
+
|
|
2672
|
+
# source://rack//lib/rack/utils.rb#65
|
|
2673
|
+
def multipart_file_limit=(_arg0); end
|
|
2674
|
+
|
|
2675
|
+
# source://rack//lib/rack/utils.rb#65
|
|
2676
|
+
def multipart_part_limit; end
|
|
2677
|
+
|
|
2678
|
+
# source://rack//lib/rack/utils.rb#65
|
|
2679
|
+
def multipart_part_limit=(_arg0); end
|
|
2680
|
+
|
|
2681
|
+
# source://rack//lib/rack/utils.rb#63
|
|
2682
|
+
def multipart_total_part_limit; end
|
|
2683
|
+
|
|
2684
|
+
# source://rack//lib/rack/utils.rb#63
|
|
2685
|
+
def multipart_total_part_limit=(_arg0); end
|
|
2686
|
+
|
|
2687
|
+
# source://rack//lib/rack/utils.rb#82
|
|
2688
|
+
def param_depth_limit; end
|
|
2689
|
+
|
|
2690
|
+
# source://rack//lib/rack/utils.rb#86
|
|
2691
|
+
def param_depth_limit=(v); end
|
|
2692
|
+
|
|
2693
|
+
# source://rack//lib/rack/utils.rb#253
|
|
2694
|
+
def parse_cookies(env); end
|
|
2695
|
+
|
|
2696
|
+
# source://rack//lib/rack/utils.rb#234
|
|
2697
|
+
def parse_cookies_header(value); end
|
|
2698
|
+
|
|
2699
|
+
# source://rack//lib/rack/utils.rb#106
|
|
2700
|
+
def parse_nested_query(qs, d = T.unsafe(nil)); end
|
|
2701
|
+
|
|
2702
|
+
# source://rack//lib/rack/utils.rb#102
|
|
2703
|
+
def parse_query(qs, d = T.unsafe(nil), &unescaper); end
|
|
2704
|
+
|
|
2705
|
+
# source://rack//lib/rack/utils.rb#138
|
|
2706
|
+
def q_values(q_value_header); end
|
|
2707
|
+
|
|
2708
|
+
# source://rack//lib/rack/utils.rb#402
|
|
2709
|
+
def rfc2822(time); end
|
|
2710
|
+
|
|
2711
|
+
# source://rack//lib/rack/utils.rb#455
|
|
2712
|
+
def secure_compare(a, b); end
|
|
2713
|
+
|
|
2714
|
+
# source://rack//lib/rack/utils.rb#192
|
|
2715
|
+
def select_best_encoding(available_encodings, accept_encoding); end
|
|
2716
|
+
|
|
2717
|
+
# source://rack//lib/rack/utils.rb#294
|
|
2718
|
+
def set_cookie_header(key, value); end
|
|
2719
|
+
|
|
2720
|
+
# source://rack//lib/rack/utils.rb#337
|
|
2721
|
+
def set_cookie_header!(headers, key, value); end
|
|
2722
|
+
|
|
2723
|
+
# source://rack//lib/rack/utils.rb#589
|
|
2724
|
+
def status_code(status); end
|
|
2725
|
+
|
|
2726
|
+
# source://rack//lib/rack/utils.rb#58
|
|
2727
|
+
def unescape(s, encoding = T.unsafe(nil)); end
|
|
2728
|
+
|
|
2729
|
+
# source://rack//lib/rack/utils.rb#52
|
|
2730
|
+
def unescape_path(s); end
|
|
2731
|
+
|
|
2732
|
+
# source://rack//lib/rack/utils.rb#626
|
|
2733
|
+
def valid_path?(path); end
|
|
2734
|
+
end
|
|
2735
|
+
end
|
|
2736
|
+
|
|
2737
|
+
# source://rack//lib/rack/utils.rb#25
|
|
2738
|
+
Rack::Utils::COMMON_SEP = T.let(T.unsafe(nil), Hash)
|
|
2739
|
+
|
|
2740
|
+
# source://rack//lib/rack/utils.rb#478
|
|
2741
|
+
class Rack::Utils::Context
|
|
2742
|
+
# source://rack//lib/rack/utils.rb#481
|
|
2743
|
+
def initialize(app_f, app_r); end
|
|
2744
|
+
|
|
2745
|
+
# source://rack//lib/rack/utils.rb#479
|
|
2746
|
+
def app; end
|
|
2747
|
+
|
|
2748
|
+
# source://rack//lib/rack/utils.rb#486
|
|
2749
|
+
def call(env); end
|
|
2750
|
+
|
|
2751
|
+
# source://rack//lib/rack/utils.rb#494
|
|
2752
|
+
def context(env, app = T.unsafe(nil)); end
|
|
2753
|
+
|
|
2754
|
+
# source://rack//lib/rack/utils.rb#479
|
|
2755
|
+
def for; end
|
|
2756
|
+
|
|
2757
|
+
# source://rack//lib/rack/utils.rb#490
|
|
2758
|
+
def recontext(app); end
|
|
2759
|
+
end
|
|
2760
|
+
|
|
2761
|
+
# source://rack//lib/rack/utils.rb#24
|
|
2762
|
+
Rack::Utils::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp)
|
|
2763
|
+
|
|
2764
|
+
# source://rack//lib/rack/utils.rb#505
|
|
2765
|
+
Rack::Utils::HTTP_STATUS_CODES = T.let(T.unsafe(nil), Hash)
|
|
2766
|
+
|
|
2767
|
+
# source://rack//lib/rack/utils.rb#22
|
|
2768
|
+
Rack::Utils::InvalidParameterError = Rack::QueryParser::InvalidParameterError
|
|
2769
|
+
|
|
2770
|
+
# source://rack//lib/rack/utils.rb#26
|
|
2771
|
+
Rack::Utils::KeySpaceConstrainedParams = Rack::QueryParser::Params
|
|
2772
|
+
|
|
2773
|
+
# source://rack//lib/rack/utils.rb#624
|
|
2774
|
+
Rack::Utils::NULL_BYTE = T.let(T.unsafe(nil), String)
|
|
2775
|
+
|
|
2776
|
+
# source://rack//lib/rack/utils.rb#575
|
|
2777
|
+
Rack::Utils::OBSOLETE_SYMBOLS_TO_STATUS_CODES = T.let(T.unsafe(nil), Hash)
|
|
2778
|
+
|
|
2779
|
+
# source://rack//lib/rack/utils.rb#583
|
|
2780
|
+
Rack::Utils::OBSOLETE_SYMBOL_MAPPINGS = T.let(T.unsafe(nil), Hash)
|
|
2781
|
+
|
|
2782
|
+
# source://rack//lib/rack/utils.rb#607
|
|
2783
|
+
Rack::Utils::PATH_SEPS = T.let(T.unsafe(nil), Regexp)
|
|
2784
|
+
|
|
2785
|
+
# source://rack//lib/rack/utils.rb#21
|
|
2786
|
+
Rack::Utils::ParameterTypeError = Rack::QueryParser::ParameterTypeError
|
|
2787
|
+
|
|
2788
|
+
# source://rack//lib/rack/utils.rb#23
|
|
2789
|
+
Rack::Utils::ParamsTooDeepError = Rack::QueryParser::QueryLimitError
|
|
2790
|
+
|
|
2791
|
+
# source://rack//lib/rack/utils.rb#569
|
|
2792
|
+
Rack::Utils::STATUS_WITH_NO_ENTITY_BODY = T.let(T.unsafe(nil), Hash)
|
|
2793
|
+
|
|
2794
|
+
# source://rack//lib/rack/utils.rb#571
|
|
2795
|
+
Rack::Utils::SYMBOL_TO_STATUS_CODE = T.let(T.unsafe(nil), Hash)
|
|
2796
|
+
|
|
2797
|
+
# source://rack//lib/rack/utils.rb#27
|
|
2798
|
+
Rack::Utils::URI_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
|
|
2799
|
+
|
|
2800
|
+
# source://rack//lib/rack/utils.rb#259
|
|
2801
|
+
Rack::Utils::VALID_COOKIE_KEY = T.let(T.unsafe(nil), Regexp)
|