Fixed WSF_RESPONSE chunk transfer implementation

and also the optional extension `a_ext' should now include the ';'
Now HTTP_HEADER is an ITERABLE [READABLE_STRING_8]
This commit is contained in:
Jocelyn Fiat
2012-12-19 11:45:59 +01:00
parent f3aeb67e16
commit 59f19dc52f
3 changed files with 54 additions and 34 deletions

View File

@@ -47,16 +47,15 @@ feature {WSF_RESPONSE} -- Output
s.append (l_header.to_string_8)
s.append_character ('%N')
else
s := ""
create s.make_empty
end
if req.is_chunked_input then
h.put_transfer_encoding_chunked
res.put_header_text (h.string)
res.put_chunk (s, Void)
if attached req.input as l_input then
from
n := 1_024
n := 8_192
until
n = 0
loop