@@ -298,98 +298,110 @@ class HTTPHeaderSyntaxError < StandardError; end
298
298
#
299
299
# Compression can be disabled through the Accept-Encoding: identity header.
300
300
#
301
- # == HTTP Request Classes
302
- #
303
- # Here is the HTTP request class hierarchy.
304
- #
305
- # * Net::HTTPRequest
306
- # * Net::HTTP::Get
307
- # * Net::HTTP::Head
308
- # * Net::HTTP::Post
309
- # * Net::HTTP::Patch
310
- # * Net::HTTP::Put
311
- # * Net::HTTP::Proppatch
312
- # * Net::HTTP::Lock
313
- # * Net::HTTP::Unlock
314
- # * Net::HTTP::Options
315
- # * Net::HTTP::Propfind
316
- # * Net::HTTP::Delete
317
- # * Net::HTTP::Move
318
- # * Net::HTTP::Copy
319
- # * Net::HTTP::Mkcol
320
- # * Net::HTTP::Trace
321
- #
322
- # == HTTP Response Classes
323
- #
324
- # Here is HTTP response class hierarchy. All classes are defined in Net
325
- # module and are subclasses of Net::HTTPResponse.
326
- #
327
- # HTTPUnknownResponse:: For unhandled HTTP extensions
328
- # HTTPInformation:: 1xx
329
- # HTTPContinue:: 100
330
- # HTTPSwitchProtocol:: 101
331
- # HTTPProcessing:: 102
332
- # HTTPEarlyHints:: 103
333
- # HTTPSuccess:: 2xx
334
- # HTTPOK:: 200
335
- # HTTPCreated:: 201
336
- # HTTPAccepted:: 202
337
- # HTTPNonAuthoritativeInformation:: 203
338
- # HTTPNoContent:: 204
339
- # HTTPResetContent:: 205
340
- # HTTPPartialContent:: 206
341
- # HTTPMultiStatus:: 207
342
- # HTTPAlreadyReported:: 208
343
- # HTTPIMUsed:: 226
344
- # HTTPRedirection:: 3xx
345
- # HTTPMultipleChoices:: 300
346
- # HTTPMovedPermanently:: 301
347
- # HTTPFound:: 302
348
- # HTTPSeeOther:: 303
349
- # HTTPNotModified:: 304
350
- # HTTPUseProxy:: 305
351
- # HTTPTemporaryRedirect:: 307
352
- # HTTPPermanentRedirect:: 308
353
- # HTTPClientError:: 4xx
354
- # HTTPBadRequest:: 400
355
- # HTTPUnauthorized:: 401
356
- # HTTPPaymentRequired:: 402
357
- # HTTPForbidden:: 403
358
- # HTTPNotFound:: 404
359
- # HTTPMethodNotAllowed:: 405
360
- # HTTPNotAcceptable:: 406
361
- # HTTPProxyAuthenticationRequired:: 407
362
- # HTTPRequestTimeOut:: 408
363
- # HTTPConflict:: 409
364
- # HTTPGone:: 410
365
- # HTTPLengthRequired:: 411
366
- # HTTPPreconditionFailed:: 412
367
- # HTTPRequestEntityTooLarge:: 413
368
- # HTTPRequestURITooLong:: 414
369
- # HTTPUnsupportedMediaType:: 415
370
- # HTTPRequestedRangeNotSatisfiable:: 416
371
- # HTTPExpectationFailed:: 417
372
- # HTTPMisdirectedRequest:: 421
373
- # HTTPUnprocessableEntity:: 422
374
- # HTTPLocked:: 423
375
- # HTTPFailedDependency:: 424
376
- # HTTPUpgradeRequired:: 426
377
- # HTTPPreconditionRequired:: 428
378
- # HTTPTooManyRequests:: 429
379
- # HTTPRequestHeaderFieldsTooLarge:: 431
380
- # HTTPUnavailableForLegalReasons:: 451
381
- # HTTPServerError:: 5xx
382
- # HTTPInternalServerError:: 500
383
- # HTTPNotImplemented:: 501
384
- # HTTPBadGateway:: 502
385
- # HTTPServiceUnavailable:: 503
386
- # HTTPGatewayTimeOut:: 504
387
- # HTTPVersionNotSupported:: 505
388
- # HTTPVariantAlsoNegotiates:: 506
389
- # HTTPInsufficientStorage:: 507
390
- # HTTPLoopDetected:: 508
391
- # HTTPNotExtended:: 510
392
- # HTTPNetworkAuthenticationRequired:: 511
301
+ # == \HTTP Request Classes
302
+ #
303
+ # Here is the hierarchy of \HTTP request classes
304
+ #
305
+ # - Net::HTTPRequest
306
+ #
307
+ # - Net::HTTP::Get
308
+ # - Net::HTTP::Head
309
+ # - Net::HTTP::Post
310
+ # - Net::HTTP::Patch
311
+ # - Net::HTTP::Put
312
+ # - Net::HTTP::Proppatch
313
+ # - Net::HTTP::Lock
314
+ # - Net::HTTP::Unlock
315
+ # - Net::HTTP::Options
316
+ # - Net::HTTP::Propfind
317
+ # - Net::HTTP::Delete
318
+ # - Net::HTTP::Move
319
+ # - Net::HTTP::Copy
320
+ # - Net::HTTP::Mkcol
321
+ # - Net::HTTP::Trace
322
+ #
323
+ # == \HTTP Response Classes
324
+ #
325
+ # Here is the \HTTP response class hierarchy (with status codes):
326
+ #
327
+ # - Net::HTTPResponse:
328
+ #
329
+ # - Net::HTTPUnknownResponse (for unhandled \HTTP extensions).
330
+ #
331
+ # - Net::HTTPInformation:
332
+ #
333
+ # - Net::HTTPContinue (100)
334
+ # - Net::HTTPSwitchProtocol (101)
335
+ # - Net::HTTPProcessing (102)
336
+ # - Net::HTTPEarlyHints (103)
337
+ #
338
+ # - Net::HTTPSuccess:
339
+ #
340
+ # - Net::HTTPOK (200)
341
+ # - Net::HTTPCreated (201)
342
+ # - Net::HTTPAccepted (202)
343
+ # - Net::HTTPNonAuthoritativeInformation (203)
344
+ # - Net::HTTPNoContent (204)
345
+ # - Net::HTTPResetContent (205)
346
+ # - Net::HTTPPartialContent (206)
347
+ # - Net::HTTPMultiStatus (207)
348
+ # - Net::HTTPAlreadyReported (208)
349
+ # - Net::HTTPIMUsed (226)
350
+ #
351
+ # - HTTPRedirection:
352
+ #
353
+ # - Net::HTTPMultipleChoices (300)
354
+ # - Net::HTTPMovedPermanently (301)
355
+ # - Net::HTTPFound (302)
356
+ # - Net::HTTPSeeOther (303)
357
+ # - Net::HTTPNotModified (304)
358
+ # - Net::HTTPUseProxy (305)
359
+ # - Net::HTTPTemporaryRedirect (307)
360
+ # - Net::HTTPPermanentRedirect (308)
361
+ #
362
+ # - Net::HTTPClientError:
363
+ #
364
+ # - Net::HTTPBadRequest (400)
365
+ # - Net::HTTPUnauthorized (401)
366
+ # - Net::HTTPPaymentRequired (402)
367
+ # - Net::HTTPForbidden (403)
368
+ # - Net::HTTPNotFound (404)
369
+ # - Net::HTTPMethodNotAllowed (405)
370
+ # - Net::HTTPNotAcceptable (406)
371
+ # - Net::HTTPProxyAuthenticationRequired (407)
372
+ # - Net::HTTPRequestTimeOut (408)
373
+ # - Net::HTTPConflict (409)
374
+ # - Net::HTTPGone (410)
375
+ # - Net::HTTPLengthRequired (411)
376
+ # - Net::HTTPPreconditionFailed (412)
377
+ # - Net::HTTPRequestEntityTooLarge (413)
378
+ # - Net::HTTPRequestURITooLong (414)
379
+ # - Net::HTTPUnsupportedMediaType (415)
380
+ # - Net::HTTPRequestedRangeNotSatisfiable (416)
381
+ # - Net::HTTPExpectationFailed (417)
382
+ # - Net::HTTPMisdirectedRequest (421)
383
+ # - Net::HTTPUnprocessableEntity (422)
384
+ # - Net::HTTPLocked (423)
385
+ # - Net::HTTPFailedDependency (424)
386
+ # - Net::HTTPUpgradeRequired (426)
387
+ # - Net::HTTPPreconditionRequired (428)
388
+ # - Net::HTTPTooManyRequests (429)
389
+ # - Net::HTTPRequestHeaderFieldsTooLarge (431)
390
+ # - Net::HTTPUnavailableForLegalReasons (451)
391
+ #
392
+ # - Net::HTTPServerError:
393
+ #
394
+ # - Net::HTTPInternalServerError (500)
395
+ # - Net::HTTPNotImplemented (501)
396
+ # - Net::HTTPBadGateway (502)
397
+ # - Net::HTTPServiceUnavailable (503)
398
+ # - Net::HTTPGatewayTimeOut (504)
399
+ # - Net::HTTPVersionNotSupported (505)
400
+ # - Net::HTTPVariantAlsoNegotiates (506)
401
+ # - Net::HTTPInsufficientStorage (507)
402
+ # - Net::HTTPLoopDetected (508)
403
+ # - Net::HTTPNotExtended (510)
404
+ # - Net::HTTPNetworkAuthenticationRequired (511)
393
405
#
394
406
# There is also the Net::HTTPBadResponse exception which is raised when
395
407
# there is a protocol error.
0 commit comments