- (WGI|WSF)_RESPONSE(*) renamed write_headers_string as write_header_text
- HTTP_HEADER.string does not have the ending CRLFCRLF .. but just CRLF - WGI_RESPONSE.write_header_text has the responsibility to handle the last blank line CRLF (separating the header from the message) - HTTP_HEADER.string does not set anymore a default content type as text/html - added WGI_RESPONSE.write_header_lines (ITERABLE [TUPLE [name,value: READABLE_STRING_8]] mainly as an helper method, this way the WGI user does not have to know about the CRLF end of line
This commit is contained in:
@@ -133,7 +133,7 @@ feature -- Output
|
||||
do
|
||||
compute
|
||||
res.set_status_code (200)
|
||||
res.write_headers_string (headers_string)
|
||||
res.write_header_text (headers_string)
|
||||
if attached message as m then
|
||||
res.write_string (m)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user