git.shiar.nl
/
perl
/
plp
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
output multiline %headers as multiple headers of the same name
[perl/plp/.git]
/
lib
/
PLP
/
Fields.pm
diff --git
a/lib/PLP/Fields.pm
b/lib/PLP/Fields.pm
index cd68e3655d6abf6d20c164d89fbcb8fed82383dc..212dec5c8e7486935cefd448bd48158458155299 100644
(file)
--- a/
lib/PLP/Fields.pm
+++ b/
lib/PLP/Fields.pm
@@
-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