Project

General

Profile

Feature #14316 ยป 0002-Add-103-Early-Hints.patch

znz (Kazuhiro NISHIYAMA), 01/05/2018 01:51 PM

View differences:

lib/net/http/responses.rb
35 35
class Net::HTTPProcessing < Net::HTTPInformation         # 102
36 36
  HAS_BODY = false
37 37
end
38
class Net::HTTPEarlyHints < Net::HTTPInformation         # 103 - RFC 8297
39
  HAS_BODY = false
40
end
38 41

  
39 42
class Net::HTTPOK < Net::HTTPSuccess                            # 200
40 43
  HAS_BODY = true
......
232 235
    '100' => Net::HTTPContinue,
233 236
    '101' => Net::HTTPSwitchProtocol,
234 237
    '102' => Net::HTTPProcessing,
238
    '103' => Net::HTTPEarlyHints,
235 239

  
236 240
    '200' => Net::HTTPOK,
237 241
    '201' => Net::HTTPCreated,
238
-