Reference: push_header (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: headerChapter 17
The LWP Library
Next: Reference: remove_header
 

push_header

 $h->push_header(field => val)

Adds a new header field and value to the object. Previous values of the field are not removed.

$h->push_header(Accept => 'image/jpeg');


Previous: Reference: headerPerl in a NutshellNext: Reference: remove_header
Reference: headerBook IndexReference: remove_header

Library Navigation Links

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