On Tue, Jul 08, 2003 at 10:46:51PM +0000, Mark wrote: > The "X-Spam-Level" header has no value! Not to be fuzzy, but is that not > illegal?
Not the last time I checked:
unstructured = *([FWS] utext) [FWS]
optional-field = field-name ":" unstructured CRLF
So by definition, there doesn't need to be anything on the line except
'field-name ":" CRLF'. Headers aren't guaranteed to have a value.
> ($field_name, $field_body) = split (/: */, $line, 2);
>
> And thus potentially mark the body-field as absent.
That's valid. If undefined, the code should set it to blank ('').
If the code expects there to always be a non-whitespace value in the
field body, that's the code's problem.
--
Randomly Generated Tagline:
"a company that treats its workers like people is a company that retains
its workers." - [EMAIL PROTECTED]
pgp00000.pgp
Description: PGP signature
