net/http HTTPResponse status

ruby 代码
 
  1. # Here is HTTP request class hierarchy.  
  2.  #  
  3.  #   Net::HTTPRequest  
  4.  #       Net::HTTP::Get  
  5.  #       Net::HTTP::Head  
  6.  #       Net::HTTP::Post  
  7.  #       Net::HTTP::Put  
  8.  #       Net::HTTP::Proppatch  
  9.  #       Net::HTTP::Lock  
  10.  #       Net::HTTP::Unlock  
  11.  #       Net::HTTP::Options  
  12.  #       Net::HTTP::Propfind  
  13.  #       Net::HTTP::Delete  
  14.  #       Net::HTTP::Move  
  15.  #       Net::HTTP::Copy  
  16.  #       Net::HTTP::Mkcol  
  17.  #       Net::HTTP::Trace  
  18.  #  
  19.  # === HTTP Response Classes  
  20.  #  
  21.  # Here is HTTP response class hierarchy.  
  22.  # All classes are defined in Net module.  
  23.  #  
  24.  #   HTTPResponse  
  25.  #       HTTPUnknownResponse  
  26.  #       HTTPInformation                    # 1xx  
  27.  #           HTTPContinue                       # 100  
  28.  #           HTTPSwitchProtocl                  # 101  
  29.  #       HTTPSuccess                        # 2xx  
  30.  #           HTTPOK                             # 200  
  31.  #           HTTPCreated                        # 201  
  32.  #           HTTPAccepted                       # 202  
  33.  #           HTTPNonAuthoritativeInformation    # 203  
  34.  #           HTTPNoContent                      # 204  
  35.  #           HTTPResetContent                   # 205  
  36.  #           HTTPPartialContent                 # 206  
  37.  #       HTTPRedirection                    # 3xx  
  38.  #           HTTPMultipleChoice                 # 300  
  39.  #           HTTPMovedPermanently               # 301  
  40.  #           HTTPFound                          # 302  
  41.  #           HTTPSeeOther                       # 303  
  42.  #           HTTPNotModified                    # 304  
  43.  #           HTTPUseProxy                       # 305  
  44.  #           HTTPTemporaryRedirect              # 307  
  45.  #       HTTPClientError                    # 4xx  
  46.  #           HTTPBadRequest                     # 400  
  47.  #           HTTPUnauthorized                   # 401  
  48.  #           HTTPPaymentRequired                # 402  
  49.  #           HTTPForbidden                      # 403  
  50.  #           HTTPNotFound                       # 404  
  51.  #           HTTPMethodNotAllowed               # 405  
  52.  #           HTTPNotAcceptable                  # 406  
  53.  #           HTTPProxyAuthenticationRequired    # 407  
  54.  #           HTTPRequestTimeOut                 # 408  
  55.  #           HTTPConflict                       # 409  
  56.  #           HTTPGone                           # 410  
  57.  #           HTTPLengthRequired                 # 411  
  58.  #           HTTPPreconditionFailed             # 412  
  59.  #           HTTPRequestEntityTooLarge          # 413  
  60.  #           HTTPRequestURITooLong              # 414  
  61.  #           HTTPUnsupportedMediaType           # 415  
  62.  #           HTTPRequestedRangeNotSatisfiable   # 416  
  63.  #           HTTPExpectationFailed              # 417  
  64.  #       HTTPServerError                    # 5xx  
  65.  #           HTTPInternalServerError            # 500  
  66.  #           HTTPNotImplemented                 # 501  
  67.  #           HTTPBadGateway                     # 502  
  68.  #           HTTPServiceUnavailable             # 503  
  69.  #           HTTPGatewayTimeOut                 # 504  
  70.  #           HTTPVersionNotSupported            # 505  
  71.    
  72.  # == Switching Net::HTTP versions  

你可能感兴趣的:(.net,Ruby)