Harvest::Object::Headers - a set of protocol headers | |
| |
DESCRIPTION | |
This class encapsulates the protocol headers produced when an object is fetched from a remote server. It is designed primarily for internal use, by the Harvest::Object module
| |
METHODS | |
| |
$headers = new Harvest::Object::Headers | |
Create a new headers object
| |
$headers->set($header,$value) | |
Set the given header to the given value. Headers are treated as being case sensitive.
| |
$headers->get($header) | |
Return the value of $header, or undef if its not present. Again, headers are case insensitive.
| |
$headers->elements; | |
Return all of the headers contained in the structure | |