Class Rex::Proto::Http::Packet::Header
In: lib/rex/proto/http/header.rb
Parent: Hash

Represents the logical HTTP header portion of an HTTP packet (request or response).

Methods

[]   []=   from_a   from_s   new   reset   to_s  

Attributes

cmd_string  [RW] 
fold  [RW] 
junk_headers  [RW]  The raw command string associated with the header which will vary between requests and responses.

Public Class methods

Initializes an HTTP packet header class that inherits from a Hash base class.

Public Instance methods

More advanced [] that does downcase comparison.

More advanced []= that does downcase storage.

Brings in from an array like yo.

Parses a header from a string.

XXX - Putting : in a header value fucks this up pretty badly

Flushes all header pairs.

Converts the header to a string.

[Validate]