method
set_redirect
set_redirect(status, url)
public
Hide source
# File lib/webrick/httpresponse.rb, line 196 def set_redirect(status, url) @body = "<HTML><A HREF=\"#{url.to_s}\">#{url.to_s}</A>.</HTML>\n" @header['location'] = url.to_s raise status end