6dc1c0d2b0
Removed most of the "retry" in rescue clauses, since it was hidding critical issue. This should be the choice of the application to "retry" on exception, otherwise let the framework handle this in the lower part.
Jocelyn Fiat
2012-01-23 15:31:34 +01:00
80d68699b1
added "conversion" to ease the use of HTTP_HEADER
Jocelyn Fiat
2012-01-23 15:28:06 +01:00
fcdf4e456e
fixed compilation (was not up to date with tests.ecf)
Jocelyn Fiat
2012-01-20 20:04:56 +01:00
c92c2a91b4
Corrected remaining issue related to recent addition of REQUEST_ROUTER.make_with_base_url And applied removal of format_name and format_id, and replaced by accepted_format_name, ...
Jocelyn Fiat
2012-01-20 18:55:03 +01:00
1ab3832685
Removed the ECF bounds license file and replaced them with `license.lic' files. Made sure all license are the Eiffel Forum License 2.
manus
2012-01-20 16:35:05 +00:00
da9fa4ecc2
Do not add again ctx.headers, since it is already "imported" during the creation of Current request (see HTTP_CLIENT_REQUEST.make)
Jocelyn Fiat
2012-01-20 15:37:04 +01:00
abdd68863d
Removed any "format" related query from router lib, this is too application specific to be there. Better handling of base_url for REQUEST_ROUTER
Jocelyn Fiat
2012-01-20 15:35:03 +01:00
83a8ad3879
separate library .ecf and tests .ecf merged tests .ecf for draft 05 and current implementation
Jocelyn Fiat
2012-01-19 14:34:04 +01:00
1b55b09b64
Fixed WSF_REQUEST.script_url (..) for clean path Added related autotests
Jocelyn Fiat
2012-01-19 10:25:53 +01:00
4cf3393a13
Don't forget to put Content-Length: 0 for redirect without any content
Jocelyn Fiat
2012-01-17 17:37:26 +01:00
4486df14cc
export handler from REQUEST_ROUTER
Jocelyn Fiat
2012-01-17 07:51:26 -08:00
60574ee85f
REQUEST_ROUTER now inherit from ITERABLE [..]
Jocelyn Fiat
2012-01-17 16:35:52 +01:00
7a6c51e47e
Send the Status code, as an header line Status: code reason
Jocelyn Fiat
2012-01-17 16:34:48 +01:00
d8c420c4b7
use READABLE_STRING_8 instead of STRING_8
Jocelyn Fiat
2012-01-17 16:33:40 +01:00
d67e01eea6
Better support for special character and unicode (\n \r \" ... and \uXXXX where XXXX is an hexadecimal value) Added features to JSON_STRING - make_json_from_string_32 (READABLE_STRING_32) - escaped_string_8: STRING_8 - escaped_string_32: STRING_32 Added associated autotests
jfiat
2012-01-13 17:26:23 +00:00
e36533bc99
Added JSON_ENCODER
Jocelyn Fiat
2012-01-12 10:38:43 +01:00
d90ecbd5fe
removed obsolete call on WSF_RESPONSE.write_..' by using the up-to-date WSF_RESPONSE.put_..'
Jocelyn Fiat
2012-01-09 10:21:35 +01:00
20281bc922
HTTP_HEADER: - added put_last_modified - added RFC1123 http date format helper - added put_cookie_with_expiration_date as DATE_TIME REQUEST: added `execution_variable' to provide a way to keep object attached to the request and indexed by a string. A typical usage is a SESSION object
Jocelyn Fiat
2012-01-06 18:27:52 +01:00
83346c92a7
added REQUEST.execution_variables ... to provide a solution to store data during request execution could be used for SESSION, or any "shared" data inside the same Request
Jocelyn Fiat
2011-12-18 12:57:24 +01:00
6b50ab8c55
applied write_ as put_ renaming to examples
Jocelyn Fiat
2011-12-18 12:55:42 +01:00
c8efa04147
Use put_ instead of write_
Jocelyn Fiat
2011-12-15 23:52:53 +01:00
37860f43b5
various minor changes
Jocelyn Fiat
2011-12-15 23:38:34 +01:00
65a998cec3
use /usr/lib/libfcgi.so instead of /usr/local/lib/libfcgi.so
Jocelyn Fiat
2011-12-15 20:10:31 +01:00
7207a021be
Applied renaming from write_ to put_
Jocelyn Fiat
2011-12-15 19:34:20 +01:00
32373addfa
Renamed write_ feature as put_
Jocelyn Fiat
2011-12-15 19:04:26 +01:00
e16f03b1c2
Fixed stupid mistake in {WGI_NINO_INPUT_SREEAM}.end_of_input
Jocelyn Fiat
2011-12-15 15:36:47 +01:00
1698a06ea0
Fixed typo and missing uri_template reference for draft rest library
Jocelyn Fiat
2011-12-15 14:40:43 +01:00
da3594db50
Now the 'router' library is part of 'wsf' Move hello_routed_world under tests/dev since it was not really an example, but more a dev workspace/test
Jocelyn Fiat
2011-12-15 14:10:52 +01:00
bfa620eee3
Made DEFAULT_SERVICE_LAUNCHER more flexible for the user.
Jocelyn Fiat
2011-12-15 13:30:19 +01:00
0f51925ec1
Initial implementation of wgi_chunked_input_stream as a wrapper of wgi_input_stream
jvelilla
2011-12-15 08:53:50 -03:00
b6784ee35c
Use port 9090 for restbuck server mainly to avoid using 80 or 8080 which are often already used (by current webserver, or even skype, or jenkins, or ...)
Jocelyn Fiat
2011-12-14 16:34:01 +01:00
ab5b43d8ef
Forgot to add make_and_launch_with_options to the creation procedures
Jocelyn Fiat
2011-12-14 15:04:29 +01:00
c7366615cf
Added DEFAULT_SERVICE_LAUNCHER.make_and_launch_with_options Added WSF_RESPONSE.redirect_now_with_content (...) Updated hello_routed_world .. mainly example use to test/develop... not really a nice example
Jocelyn Fiat
2011-12-14 14:44:06 +01:00
b60c41ee1b
Updated readme on how to get source code
Jocelyn Fiat
2011-12-13 11:43:24 +01:00
f9dfeb0034
added head and bottom value in WSF_FILE_RESPONSE, to enable the user to set a head and bottom part easily
Jocelyn Fiat
2011-12-13 10:35:49 +01:00
5e35bc59a9
avoid infinite rescue due to internal error or user code not dealing well with socket disconnection
Jocelyn Fiat
2011-12-12 21:19:45 +01:00
2ed6d92e53
Removed dotnet target for now
Jocelyn Fiat
2011-12-12 21:18:35 +01:00
33d3071cad
Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework
Jocelyn Fiat
2011-12-12 18:57:09 +01:00
35dde23976
Fixed http_client autotest code
Jocelyn Fiat
2011-12-12 18:50:40 +01:00
390c05b056
Break inheritance from WGI_RESPONSE, since it is not flexible for future improvement.
Jocelyn Fiat
2011-12-12 18:24:46 +01:00
011f8746d6
Fixed HTTP client callers
Jocelyn Fiat
2011-12-12 18:17:39 +01:00
0335226e8b
Renamed DEFAULT_SERVICE as DEFAULT_SERVICE_LAUNCHER
Jocelyn Fiat
2011-12-12 18:17:27 +01:00
68e4ac9a8f
Fixed WSF_FILE_RESPONSE and added WSF_FORCE_DOWNLOAD_RESPONSE
Jocelyn Fiat
2011-12-12 16:20:06 +01:00
f6b293d4ae
Merge changes from Javier - update on RESTbuck examples - new example - fixed bad typo in WSF_REQUEST
Jocelyn Fiat
2011-12-12 16:03:38 +01:00
89572b4f33
Removed any (put|write)_file_content from the WSF_ or WGI_ OUTPUT classes Now DEFAULT_SERVICE has to be created instead of inherited. - This seems to be better for new user, and this avoid potential conflict and difference when inheriting between the various DEFAULT_SERVICE implementation. - remember that DEFAULT_SERVICE, is mainly to help the user to build its very first service. Use READABLE_STRING_8 as argument whenever it is possible. Added WSF_RESPONSE_MESSAGE, and WSF_RESPONSE.put_response (a_response_message) Now WSF_RESPONSE inherit from WGI_RESPONSE
Jocelyn Fiat
2011-12-12 11:16:15 +01:00
8b4f774bab
Handling bad incoming request (keep a check assertion to help during debugging period)
Jocelyn Fiat
2011-12-12 10:44:50 +01:00
52e6944f37
Merge branch 'master' of github.com:jvelilla/Eiffel-Web-Framework
jvelilla
2011-12-10 18:06:39 -03:00
bf056154d8
Update restbuck client, create and read an order. Update JSON converter, the id is not important, applied the DRY principle. Update the ORDER_HANDLER to use the meta_string_variable instead of meta_variable from req. Fix, the key in meta_variable_table, use c.key instead of c.item
jvelilla
2011-12-10 18:05:41 -03:00
0d67533c83
Merge branch 'master' of github.com:jvelilla/Eiffel-Web-Framework
jvelilla
2011-12-09 21:14:18 -03:00
c0c206e9ae
Update the restbuck_client, still work in progress. Update restbuck_server, remove unused class in inherit. Update libcurl_http_client_request, to parse context headers before the execution. Update wgi_input_stream, commented precondition.
jvelilla
2011-12-09 21:11:16 -03:00
379e806166
Update README.md
Jocelyn Fiat
2011-12-03 14:55:55 +01:00
c1e08a1bdc
Update README.md
Jocelyn Fiat
2011-12-03 14:55:28 +01:00
af21520e5d
Update README.md
Jocelyn Fiat
2011-12-03 14:42:09 +01:00
effc6ba81d
fixed markdown syntax
Jocelyn Fiat
2011-12-03 14:40:54 +01:00
019fb539ae
Remove any useless library include from this .ecf we just need default_"connector", router, wsf and http
Jocelyn Fiat
2011-12-02 13:50:39 +01:00
03938b43c3
Fixed compilation issue for CGI and libFCGI connector due to recent changes in interface (use READABLE_STRING_8)
Jocelyn Fiat
2011-12-02 12:05:07 +01:00
e70d67aed5
Integrated new system to handle form_parameter, input_data in relation with MIME handling This is not yet clear how to let the user precise its own MIME handler but it is in progress
Jocelyn Fiat
2011-12-01 19:12:26 +01:00
de38f46d1d
fixed remaining issue or useless code to set http environment variable
Jocelyn Fiat
2011-12-01 18:41:51 +01:00
8c79a64f0c
Fixed stupid error where we were concatenating ... value by error
Jocelyn Fiat
2011-12-01 18:38:26 +01:00
fff7a5c96d
Added WSF_RESPONSE.write_chunk (s: ?READABLE_STRING_8) to help user sending chunk with "Transfer-Encoding: chunked"
Jocelyn Fiat
2011-12-01 18:22:47 +01:00
1b92403045
Synchronized with Nino
Jocelyn Fiat
2011-12-01 17:59:35 +01:00
59505ccdc4
various renaming and preparation to merge Thread and SCOOP implementation of Eiffel Web Nino
Jocelyn Fiat
2011-12-01 17:58:01 +01:00
8ae4a30ee8
Fixed WSF_RESPONSE.redirect* features
Jocelyn Fiat
2011-12-01 17:52:31 +01:00
8ffe2a8f73
sync with Nino, call to put_readable_string_8
Jocelyn Fiat
2011-12-01 17:52:00 +01:00
800815c8dd
Added put_readable_string_8 to avoid call to .as_string_8
Jocelyn Fiat
2011-12-01 17:48:15 +01:00
769f2bb5a8
Synchronized with EiffelWebNino
Jocelyn Fiat
2011-12-01 15:28:38 +01:00
483f065ef1
relative path for README link
Jocelyn Fiat
2011-12-01 15:13:15 +01:00
89cd5a3b44
Removed initial Thread for the HTTP_HANDLER, this is not needed here Removed HTTP_SERVER_SHARED_CONFIGURATION from the library ... not needed by the library. Added HTTP_SERVER_SHARED_CONFIGURATION to the example to show how to share the configuration, if needed
Jocelyn Fiat
2011-11-30 19:05:16 +01:00