class OpenURI::HTTPRedirect

Raised on redirection, only occurs when redirect option for HTTP is false.

Attributes

uri[R]

Public Class Methods

new(message, io, uri) click to toggle source
Calls superclass method OpenURI::HTTPError::new
# File lib/open-uri.rb, line 393
def initialize(message, io, uri)
  super(message, io)
  @uri = uri
end