sorbet/rbi/gems/webrick@1.7.0.rbi in m2m_keygen-0.3.0 vs sorbet/rbi/gems/webrick@1.7.0.rbi in m2m_keygen-0.4.0
- old
+ new
@@ -1198,10 +1198,13 @@
# Sets the response header +field+ to +value+
#
# source://webrick-1.7.0/lib/webrick/httpresponse.rb:157
def []=(field, value); end
+ # source://webrick-1.7.0/lib/webrick/httpresponse.rb:240
+ def _rack_setup_header; end
+
# Body may be:
# * a String;
# * an IO-like object that responds to +#read+ and +#readpartial+;
# * a Proc-like object that responds to +#call+.
#
@@ -1401,14 +1404,9 @@
#
# res.set_redirect WEBrick::HTTPStatus::TemporaryRedirect
#
# source://webrick-1.7.0/lib/webrick/httpresponse.rb:373
def set_redirect(status, url); end
-
- # Sets up the headers for sending
- #
- # source://webrick-1.7.0/lib/webrick/httpresponse.rb:240
- def setup_header; end
# Response status code (200)
#
# source://webrick-1.7.0/lib/webrick/httpresponse.rb:36
def status; end