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

@@ -22,7 +22,7 @@ class
HTTP_HEADER
inherit
ANY
ITERABLE [READABLE_STRING_8]
create
make,
@@ -149,6 +149,14 @@ feature -- Access
Result := res
end
feature -- Access
new_cursor: INDEXABLE_ITERATION_CURSOR [READABLE_STRING_8]
-- Fresh cursor associated with current structure
do
Result := headers.new_cursor
end
feature -- Header: filling
append_array (a_headers: ARRAY [TUPLE [key: READABLE_STRING_8; value: READABLE_STRING_8]])