Ignore empty header line.
This commit is contained in:
@@ -180,10 +180,12 @@ feature -- Header: adding
|
|||||||
if line [line.count] = '%R' then
|
if line [line.count] = '%R' then
|
||||||
line.remove_tail (1)
|
line.remove_tail (1)
|
||||||
end
|
end
|
||||||
|
if not line.is_empty then
|
||||||
add_header (line)
|
add_header (line)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
append_array (a_headers: ARRAY [TUPLE [key: READABLE_STRING_8; value: READABLE_STRING_8]])
|
append_array (a_headers: ARRAY [TUPLE [key: READABLE_STRING_8; value: READABLE_STRING_8]])
|
||||||
-- Append array of key,value headers
|
-- Append array of key,value headers
|
||||||
|
|||||||
Reference in New Issue
Block a user