diff --git a/contrib/library/server/nino b/contrib/library/server/nino index faafa894..800815c8 160000 --- a/contrib/library/server/nino +++ b/contrib/library/server/nino @@ -1 +1 @@ -Subproject commit faafa894c224352a545f8f8c12762eff21864f98 +Subproject commit 800815c8dd216b3b3a09df2e33b7d6ab7db0750e diff --git a/library/server/ewsgi/connectors/nino/src/wgi_nino_output_stream.e b/library/server/ewsgi/connectors/nino/src/wgi_nino_output_stream.e index e7d99599..e672062f 100644 --- a/library/server/ewsgi/connectors/nino/src/wgi_nino_output_stream.e +++ b/library/server/ewsgi/connectors/nino/src/wgi_nino_output_stream.e @@ -60,10 +60,10 @@ feature -- Status writing feature -- Output - put_string (s: STRING_8) + put_string (s: READABLE_STRING_8) -- Send `s' to http client do - target.put_string (s) + target.put_readable_string_8 (s) end put_character_8 (c: CHARACTER_8) diff --git a/library/server/ewsgi/src/wgi_output_stream.e b/library/server/ewsgi/src/wgi_output_stream.e index 35be6389..d5b0ab14 100644 --- a/library/server/ewsgi/src/wgi_output_stream.e +++ b/library/server/ewsgi/src/wgi_output_stream.e @@ -13,7 +13,7 @@ deferred class feature -- Output - put_string (a_string: STRING_8) + put_string (a_string: READABLE_STRING_8) -- Write `a_string' to output stream. require is_open_write: is_open_write @@ -21,7 +21,7 @@ feature -- Output deferred end - put_substring (a_string: STRING; s, e: INTEGER) + put_substring (a_string: READABLE_STRING_8; s, e: INTEGER) -- Write substring of `a_string' between indexes -- `s' and `e' to output stream. --| Could be redefined for optimization @@ -46,7 +46,7 @@ feature -- Output put_string (c.out) end - put_file_content (fn: STRING) + put_file_content (fn: READABLE_STRING_8) -- Send the content of file `fn' require string_not_empty: not fn.is_empty @@ -70,7 +70,7 @@ feature -- Output feature -- Specific output - put_header_line (s: STRING) + put_header_line (s: READABLE_STRING_8) -- Send `s' to http client as header line do put_string (s)