output multiline %headers as multiple headers of the same name
[perl/plp/.git] / lib / PLP / Fields.pm
index cd68e3655d6abf6d20c164d89fbcb8fed82383dc..212dec5c8e7486935cefd448bd48158458155299 100644 (file)
@@ -117,6 +117,10 @@ when sending the headers is the one you used first. The following are equal:
     $header{Content_Type}
     $headers{CONTENT_type}
 
+If a value contains newlines, the header is repeated for each line:
+
+       $header{Allow} = "HEAD\nGET";  # equivalent to HEAD,GET
+
 =back
 
 =head1 AUTHOR