alchemrest 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +26 -26
- data/gemfiles/faraday_2.gemfile.lock +1 -1
- data/gemfiles/rails_7_2.gemfile.lock +1 -1
- data/gemfiles/rails_8_0.gemfile.lock +1 -1
- data/lib/alchemrest/version.rb +1 -1
- data/rbi/alchemrest.rbi +39 -2
- data/sorbet/rbi/gems/{actionpack@8.0.4.rbi → actionpack@8.0.4.1.rbi} +204 -204
- data/sorbet/rbi/gems/{actionview@8.0.4.rbi → actionview@8.0.4.1.rbi} +251 -251
- data/sorbet/rbi/gems/{activemodel@8.0.4.rbi → activemodel@8.0.4.1.rbi} +3 -3
- data/sorbet/rbi/gems/{activesupport@8.0.4.rbi → activesupport@8.0.4.1.rbi} +84 -84
- data/sorbet/rbi/gems/{addressable@2.8.7.rbi → addressable@2.9.0.rbi} +94 -97
- data/sorbet/rbi/gems/{bigdecimal@3.3.1.rbi → bigdecimal@4.0.1.rbi} +16 -5
- data/sorbet/rbi/gems/{concurrent-ruby@1.3.5.rbi → concurrent-ruby@1.3.6.rbi} +95 -81
- data/sorbet/rbi/gems/{i18n@1.14.7.rbi → i18n@1.14.8.rbi} +103 -103
- data/sorbet/rbi/gems/{minitest@5.26.0.rbi → minitest@5.27.0.rbi} +208 -205
- data/sorbet/rbi/gems/{rack-session@2.1.1.rbi → rack-session@2.1.2.rbi} +95 -34
- data/sorbet/rbi/gems/{rack@3.1.14.rbi → rack@3.1.21.rbi} +213 -177
- data/sorbet/rbi/gems/{railties@8.0.4.rbi → railties@8.0.4.1.rbi} +59 -59
- metadata +16 -16
- /data/sorbet/rbi/gems/{connection_pool@2.5.4.rbi → connection_pool@3.0.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{public_suffix@6.0.1.rbi → public_suffix@7.0.5.rbi} +0 -0
|
@@ -319,34 +319,34 @@ class Rack::Directory
|
|
|
319
319
|
# source://rack//lib/rack/directory.rb#83
|
|
320
320
|
def initialize(root, app = T.unsafe(nil)); end
|
|
321
321
|
|
|
322
|
-
# source://rack//lib/rack/directory.rb#
|
|
322
|
+
# source://rack//lib/rack/directory.rb#90
|
|
323
323
|
def call(env); end
|
|
324
324
|
|
|
325
|
-
# source://rack//lib/rack/directory.rb#
|
|
325
|
+
# source://rack//lib/rack/directory.rb#110
|
|
326
326
|
def check_bad_request(path_info); end
|
|
327
327
|
|
|
328
|
-
# source://rack//lib/rack/directory.rb#
|
|
328
|
+
# source://rack//lib/rack/directory.rb#120
|
|
329
329
|
def check_forbidden(path_info); end
|
|
330
330
|
|
|
331
|
-
# source://rack//lib/rack/directory.rb#
|
|
331
|
+
# source://rack//lib/rack/directory.rb#184
|
|
332
332
|
def entity_not_found(path_info); end
|
|
333
333
|
|
|
334
|
-
# source://rack//lib/rack/directory.rb#
|
|
334
|
+
# source://rack//lib/rack/directory.rb#200
|
|
335
335
|
def filesize_format(int); end
|
|
336
336
|
|
|
337
|
-
# source://rack//lib/rack/directory.rb#
|
|
337
|
+
# source://rack//lib/rack/directory.rb#97
|
|
338
338
|
def get(env); end
|
|
339
339
|
|
|
340
|
-
# source://rack//lib/rack/directory.rb#
|
|
340
|
+
# source://rack//lib/rack/directory.rb#133
|
|
341
341
|
def list_directory(path_info, path, script_name); end
|
|
342
342
|
|
|
343
|
-
# source://rack//lib/rack/directory.rb#
|
|
343
|
+
# source://rack//lib/rack/directory.rb#174
|
|
344
344
|
def list_path(env, path, path_info, script_name); end
|
|
345
345
|
|
|
346
346
|
# source://rack//lib/rack/directory.rb#80
|
|
347
347
|
def root; end
|
|
348
348
|
|
|
349
|
-
# source://rack//lib/rack/directory.rb#
|
|
349
|
+
# source://rack//lib/rack/directory.rb#166
|
|
350
350
|
def stat(path); end
|
|
351
351
|
end
|
|
352
352
|
|
|
@@ -370,7 +370,7 @@ class Rack::Directory::DirectoryBody < ::Struct
|
|
|
370
370
|
def DIR_FILE_escape(htmls); end
|
|
371
371
|
end
|
|
372
372
|
|
|
373
|
-
# source://rack//lib/rack/directory.rb#
|
|
373
|
+
# source://rack//lib/rack/directory.rb#192
|
|
374
374
|
Rack::Directory::FILESIZE_FORMAT = T.let(T.unsafe(nil), Array)
|
|
375
375
|
|
|
376
376
|
# source://rack//lib/rack/constants.rb#22
|
|
@@ -1016,44 +1016,44 @@ end
|
|
|
1016
1016
|
# source://rack//lib/rack/mock_request.rb#24
|
|
1017
1017
|
class Rack::MockRequest::FatalWarning < ::RuntimeError; end
|
|
1018
1018
|
|
|
1019
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1019
|
+
# source://rack//lib/rack/mock_response.rb#12
|
|
1020
1020
|
class Rack::MockResponse < ::Rack::Response
|
|
1021
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1021
|
+
# source://rack//lib/rack/mock_response.rb#53
|
|
1022
1022
|
def initialize(status, headers, body, errors = T.unsafe(nil)); end
|
|
1023
1023
|
|
|
1024
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1024
|
+
# source://rack//lib/rack/mock_response.rb#68
|
|
1025
1025
|
def =~(other); end
|
|
1026
1026
|
|
|
1027
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1027
|
+
# source://rack//lib/rack/mock_response.rb#76
|
|
1028
1028
|
def body; end
|
|
1029
1029
|
|
|
1030
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1030
|
+
# source://rack//lib/rack/mock_response.rb#102
|
|
1031
1031
|
def cookie(name); end
|
|
1032
1032
|
|
|
1033
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1033
|
+
# source://rack//lib/rack/mock_response.rb#48
|
|
1034
1034
|
def cookies; end
|
|
1035
1035
|
|
|
1036
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1036
|
+
# source://rack//lib/rack/mock_response.rb#98
|
|
1037
1037
|
def empty?; end
|
|
1038
1038
|
|
|
1039
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1039
|
+
# source://rack//lib/rack/mock_response.rb#51
|
|
1040
1040
|
def errors; end
|
|
1041
1041
|
|
|
1042
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1042
|
+
# source://rack//lib/rack/mock_response.rb#51
|
|
1043
1043
|
def errors=(_arg0); end
|
|
1044
1044
|
|
|
1045
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1045
|
+
# source://rack//lib/rack/mock_response.rb#72
|
|
1046
1046
|
def match(other); end
|
|
1047
1047
|
|
|
1048
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1048
|
+
# source://rack//lib/rack/mock_response.rb#48
|
|
1049
1049
|
def original_headers; end
|
|
1050
1050
|
|
|
1051
1051
|
private
|
|
1052
1052
|
|
|
1053
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1053
|
+
# source://rack//lib/rack/mock_response.rb#129
|
|
1054
1054
|
def identify_cookie_attributes(cookie_filling); end
|
|
1055
1055
|
|
|
1056
|
-
# source://rack//lib/rack/mock_response.rb#
|
|
1056
|
+
# source://rack//lib/rack/mock_response.rb#108
|
|
1057
1057
|
def parse_cookies_from_header; end
|
|
1058
1058
|
|
|
1059
1059
|
class << self
|
|
@@ -1061,6 +1061,9 @@ class Rack::MockResponse < ::Rack::Response
|
|
|
1061
1061
|
end
|
|
1062
1062
|
end
|
|
1063
1063
|
|
|
1064
|
+
# source://rack//lib/rack/mock_response.rb#16
|
|
1065
|
+
Rack::MockResponse::Cookie = CGI::Cookie
|
|
1066
|
+
|
|
1064
1067
|
# source://rack//lib/rack/multipart/parser.rb#9
|
|
1065
1068
|
module Rack::Multipart
|
|
1066
1069
|
class << self
|
|
@@ -1091,6 +1094,9 @@ end
|
|
|
1091
1094
|
# source://rack//lib/rack/multipart/parser.rb#31
|
|
1092
1095
|
Rack::Multipart::Error = Rack::Multipart::BoundaryTooLongError
|
|
1093
1096
|
|
|
1097
|
+
# source://rack//lib/rack/multipart/parser.rb#34
|
|
1098
|
+
Rack::Multipart::FWS = T.let(T.unsafe(nil), Regexp)
|
|
1099
|
+
|
|
1094
1100
|
# source://rack//lib/rack/multipart/generator.rb#7
|
|
1095
1101
|
class Rack::Multipart::Generator
|
|
1096
1102
|
# source://rack//lib/rack/multipart/generator.rb#8
|
|
@@ -1114,19 +1120,22 @@ class Rack::Multipart::Generator
|
|
|
1114
1120
|
def multipart?; end
|
|
1115
1121
|
end
|
|
1116
1122
|
|
|
1117
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
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
|
|
1118
1127
|
Rack::Multipart::MULTIPART = T.let(T.unsafe(nil), Regexp)
|
|
1119
1128
|
|
|
1120
1129
|
# source://rack//lib/rack/multipart.rb#16
|
|
1121
1130
|
Rack::Multipart::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String)
|
|
1122
1131
|
|
|
1123
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1132
|
+
# source://rack//lib/rack/multipart/parser.rb#38
|
|
1124
1133
|
Rack::Multipart::MULTIPART_CONTENT_DISPOSITION = T.let(T.unsafe(nil), Regexp)
|
|
1125
1134
|
|
|
1126
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1135
|
+
# source://rack//lib/rack/multipart/parser.rb#39
|
|
1127
1136
|
Rack::Multipart::MULTIPART_CONTENT_ID = T.let(T.unsafe(nil), Regexp)
|
|
1128
1137
|
|
|
1129
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1138
|
+
# source://rack//lib/rack/multipart/parser.rb#37
|
|
1130
1139
|
Rack::Multipart::MULTIPART_CONTENT_TYPE = T.let(T.unsafe(nil), Regexp)
|
|
1131
1140
|
|
|
1132
1141
|
# source://rack//lib/rack/multipart.rb#18
|
|
@@ -1164,138 +1173,153 @@ class Rack::Multipart::ParamList
|
|
|
1164
1173
|
end
|
|
1165
1174
|
end
|
|
1166
1175
|
|
|
1167
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1176
|
+
# source://rack//lib/rack/multipart/parser.rb#41
|
|
1168
1177
|
class Rack::Multipart::Parser
|
|
1169
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1178
|
+
# source://rack//lib/rack/multipart/parser.rb#242
|
|
1170
1179
|
def initialize(boundary, tempfile, bufsize, query_parser); end
|
|
1171
1180
|
|
|
1172
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1181
|
+
# source://rack//lib/rack/multipart/parser.rb#263
|
|
1173
1182
|
def parse(io); end
|
|
1174
1183
|
|
|
1175
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1184
|
+
# source://rack//lib/rack/multipart/parser.rb#287
|
|
1176
1185
|
def result; end
|
|
1177
1186
|
|
|
1178
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1187
|
+
# source://rack//lib/rack/multipart/parser.rb#240
|
|
1179
1188
|
def state; end
|
|
1180
1189
|
|
|
1181
1190
|
private
|
|
1182
1191
|
|
|
1183
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1192
|
+
# source://rack//lib/rack/multipart/parser.rb#519
|
|
1184
1193
|
def consume_boundary; end
|
|
1185
1194
|
|
|
1186
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1195
|
+
# source://rack//lib/rack/multipart/parser.rb#299
|
|
1187
1196
|
def dequote(str); end
|
|
1188
1197
|
|
|
1189
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1198
|
+
# source://rack//lib/rack/multipart/parser.rb#574
|
|
1190
1199
|
def find_encoding(enc); end
|
|
1191
1200
|
|
|
1192
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1201
|
+
# source://rack//lib/rack/multipart/parser.rb#351
|
|
1193
1202
|
def handle_consume_token; end
|
|
1194
1203
|
|
|
1195
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1204
|
+
# source://rack//lib/rack/multipart/parser.rb#580
|
|
1196
1205
|
def handle_empty_content!(content); end
|
|
1197
1206
|
|
|
1198
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1207
|
+
# source://rack//lib/rack/multipart/parser.rb#324
|
|
1199
1208
|
def handle_fast_forward; end
|
|
1200
1209
|
|
|
1201
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1210
|
+
# source://rack//lib/rack/multipart/parser.rb#486
|
|
1202
1211
|
def handle_mime_body; end
|
|
1203
1212
|
|
|
1204
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1213
|
+
# source://rack//lib/rack/multipart/parser.rb#363
|
|
1205
1214
|
def handle_mime_head; end
|
|
1206
1215
|
|
|
1207
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1216
|
+
# source://rack//lib/rack/multipart/parser.rb#528
|
|
1208
1217
|
def normalize_filename(filename); end
|
|
1209
1218
|
|
|
1210
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1219
|
+
# source://rack//lib/rack/multipart/parser.rb#305
|
|
1211
1220
|
def read_data(io, outbuf); end
|
|
1212
1221
|
|
|
1213
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1222
|
+
# source://rack//lib/rack/multipart/parser.rb#541
|
|
1214
1223
|
def tag_multipart_encoding(filename, content_type, name, body); end
|
|
1215
1224
|
|
|
1225
|
+
# source://rack//lib/rack/multipart/parser.rb#508
|
|
1226
|
+
def update_retained_size(size); end
|
|
1227
|
+
|
|
1216
1228
|
class << self
|
|
1217
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1229
|
+
# source://rack//lib/rack/multipart/parser.rb#125
|
|
1218
1230
|
def parse(io, content_length, content_type, tmpfile, bufsize, qp); end
|
|
1219
1231
|
|
|
1220
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1232
|
+
# source://rack//lib/rack/multipart/parser.rb#110
|
|
1221
1233
|
def parse_boundary(content_type); end
|
|
1222
1234
|
end
|
|
1223
1235
|
end
|
|
1224
1236
|
|
|
1225
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
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
|
|
1226
1244
|
Rack::Multipart::Parser::BUFSIZE = T.let(T.unsafe(nil), Integer)
|
|
1227
1245
|
|
|
1228
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1246
|
+
# source://rack//lib/rack/multipart/parser.rb#78
|
|
1229
1247
|
class Rack::Multipart::Parser::BoundedIO
|
|
1230
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1248
|
+
# source://rack//lib/rack/multipart/parser.rb#79
|
|
1231
1249
|
def initialize(io, content_length); end
|
|
1232
1250
|
|
|
1233
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1251
|
+
# source://rack//lib/rack/multipart/parser.rb#85
|
|
1234
1252
|
def read(size, outbuf = T.unsafe(nil)); end
|
|
1235
1253
|
end
|
|
1236
1254
|
|
|
1237
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1255
|
+
# source://rack//lib/rack/multipart/parser.rb#538
|
|
1238
1256
|
Rack::Multipart::Parser::CHARSET = T.let(T.unsafe(nil), String)
|
|
1239
1257
|
|
|
1240
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1258
|
+
# source://rack//lib/rack/multipart/parser.rb#362
|
|
1241
1259
|
Rack::Multipart::Parser::CONTENT_DISPOSITION_MAX_BYTES = T.let(T.unsafe(nil), Integer)
|
|
1242
1260
|
|
|
1243
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1261
|
+
# source://rack//lib/rack/multipart/parser.rb#361
|
|
1244
1262
|
Rack::Multipart::Parser::CONTENT_DISPOSITION_MAX_PARAMS = T.let(T.unsafe(nil), Integer)
|
|
1245
1263
|
|
|
1246
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1264
|
+
# source://rack//lib/rack/multipart/parser.rb#75
|
|
1265
|
+
Rack::Multipart::Parser::CONTENT_DISPOSITION_QUOTED_ESCAPES_LIMIT = T.let(T.unsafe(nil), Integer)
|
|
1266
|
+
|
|
1267
|
+
# source://rack//lib/rack/multipart/parser.rb#149
|
|
1247
1268
|
class Rack::Multipart::Parser::Collector
|
|
1248
1269
|
include ::Enumerable
|
|
1249
1270
|
|
|
1250
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1271
|
+
# source://rack//lib/rack/multipart/parser.rb#185
|
|
1251
1272
|
def initialize(tempfile); end
|
|
1252
1273
|
|
|
1253
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1274
|
+
# source://rack//lib/rack/multipart/parser.rb#191
|
|
1254
1275
|
def each; end
|
|
1255
1276
|
|
|
1256
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1277
|
+
# source://rack//lib/rack/multipart/parser.rb#211
|
|
1257
1278
|
def on_mime_body(mime_index, content); end
|
|
1258
1279
|
|
|
1259
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1280
|
+
# source://rack//lib/rack/multipart/parser.rb#215
|
|
1260
1281
|
def on_mime_finish(mime_index); end
|
|
1261
1282
|
|
|
1262
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1283
|
+
# source://rack//lib/rack/multipart/parser.rb#195
|
|
1263
1284
|
def on_mime_head(mime_index, head, filename, content_type, name); end
|
|
1264
1285
|
|
|
1265
1286
|
private
|
|
1266
1287
|
|
|
1267
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1288
|
+
# source://rack//lib/rack/multipart/parser.rb#220
|
|
1268
1289
|
def check_part_limits; end
|
|
1269
1290
|
end
|
|
1270
1291
|
|
|
1271
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1292
|
+
# source://rack//lib/rack/multipart/parser.rb#173
|
|
1272
1293
|
class Rack::Multipart::Parser::Collector::BufferPart < ::Rack::Multipart::Parser::Collector::MimePart
|
|
1273
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1294
|
+
# source://rack//lib/rack/multipart/parser.rb#175
|
|
1274
1295
|
def close; end
|
|
1275
1296
|
|
|
1276
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1297
|
+
# source://rack//lib/rack/multipart/parser.rb#174
|
|
1277
1298
|
def file?; end
|
|
1278
1299
|
end
|
|
1279
1300
|
|
|
1280
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1301
|
+
# source://rack//lib/rack/multipart/parser.rb#150
|
|
1281
1302
|
class Rack::Multipart::Parser::Collector::MimePart < ::Struct
|
|
1282
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1303
|
+
# source://rack//lib/rack/multipart/parser.rb#151
|
|
1283
1304
|
def get_data; end
|
|
1284
1305
|
end
|
|
1285
1306
|
|
|
1286
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1307
|
+
# source://rack//lib/rack/multipart/parser.rb#178
|
|
1287
1308
|
class Rack::Multipart::Parser::Collector::TempfilePart < ::Rack::Multipart::Parser::Collector::MimePart
|
|
1288
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1309
|
+
# source://rack//lib/rack/multipart/parser.rb#180
|
|
1289
1310
|
def close; end
|
|
1290
1311
|
|
|
1291
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1312
|
+
# source://rack//lib/rack/multipart/parser.rb#179
|
|
1292
1313
|
def file?; end
|
|
1293
1314
|
end
|
|
1294
1315
|
|
|
1295
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1316
|
+
# source://rack//lib/rack/multipart/parser.rb#108
|
|
1296
1317
|
Rack::Multipart::Parser::EMPTY = T.let(T.unsafe(nil), Rack::Multipart::Parser::MultipartInfo)
|
|
1297
1318
|
|
|
1298
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1319
|
+
# source://rack//lib/rack/multipart/parser.rb#53
|
|
1320
|
+
Rack::Multipart::Parser::MIME_HEADER_BYTESIZE_LIMIT = T.let(T.unsafe(nil), Integer)
|
|
1321
|
+
|
|
1322
|
+
# source://rack//lib/rack/multipart/parser.rb#107
|
|
1299
1323
|
class Rack::Multipart::Parser::MultipartInfo < ::Struct
|
|
1300
1324
|
def params; end
|
|
1301
1325
|
def params=(_); end
|
|
@@ -1311,10 +1335,13 @@ class Rack::Multipart::Parser::MultipartInfo < ::Struct
|
|
|
1311
1335
|
end
|
|
1312
1336
|
end
|
|
1313
1337
|
|
|
1314
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1338
|
+
# source://rack//lib/rack/multipart/parser.rb#72
|
|
1339
|
+
Rack::Multipart::Parser::PARSER_BYTESIZE_LIMIT = T.let(T.unsafe(nil), Integer)
|
|
1340
|
+
|
|
1341
|
+
# source://rack//lib/rack/multipart/parser.rb#44
|
|
1315
1342
|
Rack::Multipart::Parser::TEMPFILE_FACTORY = T.let(T.unsafe(nil), Proc)
|
|
1316
1343
|
|
|
1317
|
-
# source://rack//lib/rack/multipart/parser.rb#
|
|
1344
|
+
# source://rack//lib/rack/multipart/parser.rb#43
|
|
1318
1345
|
Rack::Multipart::Parser::TEXT_PLAIN = T.let(T.unsafe(nil), String)
|
|
1319
1346
|
|
|
1320
1347
|
# source://rack//lib/rack/multipart/uploaded_file.rb#8
|
|
@@ -1466,42 +1493,45 @@ Rack::QUERY_STRING = T.let(T.unsafe(nil), String)
|
|
|
1466
1493
|
|
|
1467
1494
|
# source://rack//lib/rack/query_parser.rb#7
|
|
1468
1495
|
class Rack::QueryParser
|
|
1469
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1496
|
+
# source://rack//lib/rack/query_parser.rb#62
|
|
1470
1497
|
def initialize(params_class, param_depth_limit, bytesize_limit: T.unsafe(nil), params_limit: T.unsafe(nil)); end
|
|
1471
1498
|
|
|
1472
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1499
|
+
# source://rack//lib/rack/query_parser.rb#60
|
|
1500
|
+
def bytesize_limit; end
|
|
1501
|
+
|
|
1502
|
+
# source://rack//lib/rack/query_parser.rb#194
|
|
1473
1503
|
def make_params; end
|
|
1474
1504
|
|
|
1475
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1505
|
+
# source://rack//lib/rack/query_parser.rb#198
|
|
1476
1506
|
def new_depth_limit(param_depth_limit); end
|
|
1477
1507
|
|
|
1478
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1508
|
+
# source://rack//lib/rack/query_parser.rb#122
|
|
1479
1509
|
def normalize_params(params, name, v, _depth = T.unsafe(nil)); end
|
|
1480
1510
|
|
|
1481
1511
|
# source://rack//lib/rack/query_parser.rb#40
|
|
1482
1512
|
def param_depth_limit; end
|
|
1483
1513
|
|
|
1484
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1514
|
+
# source://rack//lib/rack/query_parser.rb#101
|
|
1485
1515
|
def parse_nested_query(qs, separator = T.unsafe(nil)); end
|
|
1486
1516
|
|
|
1487
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1517
|
+
# source://rack//lib/rack/query_parser.rb#73
|
|
1488
1518
|
def parse_query(qs, separator = T.unsafe(nil), &unescaper); end
|
|
1489
1519
|
|
|
1490
1520
|
private
|
|
1491
1521
|
|
|
1492
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1522
|
+
# source://rack//lib/rack/query_parser.rb#126
|
|
1493
1523
|
def _normalize_params(params, name, v, depth); end
|
|
1494
1524
|
|
|
1495
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1525
|
+
# source://rack//lib/rack/query_parser.rb#220
|
|
1496
1526
|
def check_query_string(qs, sep); end
|
|
1497
1527
|
|
|
1498
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1528
|
+
# source://rack//lib/rack/query_parser.rb#208
|
|
1499
1529
|
def params_hash_has_key?(hash, key); end
|
|
1500
1530
|
|
|
1501
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1531
|
+
# source://rack//lib/rack/query_parser.rb#204
|
|
1502
1532
|
def params_hash_type?(obj); end
|
|
1503
1533
|
|
|
1504
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1534
|
+
# source://rack//lib/rack/query_parser.rb#236
|
|
1505
1535
|
def unescape(string, encoding = T.unsafe(nil)); end
|
|
1506
1536
|
|
|
1507
1537
|
class << self
|
|
@@ -1532,7 +1562,7 @@ class Rack::QueryParser::ParameterTypeError < ::TypeError
|
|
|
1532
1562
|
include ::Rack::BadRequest
|
|
1533
1563
|
end
|
|
1534
1564
|
|
|
1535
|
-
# source://rack//lib/rack/query_parser.rb#
|
|
1565
|
+
# source://rack//lib/rack/query_parser.rb#240
|
|
1536
1566
|
class Rack::QueryParser::Params < ::Hash
|
|
1537
1567
|
def to_params_hash; end
|
|
1538
1568
|
end
|
|
@@ -1770,16 +1800,16 @@ module Rack::Request::Helpers
|
|
|
1770
1800
|
# source://rack//lib/rack/request.rb#503
|
|
1771
1801
|
def POST; end
|
|
1772
1802
|
|
|
1773
|
-
# source://rack//lib/rack/request.rb#
|
|
1803
|
+
# source://rack//lib/rack/request.rb#610
|
|
1774
1804
|
def accept_encoding; end
|
|
1775
1805
|
|
|
1776
|
-
# source://rack//lib/rack/request.rb#
|
|
1806
|
+
# source://rack//lib/rack/request.rb#614
|
|
1777
1807
|
def accept_language; end
|
|
1778
1808
|
|
|
1779
1809
|
# source://rack//lib/rack/request.rb#266
|
|
1780
1810
|
def authority; end
|
|
1781
1811
|
|
|
1782
|
-
# source://rack//lib/rack/request.rb#
|
|
1812
|
+
# source://rack//lib/rack/request.rb#593
|
|
1783
1813
|
def base_url; end
|
|
1784
1814
|
|
|
1785
1815
|
# source://rack//lib/rack/request.rb#190
|
|
@@ -1800,7 +1830,7 @@ module Rack::Request::Helpers
|
|
|
1800
1830
|
# source://rack//lib/rack/request.rb#220
|
|
1801
1831
|
def delete?; end
|
|
1802
1832
|
|
|
1803
|
-
# source://rack//lib/rack/request.rb#
|
|
1833
|
+
# source://rack//lib/rack/request.rb#588
|
|
1804
1834
|
def delete_param(k); end
|
|
1805
1835
|
|
|
1806
1836
|
# source://rack//lib/rack/request.rb#470
|
|
@@ -1815,7 +1845,7 @@ module Rack::Request::Helpers
|
|
|
1815
1845
|
# source://rack//lib/rack/request.rb#374
|
|
1816
1846
|
def forwarded_port; end
|
|
1817
1847
|
|
|
1818
|
-
# source://rack//lib/rack/request.rb#
|
|
1848
|
+
# source://rack//lib/rack/request.rb#606
|
|
1819
1849
|
def fullpath; end
|
|
1820
1850
|
|
|
1821
1851
|
# source://rack//lib/rack/request.rb#223
|
|
@@ -1854,7 +1884,7 @@ module Rack::Request::Helpers
|
|
|
1854
1884
|
# source://rack//lib/rack/request.rb#229
|
|
1855
1885
|
def options?; end
|
|
1856
1886
|
|
|
1857
|
-
# source://rack//lib/rack/request.rb#
|
|
1887
|
+
# source://rack//lib/rack/request.rb#559
|
|
1858
1888
|
def params; end
|
|
1859
1889
|
|
|
1860
1890
|
# source://rack//lib/rack/request.rb#479
|
|
@@ -1863,7 +1893,7 @@ module Rack::Request::Helpers
|
|
|
1863
1893
|
# source://rack//lib/rack/request.rb#235
|
|
1864
1894
|
def patch?; end
|
|
1865
1895
|
|
|
1866
|
-
# source://rack//lib/rack/request.rb#
|
|
1896
|
+
# source://rack//lib/rack/request.rb#602
|
|
1867
1897
|
def path; end
|
|
1868
1898
|
|
|
1869
1899
|
# source://rack//lib/rack/request.rb#194
|
|
@@ -1923,22 +1953,22 @@ module Rack::Request::Helpers
|
|
|
1923
1953
|
# source://rack//lib/rack/request.rb#244
|
|
1924
1954
|
def trace?; end
|
|
1925
1955
|
|
|
1926
|
-
# source://rack//lib/rack/request.rb#
|
|
1956
|
+
# source://rack//lib/rack/request.rb#618
|
|
1927
1957
|
def trusted_proxy?(ip); end
|
|
1928
1958
|
|
|
1929
1959
|
# source://rack//lib/rack/request.rb#247
|
|
1930
1960
|
def unlink?; end
|
|
1931
1961
|
|
|
1932
|
-
# source://rack//lib/rack/request.rb#
|
|
1962
|
+
# source://rack//lib/rack/request.rb#568
|
|
1933
1963
|
def update_param(k, v); end
|
|
1934
1964
|
|
|
1935
|
-
# source://rack//lib/rack/request.rb#
|
|
1965
|
+
# source://rack//lib/rack/request.rb#598
|
|
1936
1966
|
def url; end
|
|
1937
1967
|
|
|
1938
1968
|
# source://rack//lib/rack/request.rb#201
|
|
1939
1969
|
def user_agent; end
|
|
1940
1970
|
|
|
1941
|
-
# source://rack//lib/rack/request.rb#
|
|
1971
|
+
# source://rack//lib/rack/request.rb#623
|
|
1942
1972
|
def values_at(*keys); end
|
|
1943
1973
|
|
|
1944
1974
|
# source://rack//lib/rack/request.rb#313
|
|
@@ -1946,53 +1976,53 @@ module Rack::Request::Helpers
|
|
|
1946
1976
|
|
|
1947
1977
|
private
|
|
1948
1978
|
|
|
1949
|
-
# source://rack//lib/rack/request.rb#
|
|
1979
|
+
# source://rack//lib/rack/request.rb#779
|
|
1950
1980
|
def allowed_scheme(header); end
|
|
1951
1981
|
|
|
1952
|
-
# source://rack//lib/rack/request.rb#
|
|
1982
|
+
# source://rack//lib/rack/request.rb#631
|
|
1953
1983
|
def default_session; end
|
|
1954
1984
|
|
|
1955
|
-
# source://rack//lib/rack/request.rb#
|
|
1985
|
+
# source://rack//lib/rack/request.rb#687
|
|
1956
1986
|
def expand_param_pairs(pairs, query_parser = T.unsafe(nil)); end
|
|
1957
1987
|
|
|
1958
|
-
# source://rack//lib/rack/request.rb#
|
|
1988
|
+
# source://rack//lib/rack/request.rb#783
|
|
1959
1989
|
def forwarded_priority; end
|
|
1960
1990
|
|
|
1961
|
-
# source://rack//lib/rack/request.rb#
|
|
1991
|
+
# source://rack//lib/rack/request.rb#755
|
|
1962
1992
|
def forwarded_scheme; end
|
|
1963
1993
|
|
|
1964
|
-
# source://rack//lib/rack/request.rb#
|
|
1994
|
+
# source://rack//lib/rack/request.rb#671
|
|
1965
1995
|
def get_http_forwarded(token); end
|
|
1966
1996
|
|
|
1967
|
-
# source://rack//lib/rack/request.rb#
|
|
1997
|
+
# source://rack//lib/rack/request.rb#647
|
|
1968
1998
|
def parse_http_accept_header(header); end
|
|
1969
1999
|
|
|
1970
|
-
# source://rack//lib/rack/request.rb#
|
|
2000
|
+
# source://rack//lib/rack/request.rb#683
|
|
1971
2001
|
def parse_multipart; end
|
|
1972
2002
|
|
|
1973
|
-
# source://rack//lib/rack/request.rb#
|
|
2003
|
+
# source://rack//lib/rack/request.rb#679
|
|
1974
2004
|
def parse_query(qs, d = T.unsafe(nil)); end
|
|
1975
2005
|
|
|
1976
|
-
# source://rack//lib/rack/request.rb#
|
|
2006
|
+
# source://rack//lib/rack/request.rb#675
|
|
1977
2007
|
def query_parser; end
|
|
1978
2008
|
|
|
1979
|
-
# source://rack//lib/rack/request.rb#
|
|
2009
|
+
# source://rack//lib/rack/request.rb#746
|
|
1980
2010
|
def reject_trusted_ip_addresses(ip_addresses); end
|
|
1981
2011
|
|
|
1982
|
-
# source://rack//lib/rack/request.rb#
|
|
2012
|
+
# source://rack//lib/rack/request.rb#740
|
|
1983
2013
|
def split_authority(authority); end
|
|
1984
2014
|
|
|
1985
|
-
# source://rack//lib/rack/request.rb#
|
|
2015
|
+
# source://rack//lib/rack/request.rb#697
|
|
1986
2016
|
def split_header(value); end
|
|
1987
2017
|
|
|
1988
|
-
# source://rack//lib/rack/request.rb#
|
|
2018
|
+
# source://rack//lib/rack/request.rb#634
|
|
1989
2019
|
def wrap_ipv6(host); end
|
|
1990
2020
|
|
|
1991
|
-
# source://rack//lib/rack/request.rb#
|
|
2021
|
+
# source://rack//lib/rack/request.rb#787
|
|
1992
2022
|
def x_forwarded_proto_priority; end
|
|
1993
2023
|
end
|
|
1994
2024
|
|
|
1995
|
-
# source://rack//lib/rack/request.rb#
|
|
2025
|
+
# source://rack//lib/rack/request.rb#725
|
|
1996
2026
|
Rack::Request::Helpers::AUTHORITY = T.let(T.unsafe(nil), Regexp)
|
|
1997
2027
|
|
|
1998
2028
|
# source://rack//lib/rack/request.rb#168
|
|
@@ -2001,7 +2031,7 @@ Rack::Request::Helpers::DEFAULT_PORTS = T.let(T.unsafe(nil), Hash)
|
|
|
2001
2031
|
# source://rack//lib/rack/request.rb#153
|
|
2002
2032
|
Rack::Request::Helpers::FORM_DATA_MEDIA_TYPES = T.let(T.unsafe(nil), Array)
|
|
2003
2033
|
|
|
2004
|
-
# source://rack//lib/rack/request.rb#
|
|
2034
|
+
# source://rack//lib/rack/request.rb#750
|
|
2005
2035
|
Rack::Request::Helpers::FORWARDED_SCHEME_HEADERS = T.let(T.unsafe(nil), Hash)
|
|
2006
2036
|
|
|
2007
2037
|
# source://rack//lib/rack/request.rb#176
|
|
@@ -2344,21 +2374,24 @@ Rack::SERVER_PROTOCOL = T.let(T.unsafe(nil), String)
|
|
|
2344
2374
|
# source://rack//lib/rack/constants.rb#24
|
|
2345
2375
|
Rack::SET_COOKIE = T.let(T.unsafe(nil), String)
|
|
2346
2376
|
|
|
2347
|
-
# source://rack//lib/rack/sendfile.rb#
|
|
2377
|
+
# source://rack//lib/rack/sendfile.rb#121
|
|
2348
2378
|
class Rack::Sendfile
|
|
2349
|
-
# source://rack//lib/rack/sendfile.rb#
|
|
2379
|
+
# source://rack//lib/rack/sendfile.rb#122
|
|
2350
2380
|
def initialize(app, variation = T.unsafe(nil), mappings = T.unsafe(nil)); end
|
|
2351
2381
|
|
|
2352
|
-
# source://rack//lib/rack/sendfile.rb#
|
|
2382
|
+
# source://rack//lib/rack/sendfile.rb#130
|
|
2353
2383
|
def call(env); end
|
|
2354
2384
|
|
|
2355
2385
|
private
|
|
2356
2386
|
|
|
2357
|
-
# source://rack//lib/rack/sendfile.rb#
|
|
2387
|
+
# source://rack//lib/rack/sendfile.rb#182
|
|
2358
2388
|
def map_accel_path(env, path); end
|
|
2359
2389
|
|
|
2360
|
-
# source://rack//lib/rack/sendfile.rb#
|
|
2390
|
+
# source://rack//lib/rack/sendfile.rb#166
|
|
2361
2391
|
def variation(env); end
|
|
2392
|
+
|
|
2393
|
+
# source://rack//lib/rack/sendfile.rb#172
|
|
2394
|
+
def x_accel_mapping(env); end
|
|
2362
2395
|
end
|
|
2363
2396
|
|
|
2364
2397
|
# source://rack//lib/rack/show_exceptions.rb#18
|
|
@@ -2444,22 +2477,22 @@ class Rack::Static
|
|
|
2444
2477
|
# source://rack//lib/rack/static.rb#93
|
|
2445
2478
|
def initialize(app, options = T.unsafe(nil)); end
|
|
2446
2479
|
|
|
2447
|
-
# source://rack//lib/rack/static.rb#
|
|
2480
|
+
# source://rack//lib/rack/static.rb#112
|
|
2448
2481
|
def add_index_root?(path); end
|
|
2449
2482
|
|
|
2450
|
-
# source://rack//lib/rack/static.rb#
|
|
2483
|
+
# source://rack//lib/rack/static.rb#170
|
|
2451
2484
|
def applicable_rules(path); end
|
|
2452
2485
|
|
|
2453
|
-
# source://rack//lib/rack/static.rb#
|
|
2486
|
+
# source://rack//lib/rack/static.rb#128
|
|
2454
2487
|
def call(env); end
|
|
2455
2488
|
|
|
2456
|
-
# source://rack//lib/rack/static.rb#
|
|
2489
|
+
# source://rack//lib/rack/static.rb#124
|
|
2457
2490
|
def can_serve(path); end
|
|
2458
2491
|
|
|
2459
|
-
# source://rack//lib/rack/static.rb#
|
|
2492
|
+
# source://rack//lib/rack/static.rb#116
|
|
2460
2493
|
def overwrite_file_path(path); end
|
|
2461
2494
|
|
|
2462
|
-
# source://rack//lib/rack/static.rb#
|
|
2495
|
+
# source://rack//lib/rack/static.rb#120
|
|
2463
2496
|
def route_file(path); end
|
|
2464
2497
|
end
|
|
2465
2498
|
|
|
@@ -2502,7 +2535,7 @@ end
|
|
|
2502
2535
|
module Rack::Utils
|
|
2503
2536
|
private
|
|
2504
2537
|
|
|
2505
|
-
# source://rack//lib/rack/utils.rb#
|
|
2538
|
+
# source://rack//lib/rack/utils.rb#227
|
|
2506
2539
|
def best_q_match(q_value_header, available_mimes); end
|
|
2507
2540
|
|
|
2508
2541
|
# source://rack//lib/rack/utils.rb#120
|
|
@@ -2511,28 +2544,28 @@ module Rack::Utils
|
|
|
2511
2544
|
# source://rack//lib/rack/utils.rb#110
|
|
2512
2545
|
def build_query(params); end
|
|
2513
2546
|
|
|
2514
|
-
# source://rack//lib/rack/utils.rb#
|
|
2515
|
-
def byte_ranges(env, size); end
|
|
2547
|
+
# source://rack//lib/rack/utils.rb#499
|
|
2548
|
+
def byte_ranges(env, size, max_ranges: T.unsafe(nil)); end
|
|
2516
2549
|
|
|
2517
|
-
# source://rack//lib/rack/utils.rb#
|
|
2550
|
+
# source://rack//lib/rack/utils.rb#701
|
|
2518
2551
|
def clean_path_info(path_info); end
|
|
2519
2552
|
|
|
2520
2553
|
# source://rack//lib/rack/utils.rb#91
|
|
2521
2554
|
def clock_time; end
|
|
2522
2555
|
|
|
2523
|
-
# source://rack//lib/rack/utils.rb#
|
|
2556
|
+
# source://rack//lib/rack/utils.rb#457
|
|
2524
2557
|
def delete_cookie_header!(headers, key, value = T.unsafe(nil)); end
|
|
2525
2558
|
|
|
2526
|
-
# source://rack//lib/rack/utils.rb#
|
|
2559
|
+
# source://rack//lib/rack/utils.rb#453
|
|
2527
2560
|
def delete_set_cookie_header(key, value = T.unsafe(nil)); end
|
|
2528
2561
|
|
|
2529
|
-
# source://rack//lib/rack/utils.rb#
|
|
2562
|
+
# source://rack//lib/rack/utils.rb#481
|
|
2530
2563
|
def delete_set_cookie_header!(header, key, value = T.unsafe(nil)); end
|
|
2531
2564
|
|
|
2532
2565
|
# source://rack//lib/rack/utils.rb#40
|
|
2533
2566
|
def escape(s); end
|
|
2534
2567
|
|
|
2535
|
-
# source://rack//lib/rack/utils.rb#
|
|
2568
|
+
# source://rack//lib/rack/utils.rb#352
|
|
2536
2569
|
def escape_cookie_key(key); end
|
|
2537
2570
|
|
|
2538
2571
|
def escape_html(_arg0); end
|
|
@@ -2540,16 +2573,16 @@ module Rack::Utils
|
|
|
2540
2573
|
# source://rack//lib/rack/utils.rb#46
|
|
2541
2574
|
def escape_path(s); end
|
|
2542
2575
|
|
|
2543
|
-
# source://rack//lib/rack/utils.rb#
|
|
2576
|
+
# source://rack//lib/rack/utils.rb#152
|
|
2544
2577
|
def forwarded_values(forwarded_header); end
|
|
2545
2578
|
|
|
2546
|
-
# source://rack//lib/rack/utils.rb#
|
|
2547
|
-
def get_byte_ranges(http_range, size); end
|
|
2579
|
+
# source://rack//lib/rack/utils.rb#503
|
|
2580
|
+
def get_byte_ranges(http_range, size, max_ranges: T.unsafe(nil)); end
|
|
2548
2581
|
|
|
2549
|
-
# source://rack//lib/rack/utils.rb#
|
|
2582
|
+
# source://rack//lib/rack/utils.rb#343
|
|
2550
2583
|
def parse_cookies(env); end
|
|
2551
2584
|
|
|
2552
|
-
# source://rack//lib/rack/utils.rb#
|
|
2585
|
+
# source://rack//lib/rack/utils.rb#324
|
|
2553
2586
|
def parse_cookies_header(value); end
|
|
2554
2587
|
|
|
2555
2588
|
# source://rack//lib/rack/utils.rb#106
|
|
@@ -2561,22 +2594,22 @@ module Rack::Utils
|
|
|
2561
2594
|
# source://rack//lib/rack/utils.rb#138
|
|
2562
2595
|
def q_values(q_value_header); end
|
|
2563
2596
|
|
|
2564
|
-
# source://rack//lib/rack/utils.rb#
|
|
2597
|
+
# source://rack//lib/rack/utils.rb#492
|
|
2565
2598
|
def rfc2822(time); end
|
|
2566
2599
|
|
|
2567
|
-
# source://rack//lib/rack/utils.rb#
|
|
2600
|
+
# source://rack//lib/rack/utils.rb#547
|
|
2568
2601
|
def secure_compare(a, b); end
|
|
2569
2602
|
|
|
2570
|
-
# source://rack//lib/rack/utils.rb#
|
|
2603
|
+
# source://rack//lib/rack/utils.rb#270
|
|
2571
2604
|
def select_best_encoding(available_encodings, accept_encoding); end
|
|
2572
2605
|
|
|
2573
|
-
# source://rack//lib/rack/utils.rb#
|
|
2606
|
+
# source://rack//lib/rack/utils.rb#384
|
|
2574
2607
|
def set_cookie_header(key, value); end
|
|
2575
2608
|
|
|
2576
|
-
# source://rack//lib/rack/utils.rb#
|
|
2609
|
+
# source://rack//lib/rack/utils.rb#427
|
|
2577
2610
|
def set_cookie_header!(headers, key, value); end
|
|
2578
2611
|
|
|
2579
|
-
# source://rack//lib/rack/utils.rb#
|
|
2612
|
+
# source://rack//lib/rack/utils.rb#681
|
|
2580
2613
|
def status_code(status); end
|
|
2581
2614
|
|
|
2582
2615
|
# source://rack//lib/rack/utils.rb#58
|
|
@@ -2585,11 +2618,11 @@ module Rack::Utils
|
|
|
2585
2618
|
# source://rack//lib/rack/utils.rb#52
|
|
2586
2619
|
def unescape_path(s); end
|
|
2587
2620
|
|
|
2588
|
-
# source://rack//lib/rack/utils.rb#
|
|
2621
|
+
# source://rack//lib/rack/utils.rb#718
|
|
2589
2622
|
def valid_path?(path); end
|
|
2590
2623
|
|
|
2591
2624
|
class << self
|
|
2592
|
-
# source://rack//lib/rack/utils.rb#
|
|
2625
|
+
# source://rack//lib/rack/utils.rb#227
|
|
2593
2626
|
def best_q_match(q_value_header, available_mimes); end
|
|
2594
2627
|
|
|
2595
2628
|
# source://rack//lib/rack/utils.rb#120
|
|
@@ -2598,10 +2631,10 @@ module Rack::Utils
|
|
|
2598
2631
|
# source://rack//lib/rack/utils.rb#110
|
|
2599
2632
|
def build_query(params); end
|
|
2600
2633
|
|
|
2601
|
-
# source://rack//lib/rack/utils.rb#
|
|
2602
|
-
def byte_ranges(env, size); end
|
|
2634
|
+
# source://rack//lib/rack/utils.rb#499
|
|
2635
|
+
def byte_ranges(env, size, max_ranges: T.unsafe(nil)); end
|
|
2603
2636
|
|
|
2604
|
-
# source://rack//lib/rack/utils.rb#
|
|
2637
|
+
# source://rack//lib/rack/utils.rb#701
|
|
2605
2638
|
def clean_path_info(path_info); end
|
|
2606
2639
|
|
|
2607
2640
|
# source://rack//lib/rack/utils.rb#91
|
|
@@ -2613,19 +2646,19 @@ module Rack::Utils
|
|
|
2613
2646
|
# source://rack//lib/rack/utils.rb#30
|
|
2614
2647
|
def default_query_parser=(_arg0); end
|
|
2615
2648
|
|
|
2616
|
-
# source://rack//lib/rack/utils.rb#
|
|
2649
|
+
# source://rack//lib/rack/utils.rb#457
|
|
2617
2650
|
def delete_cookie_header!(headers, key, value = T.unsafe(nil)); end
|
|
2618
2651
|
|
|
2619
|
-
# source://rack//lib/rack/utils.rb#
|
|
2652
|
+
# source://rack//lib/rack/utils.rb#453
|
|
2620
2653
|
def delete_set_cookie_header(key, value = T.unsafe(nil)); end
|
|
2621
2654
|
|
|
2622
|
-
# source://rack//lib/rack/utils.rb#
|
|
2655
|
+
# source://rack//lib/rack/utils.rb#481
|
|
2623
2656
|
def delete_set_cookie_header!(header, key, value = T.unsafe(nil)); end
|
|
2624
2657
|
|
|
2625
2658
|
# source://rack//lib/rack/utils.rb#40
|
|
2626
2659
|
def escape(s); end
|
|
2627
2660
|
|
|
2628
|
-
# source://rack//lib/rack/utils.rb#
|
|
2661
|
+
# source://rack//lib/rack/utils.rb#352
|
|
2629
2662
|
def escape_cookie_key(key); end
|
|
2630
2663
|
|
|
2631
2664
|
def escape_html(_arg0); end
|
|
@@ -2633,11 +2666,11 @@ module Rack::Utils
|
|
|
2633
2666
|
# source://rack//lib/rack/utils.rb#46
|
|
2634
2667
|
def escape_path(s); end
|
|
2635
2668
|
|
|
2636
|
-
# source://rack//lib/rack/utils.rb#
|
|
2669
|
+
# source://rack//lib/rack/utils.rb#152
|
|
2637
2670
|
def forwarded_values(forwarded_header); end
|
|
2638
2671
|
|
|
2639
|
-
# source://rack//lib/rack/utils.rb#
|
|
2640
|
-
def get_byte_ranges(http_range, size); end
|
|
2672
|
+
# source://rack//lib/rack/utils.rb#503
|
|
2673
|
+
def get_byte_ranges(http_range, size, max_ranges: T.unsafe(nil)); end
|
|
2641
2674
|
|
|
2642
2675
|
# source://rack//lib/rack/utils.rb#65
|
|
2643
2676
|
def multipart_file_limit; end
|
|
@@ -2663,10 +2696,10 @@ module Rack::Utils
|
|
|
2663
2696
|
# source://rack//lib/rack/utils.rb#86
|
|
2664
2697
|
def param_depth_limit=(v); end
|
|
2665
2698
|
|
|
2666
|
-
# source://rack//lib/rack/utils.rb#
|
|
2699
|
+
# source://rack//lib/rack/utils.rb#343
|
|
2667
2700
|
def parse_cookies(env); end
|
|
2668
2701
|
|
|
2669
|
-
# source://rack//lib/rack/utils.rb#
|
|
2702
|
+
# source://rack//lib/rack/utils.rb#324
|
|
2670
2703
|
def parse_cookies_header(value); end
|
|
2671
2704
|
|
|
2672
2705
|
# source://rack//lib/rack/utils.rb#106
|
|
@@ -2678,22 +2711,22 @@ module Rack::Utils
|
|
|
2678
2711
|
# source://rack//lib/rack/utils.rb#138
|
|
2679
2712
|
def q_values(q_value_header); end
|
|
2680
2713
|
|
|
2681
|
-
# source://rack//lib/rack/utils.rb#
|
|
2714
|
+
# source://rack//lib/rack/utils.rb#492
|
|
2682
2715
|
def rfc2822(time); end
|
|
2683
2716
|
|
|
2684
|
-
# source://rack//lib/rack/utils.rb#
|
|
2717
|
+
# source://rack//lib/rack/utils.rb#547
|
|
2685
2718
|
def secure_compare(a, b); end
|
|
2686
2719
|
|
|
2687
|
-
# source://rack//lib/rack/utils.rb#
|
|
2720
|
+
# source://rack//lib/rack/utils.rb#270
|
|
2688
2721
|
def select_best_encoding(available_encodings, accept_encoding); end
|
|
2689
2722
|
|
|
2690
|
-
# source://rack//lib/rack/utils.rb#
|
|
2723
|
+
# source://rack//lib/rack/utils.rb#384
|
|
2691
2724
|
def set_cookie_header(key, value); end
|
|
2692
2725
|
|
|
2693
|
-
# source://rack//lib/rack/utils.rb#
|
|
2726
|
+
# source://rack//lib/rack/utils.rb#427
|
|
2694
2727
|
def set_cookie_header!(headers, key, value); end
|
|
2695
2728
|
|
|
2696
|
-
# source://rack//lib/rack/utils.rb#
|
|
2729
|
+
# source://rack//lib/rack/utils.rb#681
|
|
2697
2730
|
def status_code(status); end
|
|
2698
2731
|
|
|
2699
2732
|
# source://rack//lib/rack/utils.rb#58
|
|
@@ -2702,39 +2735,42 @@ module Rack::Utils
|
|
|
2702
2735
|
# source://rack//lib/rack/utils.rb#52
|
|
2703
2736
|
def unescape_path(s); end
|
|
2704
2737
|
|
|
2705
|
-
# source://rack//lib/rack/utils.rb#
|
|
2738
|
+
# source://rack//lib/rack/utils.rb#718
|
|
2706
2739
|
def valid_path?(path); end
|
|
2707
2740
|
end
|
|
2708
2741
|
end
|
|
2709
2742
|
|
|
2743
|
+
# source://rack//lib/rack/utils.rb#149
|
|
2744
|
+
Rack::Utils::ALLOWED_FORWARED_PARAMS = T.let(T.unsafe(nil), Hash)
|
|
2745
|
+
|
|
2710
2746
|
# source://rack//lib/rack/utils.rb#25
|
|
2711
2747
|
Rack::Utils::COMMON_SEP = T.let(T.unsafe(nil), Hash)
|
|
2712
2748
|
|
|
2713
|
-
# source://rack//lib/rack/utils.rb#
|
|
2749
|
+
# source://rack//lib/rack/utils.rb#570
|
|
2714
2750
|
class Rack::Utils::Context
|
|
2715
|
-
# source://rack//lib/rack/utils.rb#
|
|
2751
|
+
# source://rack//lib/rack/utils.rb#573
|
|
2716
2752
|
def initialize(app_f, app_r); end
|
|
2717
2753
|
|
|
2718
|
-
# source://rack//lib/rack/utils.rb#
|
|
2754
|
+
# source://rack//lib/rack/utils.rb#571
|
|
2719
2755
|
def app; end
|
|
2720
2756
|
|
|
2721
|
-
# source://rack//lib/rack/utils.rb#
|
|
2757
|
+
# source://rack//lib/rack/utils.rb#578
|
|
2722
2758
|
def call(env); end
|
|
2723
2759
|
|
|
2724
|
-
# source://rack//lib/rack/utils.rb#
|
|
2760
|
+
# source://rack//lib/rack/utils.rb#586
|
|
2725
2761
|
def context(env, app = T.unsafe(nil)); end
|
|
2726
2762
|
|
|
2727
|
-
# source://rack//lib/rack/utils.rb#
|
|
2763
|
+
# source://rack//lib/rack/utils.rb#571
|
|
2728
2764
|
def for; end
|
|
2729
2765
|
|
|
2730
|
-
# source://rack//lib/rack/utils.rb#
|
|
2766
|
+
# source://rack//lib/rack/utils.rb#582
|
|
2731
2767
|
def recontext(app); end
|
|
2732
2768
|
end
|
|
2733
2769
|
|
|
2734
2770
|
# source://rack//lib/rack/utils.rb#24
|
|
2735
2771
|
Rack::Utils::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp)
|
|
2736
2772
|
|
|
2737
|
-
# source://rack//lib/rack/utils.rb#
|
|
2773
|
+
# source://rack//lib/rack/utils.rb#597
|
|
2738
2774
|
Rack::Utils::HTTP_STATUS_CODES = T.let(T.unsafe(nil), Hash)
|
|
2739
2775
|
|
|
2740
2776
|
# source://rack//lib/rack/utils.rb#22
|
|
@@ -2743,16 +2779,16 @@ Rack::Utils::InvalidParameterError = Rack::QueryParser::InvalidParameterError
|
|
|
2743
2779
|
# source://rack//lib/rack/utils.rb#26
|
|
2744
2780
|
Rack::Utils::KeySpaceConstrainedParams = Rack::QueryParser::Params
|
|
2745
2781
|
|
|
2746
|
-
# source://rack//lib/rack/utils.rb#
|
|
2782
|
+
# source://rack//lib/rack/utils.rb#716
|
|
2747
2783
|
Rack::Utils::NULL_BYTE = T.let(T.unsafe(nil), String)
|
|
2748
2784
|
|
|
2749
|
-
# source://rack//lib/rack/utils.rb#
|
|
2785
|
+
# source://rack//lib/rack/utils.rb#667
|
|
2750
2786
|
Rack::Utils::OBSOLETE_SYMBOLS_TO_STATUS_CODES = T.let(T.unsafe(nil), Hash)
|
|
2751
2787
|
|
|
2752
|
-
# source://rack//lib/rack/utils.rb#
|
|
2788
|
+
# source://rack//lib/rack/utils.rb#675
|
|
2753
2789
|
Rack::Utils::OBSOLETE_SYMBOL_MAPPINGS = T.let(T.unsafe(nil), Hash)
|
|
2754
2790
|
|
|
2755
|
-
# source://rack//lib/rack/utils.rb#
|
|
2791
|
+
# source://rack//lib/rack/utils.rb#699
|
|
2756
2792
|
Rack::Utils::PATH_SEPS = T.let(T.unsafe(nil), Regexp)
|
|
2757
2793
|
|
|
2758
2794
|
# source://rack//lib/rack/utils.rb#21
|
|
@@ -2761,14 +2797,14 @@ Rack::Utils::ParameterTypeError = Rack::QueryParser::ParameterTypeError
|
|
|
2761
2797
|
# source://rack//lib/rack/utils.rb#23
|
|
2762
2798
|
Rack::Utils::ParamsTooDeepError = Rack::QueryParser::QueryLimitError
|
|
2763
2799
|
|
|
2764
|
-
# source://rack//lib/rack/utils.rb#
|
|
2800
|
+
# source://rack//lib/rack/utils.rb#661
|
|
2765
2801
|
Rack::Utils::STATUS_WITH_NO_ENTITY_BODY = T.let(T.unsafe(nil), Hash)
|
|
2766
2802
|
|
|
2767
|
-
# source://rack//lib/rack/utils.rb#
|
|
2803
|
+
# source://rack//lib/rack/utils.rb#663
|
|
2768
2804
|
Rack::Utils::SYMBOL_TO_STATUS_CODE = T.let(T.unsafe(nil), Hash)
|
|
2769
2805
|
|
|
2770
2806
|
# source://rack//lib/rack/utils.rb#27
|
|
2771
2807
|
Rack::Utils::URI_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
|
|
2772
2808
|
|
|
2773
|
-
# source://rack//lib/rack/utils.rb#
|
|
2809
|
+
# source://rack//lib/rack/utils.rb#349
|
|
2774
2810
|
Rack::Utils::VALID_COOKIE_KEY = T.let(T.unsafe(nil), Regexp)
|