X-Git-Url: http://git.shiar.nl/perl/plp/.git/blobdiff_plain/b5e0ee87251670be18b2f2fc128a4be0b25ebfb8..4b924b1351d4a8ea42652533081a3ea62df110e4:/lib/PLP/Fields.pm diff --git a/lib/PLP/Fields.pm b/lib/PLP/Fields.pm index 7f07c4e..212dec5 100644 --- a/lib/PLP/Fields.pm +++ b/lib/PLP/Fields.pm @@ -1,6 +1,9 @@ package PLP::Fields; use strict; +use warnings; + +our $VERSION = '1.00'; # Has only one function: doit(), which ties the hashes %get, %post, %fields # and %header in PLP::Script. Also generates %cookie immediately. @@ -114,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