start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: as_string Chapter 17
The LWP Library
Next: Reference: code
 

base

 $

resp


->base
()

Returns the base URL of the response. If the response was hypertext, any links from the hypertext should be relative to the location returned by this method. LWP looks for the BASE tag in HTML and Content-Base/Content-Location HTTP headers for a base specification. If a base was not explicitly defined by the server, LWP uses the requesting URL as the base.


Previous: Reference: as_string Perl in a Nutshell Next: Reference: code
Reference: as_string Book Index Reference: code