summaryrefslogtreecommitdiff
path: root/lib/net/http/responses.rb
diff options
context:
space:
mode:
-rw-r--r--lib/net/http/responses.rb4
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,9 @@ end
class Net::HTTPProcessing < Net::HTTPInformation # 102
HAS_BODY = false
end
class Net::HTTPOK < Net::HTTPSuccess # 200
HAS_BODY = true
@@ -232,6 +235,7 @@ class Net::HTTPResponse
'100' => Net::HTTPContinue,
'101' => Net::HTTPSwitchProtocol,
'102' => Net::HTTPProcessing,
'200' => Net::HTTPOK,
'201' => Net::HTTPCreated,