Class: Borges::Request

# Borges::Request (Class)

In: | lib/Borges/Utilities/Request.rb lib/Borges/DRb.rb
Parent: | Object

Borges’ internal HTTP request representation

## Methods

new parse_auth parse_url

## Attributes

action_key | [R] |
cookies | [R] |
fields | [R] |
handler_key | [R] |
headers | [R] |
password | [R] |
path | [R] |
url | [R] |
username | [R] |

## Included Modules

DRb::DRbUndumped

## Public Class methods

new(url, headers, fields, cookies)

Construct a Request from a `url`, the request `headers`, the query/POST `fields`, and the `cookies`.

NOTE: The URL is really the path portion of a URI, not including the host.

## Public Instance methods

parse_auth()

Parse and store Basic authentication, if any

parse_url()

Parse and store pieces of the URL

[Validate]