@@ -327,6 +327,8 @@ class HTTPHeaderSyntaxError < StandardError; end
327
327
# HTTPInformation:: 1xx
328
328
# HTTPContinue:: 100
329
329
# HTTPSwitchProtocol:: 101
330
+ # HTTPProcessing:: 102
331
+ # HTTPEarlyHints:: 103
330
332
# HTTPSuccess:: 2xx
331
333
# HTTPOK:: 200
332
334
# HTTPCreated:: 201
@@ -336,6 +338,7 @@ class HTTPHeaderSyntaxError < StandardError; end
336
338
# HTTPResetContent:: 205
337
339
# HTTPPartialContent:: 206
338
340
# HTTPMultiStatus:: 207
341
+ # HTTPAlreadyReported:: 208
339
342
# HTTPIMUsed:: 226
340
343
# HTTPRedirection:: 3xx
341
344
# HTTPMultipleChoices:: 300
@@ -345,6 +348,7 @@ class HTTPHeaderSyntaxError < StandardError; end
345
348
# HTTPNotModified:: 304
346
349
# HTTPUseProxy:: 305
347
350
# HTTPTemporaryRedirect:: 307
351
+ # HTTPPermanentRedirect:: 308
348
352
# HTTPClientError:: 4xx
349
353
# HTTPBadRequest:: 400
350
354
# HTTPUnauthorized:: 401
@@ -364,6 +368,7 @@ class HTTPHeaderSyntaxError < StandardError; end
364
368
# HTTPUnsupportedMediaType:: 415
365
369
# HTTPRequestedRangeNotSatisfiable:: 416
366
370
# HTTPExpectationFailed:: 417
371
+ # HTTPMisdirectedRequest:: 421
367
372
# HTTPUnprocessableEntity:: 422
368
373
# HTTPLocked:: 423
369
374
# HTTPFailedDependency:: 424
@@ -379,7 +384,10 @@ class HTTPHeaderSyntaxError < StandardError; end
379
384
# HTTPServiceUnavailable:: 503
380
385
# HTTPGatewayTimeOut:: 504
381
386
# HTTPVersionNotSupported:: 505
387
+ # HTTPVariantAlsoNegotiates:: 506
382
388
# HTTPInsufficientStorage:: 507
389
+ # HTTPLoopDetected:: 508
390
+ # HTTPNotExtended:: 510
383
391
# HTTPNetworkAuthenticationRequired:: 511
384
392
#
385
393
# There is also the Net::HTTPBadResponse exception which is raised when
0 commit comments