home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.