X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/d9f3acb221a71e094318c7b5d3809aa81dbb5bb3..4b924b1351d4a8ea42652533081a3ea62df110e4:/lib/PLP/Fields.pm diff --git a/lib/PLP/Fields.pm b/lib/PLP/Fields.pm index 01f3baf..212dec5 100644 --- a/lib/PLP/Fields.pm +++ b/lib/PLP/Fields.pm @@ -3,6 +3,8 @@ 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. sub doit { @@ -115,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