Class: OpenURI::HTTPRedirect (Ruby 2.2.4)
Description: Class : OpenURI::HTTPRedirect - Ruby 2.2.4

- Home
- Core 2.2.4
- Std-lib 2.2.4
- Downloads

Support for the Ruby 2.2 series has ended. See here for reference.

### Home Classes Methods

### In Files

- open-uri.rb

### Parent

OpenURI::HTTPError

### Methods

- ::new

### Class/Module Index

Quicksearch

- Kernel
- OpenURI
- OpenURI::HTTPError
- OpenURI::HTTPRedirect
- OpenURI::Meta
- OpenURI::OpenRead
- URI
- URI::FTP
- URI::HTTP

No matching classes.

# 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

                   # File open-uri.rb, line 373
    def initialize(message, io, uri)
      super(message, io)
      @uri = uri
    end