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.
@@ -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#89
322
+ # source://rack//lib/rack/directory.rb#90
323
323
  def call(env); end
324
324
 
325
- # source://rack//lib/rack/directory.rb#109
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#119
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#181
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#197
334
+ # source://rack//lib/rack/directory.rb#200
335
335
  def filesize_format(int); end
336
336
 
337
- # source://rack//lib/rack/directory.rb#96
337
+ # source://rack//lib/rack/directory.rb#97
338
338
  def get(env); end
339
339
 
340
- # source://rack//lib/rack/directory.rb#130
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#171
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#163
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#189
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#13
1019
+ # source://rack//lib/rack/mock_response.rb#12
1020
1020
  class Rack::MockResponse < ::Rack::Response
1021
- # source://rack//lib/rack/mock_response.rb#24
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#39
1024
+ # source://rack//lib/rack/mock_response.rb#68
1025
1025
  def =~(other); end
1026
1026
 
1027
- # source://rack//lib/rack/mock_response.rb#47
1027
+ # source://rack//lib/rack/mock_response.rb#76
1028
1028
  def body; end
1029
1029
 
1030
- # source://rack//lib/rack/mock_response.rb#73
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#19
1033
+ # source://rack//lib/rack/mock_response.rb#48
1034
1034
  def cookies; end
1035
1035
 
1036
- # source://rack//lib/rack/mock_response.rb#69
1036
+ # source://rack//lib/rack/mock_response.rb#98
1037
1037
  def empty?; end
1038
1038
 
1039
- # source://rack//lib/rack/mock_response.rb#22
1039
+ # source://rack//lib/rack/mock_response.rb#51
1040
1040
  def errors; end
1041
1041
 
1042
- # source://rack//lib/rack/mock_response.rb#22
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#43
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#19
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#100
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#79
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#34
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#36
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#37
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#35
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#39
1176
+ # source://rack//lib/rack/multipart/parser.rb#41
1168
1177
  class Rack::Multipart::Parser
1169
- # source://rack//lib/rack/multipart/parser.rb#200
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#217
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#240
1184
+ # source://rack//lib/rack/multipart/parser.rb#287
1176
1185
  def result; end
1177
1186
 
1178
- # source://rack//lib/rack/multipart/parser.rb#198
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#434
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#252
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#489
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#294
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#495
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#271
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#411
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#306
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#443
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#258
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#456
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#87
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#80
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#40
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#48
1246
+ # source://rack//lib/rack/multipart/parser.rb#78
1229
1247
  class Rack::Multipart::Parser::BoundedIO
1230
- # source://rack//lib/rack/multipart/parser.rb#49
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#55
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#453
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#305
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#304
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#107
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#143
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#149
1274
+ # source://rack//lib/rack/multipart/parser.rb#191
1254
1275
  def each; end
1255
1276
 
1256
- # source://rack//lib/rack/multipart/parser.rb#169
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#173
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#153
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#178
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#131
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#133
1294
+ # source://rack//lib/rack/multipart/parser.rb#175
1274
1295
  def close; end
1275
1296
 
1276
- # source://rack//lib/rack/multipart/parser.rb#132
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#108
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#109
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#136
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#138
1309
+ # source://rack//lib/rack/multipart/parser.rb#180
1289
1310
  def close; end
1290
1311
 
1291
- # source://rack//lib/rack/multipart/parser.rb#137
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#78
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#77
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#42
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#41
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#60
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#192
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#196
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#120
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#99
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#71
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#124
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#218
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#206
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#202
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#234
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#238
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#607
1803
+ # source://rack//lib/rack/request.rb#610
1774
1804
  def accept_encoding; end
1775
1805
 
1776
- # source://rack//lib/rack/request.rb#611
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#590
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#585
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#603
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#556
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#599
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#615
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#565
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#595
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#620
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#776
1979
+ # source://rack//lib/rack/request.rb#779
1950
1980
  def allowed_scheme(header); end
1951
1981
 
1952
- # source://rack//lib/rack/request.rb#628
1982
+ # source://rack//lib/rack/request.rb#631
1953
1983
  def default_session; end
1954
1984
 
1955
- # source://rack//lib/rack/request.rb#684
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#780
1988
+ # source://rack//lib/rack/request.rb#783
1959
1989
  def forwarded_priority; end
1960
1990
 
1961
- # source://rack//lib/rack/request.rb#752
1991
+ # source://rack//lib/rack/request.rb#755
1962
1992
  def forwarded_scheme; end
1963
1993
 
1964
- # source://rack//lib/rack/request.rb#668
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#644
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#680
2000
+ # source://rack//lib/rack/request.rb#683
1971
2001
  def parse_multipart; end
1972
2002
 
1973
- # source://rack//lib/rack/request.rb#676
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#672
2006
+ # source://rack//lib/rack/request.rb#675
1977
2007
  def query_parser; end
1978
2008
 
1979
- # source://rack//lib/rack/request.rb#743
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#737
2012
+ # source://rack//lib/rack/request.rb#740
1983
2013
  def split_authority(authority); end
1984
2014
 
1985
- # source://rack//lib/rack/request.rb#694
2015
+ # source://rack//lib/rack/request.rb#697
1986
2016
  def split_header(value); end
1987
2017
 
1988
- # source://rack//lib/rack/request.rb#631
2018
+ # source://rack//lib/rack/request.rb#634
1989
2019
  def wrap_ipv6(host); end
1990
2020
 
1991
- # source://rack//lib/rack/request.rb#784
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#722
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#747
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#104
2377
+ # source://rack//lib/rack/sendfile.rb#121
2348
2378
  class Rack::Sendfile
2349
- # source://rack//lib/rack/sendfile.rb#105
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#113
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#154
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#148
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#109
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#167
2483
+ # source://rack//lib/rack/static.rb#170
2451
2484
  def applicable_rules(path); end
2452
2485
 
2453
- # source://rack//lib/rack/static.rb#125
2486
+ # source://rack//lib/rack/static.rb#128
2454
2487
  def call(env); end
2455
2488
 
2456
- # source://rack//lib/rack/static.rb#121
2489
+ # source://rack//lib/rack/static.rb#124
2457
2490
  def can_serve(path); end
2458
2491
 
2459
- # source://rack//lib/rack/static.rb#113
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#117
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#167
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#409
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#609
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#367
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#363
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#391
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#262
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#149
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#413
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#253
2582
+ # source://rack//lib/rack/utils.rb#343
2550
2583
  def parse_cookies(env); end
2551
2584
 
2552
- # source://rack//lib/rack/utils.rb#234
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#402
2597
+ # source://rack//lib/rack/utils.rb#492
2565
2598
  def rfc2822(time); end
2566
2599
 
2567
- # source://rack//lib/rack/utils.rb#455
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#192
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#294
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#337
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#589
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#626
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#167
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#409
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#609
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#367
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#363
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#391
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#262
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#149
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#413
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#253
2699
+ # source://rack//lib/rack/utils.rb#343
2667
2700
  def parse_cookies(env); end
2668
2701
 
2669
- # source://rack//lib/rack/utils.rb#234
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#402
2714
+ # source://rack//lib/rack/utils.rb#492
2682
2715
  def rfc2822(time); end
2683
2716
 
2684
- # source://rack//lib/rack/utils.rb#455
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#192
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#294
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#337
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#589
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#626
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#478
2749
+ # source://rack//lib/rack/utils.rb#570
2714
2750
  class Rack::Utils::Context
2715
- # source://rack//lib/rack/utils.rb#481
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#479
2754
+ # source://rack//lib/rack/utils.rb#571
2719
2755
  def app; end
2720
2756
 
2721
- # source://rack//lib/rack/utils.rb#486
2757
+ # source://rack//lib/rack/utils.rb#578
2722
2758
  def call(env); end
2723
2759
 
2724
- # source://rack//lib/rack/utils.rb#494
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#479
2763
+ # source://rack//lib/rack/utils.rb#571
2728
2764
  def for; end
2729
2765
 
2730
- # source://rack//lib/rack/utils.rb#490
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#505
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#624
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#575
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#583
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#607
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#569
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#571
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#259
2809
+ # source://rack//lib/rack/utils.rb#349
2774
2810
  Rack::Utils::VALID_COOKIE_KEY = T.let(T.unsafe(nil), Regexp)