Removed WGI_RESPONSE.write (..)

Replaced any internal call to WGI_RESPONSE.write () by the associated implementation (i.e  output.put_string (...)  )
Added WGI_OUTPUT_STREAM.put_crlf

Renamed WSF_RESPONSE.put_response (a_message) as  `send (a_message)'
WSF_RESPONSE_MESSAGE.send_to (res)  is now exported only to WSF_RESPONSE
This commit is contained in:
Jocelyn Fiat
2012-03-19 14:52:12 +01:00
parent 84a12447db
commit fea0f115a0
13 changed files with 61 additions and 42 deletions

View File

@@ -185,7 +185,7 @@ feature -- Execution
fres.set_status_code ({HTTP_STATUS_CODE}.ok)
fres.set_answer_head_request_method (req.request_method.same_string ({HTTP_REQUEST_METHODS}.method_head))
res.put_response (fres)
res.send (fres)
end
respond_not_found (uri: READABLE_STRING_8; ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE)