diff --git a/README.md b/README.md index 7ff1c9f5..1456d778 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ For download, check * https://github.com/EiffelWebFramework/EWF/downloads ## Requirements - -* Developped using EiffelStudio 7.0 (on Windows, Linux) -* Tested using EiffelStudio 7.0 with "jenkins" CI server (and v6.8 for time to time) +* Compiling from EiffelStudio 7.0 +* Developped using EiffelStudio 7.1 (on Windows, Linux) +* Tested using EiffelStudio 7.1 with "jenkins" CI server (not anymore compatible with 6.8 due to use of `TABLE_ITERABLE') * The code have to allow __void-safe__ compilation and non void-safe system (see [more about void-safety](http://docs.eiffel.com/book/method/void-safe-programming-eiffel) ) ## How to get the source code? diff --git a/examples/restbucksCRUD/client/src/restbuck_client.e b/examples/restbucksCRUD/client/src/restbuck_client.e index c325e5c3..22f84bbd 100644 --- a/examples/restbucksCRUD/client/src/restbuck_client.e +++ b/examples/restbucksCRUD/client/src/restbuck_client.e @@ -17,7 +17,7 @@ feature {NONE} -- Initialization local h: LIBCURL_HTTP_CLIENT sess: HTTP_CLIENT_SESSION - resp : HTTP_CLIENT_RESPONSE + resp : detachable HTTP_CLIENT_RESPONSE l_location : detachable READABLE_STRING_8 body : STRING do @@ -39,7 +39,7 @@ feature {NONE} -- Initialization -- Update the Order - if attached resp.body as l_body then + if resp /= Void and then attached resp.body as l_body then body := l_body.as_string_8 body.replace_substring_all ("takeAway", "in Shop") print ("%N Update Order %N") @@ -47,11 +47,10 @@ feature {NONE} -- Initialization end end - update_order ( sess: HTTP_CLIENT_SESSION; uri : detachable READABLE_STRING_8; a_body : STRING) : HTTP_CLIENT_RESPONSE + update_order ( sess: HTTP_CLIENT_SESSION; uri : detachable READABLE_STRING_8; a_body : STRING): detachable HTTP_CLIENT_RESPONSE local context : HTTP_CLIENT_REQUEST_CONTEXT do - create Result.make if attached uri as l_uri then sess.set_base_url (l_uri) create context.make @@ -74,9 +73,8 @@ feature {NONE} -- Initialization end - read_order ( sess: HTTP_CLIENT_SESSION; uri : detachable READABLE_STRING_8) : HTTP_CLIENT_RESPONSE + read_order ( sess: HTTP_CLIENT_SESSION; uri : detachable READABLE_STRING_8): detachable HTTP_CLIENT_RESPONSE do - create Result.make if attached uri as l_uri then sess.set_base_url (l_uri) Result := sess.get ("", Void) diff --git a/library/server/wsf/default/cgi-safe.ecf b/library/server/wsf/default/cgi-safe.ecf index f10d0274..ed590547 100644 --- a/library/server/wsf/default/cgi-safe.ecf +++ b/library/server/wsf/default/cgi-safe.ecf @@ -8,6 +8,7 @@ /\.svn$