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 open-uri.rb, line 391
def initialize(message, io, uri)
  super(message, io)
  @uri = uri
end