On 28 Sep 2000, Perl6 RFC Librarian wrote:
> =head1 TITLE
>
> Add C<header> and C<unheader> funtions to core distribution
>
> The C<header>
> function would simply:
>
> 1. uc the first letter of each tag token and lc the
> rest, also converting _'s to -'s automatically
>
> 2. Add a colon separating each tag and its value,
> and exactly one newline after each one
>
> 3. Combine list elements into a comma-delimited
> string
>
> 4. Append a singular newline as the last element of
> the list
>
This just in from RFC 2068 HTTP/1.1 - 4.2 Message Headers:
The field value may be preceded by any amount of LWS, though a single SP
is preferred. Header fields can be extended over multiple lines by
preceding each extra line with at least one SP or HT.
Alan Gutierrez