Skip to content

Commit

Permalink
Ignore empty header line.
Browse files Browse the repository at this point in the history
  • Loading branch information
jocelyn committed Aug 5, 2016
1 parent c88394b commit cc2d7db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/network/protocol/http/src/http_header.e
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ feature -- Header: adding
if line [line.count] = '%R' then
line.remove_tail (1)
end
add_header (line)
if not line.is_empty then
add_header (line)
end
end
end
end
Expand Down

0 comments on commit cc2d7db

Please sign in to comment.