From 48cb99498c90e9ff9f827e3e54206ec160a2595c Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Wed, 1 Apr 2015 15:09:04 +0200 Subject: [PATCH] Cleaned simple example, and made the standalone target with SCOOP concurrency. --- examples/simple/application_execution.e | 2 +- examples/simple/simple.ecf | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/examples/simple/application_execution.e b/examples/simple/application_execution.e index decbde71..b02bdf55 100644 --- a/examples/simple/application_execution.e +++ b/examples/simple/application_execution.e @@ -20,7 +20,7 @@ feature -- Basic operations do -- To send a response we need to setup, the status code and -- the response headers. - s := "Hello World!" + s := "Hello World!" response.put_header ({HTTP_STATUS_CODE}.ok, <<["Content-Type", "text/html"], ["Content-Length", s.count.out]>>) response.set_status_code ({HTTP_STATUS_CODE}.ok) response.header.put_content_type_text_html diff --git a/examples/simple/simple.ecf b/examples/simple/simple.ecf index 1f7ea4c9..cfbf36fd 100644 --- a/examples/simple/simple.ecf +++ b/examples/simple/simple.ecf @@ -1,12 +1,12 @@ - + /EIFGENs$ /CVS$ /.svn$ - @@ -15,15 +15,16 @@ - + - @@ -31,7 +32,7 @@ - @@ -39,7 +40,7 @@ -