5f3749e463
updated eel and eapml from more recent versions.
Jocelyn Fiat2012-06-15 14:57:12 +02:00
0203e0fdc7
Moved eel and eapml under the contrib folder.
Jocelyn Fiat2012-06-15 14:24:23 +02:00
12d56861e6
Fixing wrong path for ewsgi connector nino (this was introduced recently when we moved folder location)
Jocelyn Fiat2012-06-15 14:15:44 +02:00
23de980e57
added methods_head_get_post and methods_head_get
Jocelyn Fiat2012-06-15 10:54:53 +02:00
ad5fed84ca
Fixed previous commit where nino .ecf path was empty.
Jocelyn Fiat2012-06-15 10:53:32 +02:00
8a43e4ebb1
Updated Home (markdown)
jocelyn2012-06-14 05:50:27 -07:00
aa38cf787a
Merge branch 'master' of github.com:EiffelWebFramework/EWF
Jocelyn Fiat2012-06-14 14:17:02 +02:00
3702842337
Updated structure of EWF, applied Now "nino" is under contrib/library/network/server/nino (as git merge subtree, and not anymore as submodule)
Jocelyn Fiat2012-06-14 13:35:08 +02:00
2b730186a2
Fixing issue with HEAD and make_from_iterable
Jocelyn Fiat2012-06-14 12:28:52 +02:00
8a58d62a7e
Adopted convention name and value or values for WSF_VALUE and descendant (WSF_STRING ...) kept key' as redirection, and also string as obsolete redirection. Router: provide a way to pass the request methods without using manifest string, thanks to WSF_ROUTER_METHODS so instead of using manifest array or manifest strings, just create an instance of WSF_ROUTER_METHODS for convenience, WSF_ROUTER provides a few methods_...' returning prebuilt WSF_ROUTER_METHODS objects Improved code related to unicode handling in URL, and parameters (before the framework was doing too much)
Jocelyn Fiat2012-06-11 14:58:13 +02:00
0d5011b03e
Added html encoding facility to WSF_STRING Added WSF_STRING.is_empty Improved HTML_ENCODER to be able to decode a STRING_8 or STRING_32 using general_decoded_string (s) Improved tutorial example Added precompilation for WSF library Cosmetic (removed unused locals)
Jocelyn Fiat2012-05-30 09:36:55 +02:00
8dd0cb29fa
Applied recent changes made on EWF Updated copyright
Jocelyn Fiat2012-05-28 11:21:28 +02:00
445a27ddf8
Now inherit create_router ; but it is still possible to redefine it. Added some wsf_reponse_message for redirection Use "found" for the redirec_now ... Added content to the tutorial
Jocelyn Fiat2012-05-28 10:54:05 +02:00
171be24d2a
Better us OK status for redirection by default
Jocelyn Fiat2012-05-25 23:56:10 +02:00
fb7d5054da
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
Jocelyn Fiat2012-05-25 23:55:35 +02:00
03bf467ee5
Added descriptions to WSF_RESPONSE about .send (mesg) Fixed minor issues in other classes
Jocelyn Fiat2012-05-25 23:51:59 +02:00
6cff00428b
Protected export of WSF_RESPONSE_MESSAGE.send_to Added WSF_DEFAULT_RESPONSE_SERVICE Added simple WSF_SERVICE_LAUNCHER_OPTIONS_FROM_INI class to load launch option from ini file.
Jocelyn Fiat2012-05-25 20:17:55 +02:00
f1498e2a07
http_client PUT uploaded data is not correctly implemented using libcurl so for now, let's use a real temporary file to use the upload filename implementation
Jocelyn Fiat2012-05-23 23:17:50 +02:00
c3c27c5027
Rather use (READABLE_)STRING_GENERAL for argument instead of _8 or _32 variant Better design to set the WSF_REQUEST.path_parameters especially handle the case where the request goes trought more than one route (could be the case when using WSF_ROUTING_HANDLER)
Jocelyn Fiat2012-05-14 18:12:28 +02:00
64eebd32db
Updated URI Template to follow official RFC6570
Jocelyn Fiat2012-05-14 18:11:12 +02:00
278a71eaaf
Reviewed WSF_REQUEST.item (..) and items to look into Form, Query, and Path (cookie are excluded for security) Added WSF_REQUEST.path_parameter (a_name): detachable WSF_VALUE - fill path_parameters using `import_raw_path_parameters" when executing the route - reset to previous value with reset_path_parameters (..), just in case the request is executed via severals routes.
Jocelyn Fiat2012-05-07 23:16:52 +02:00
e615026520
Reverted back to export upload_data and upload_filename to ANY (and related features)
Jocelyn Fiat2012-05-04 13:45:17 +02:00
3a979915f5
Removed HTTP_CLIENT_SESSION.post_multipart .. because it was not doing what the name might evoque Restrict export of HTTP_CLIENT_REQUEST_CONTEXT.upload_data and upload_filename (and related) to .._SESSION and .._REQUEST this is mainly internal data, and is more about implementation than interface
Jocelyn Fiat2012-05-04 12:37:51 +02:00
4508a76683
Now the http_client will send the form parameters urlencoded if this is possible (instead of multipart form data)
Jocelyn Fiat2012-05-04 12:23:37 +02:00
d40cc5d669
Fixed typo in .ecf .. curl instead of cURL
Jocelyn Fiat2012-05-03 18:46:04 +02:00
eb04ac5405
Improved the libcurl implementation of http_client by adding HTTP_CLIENT_SESSION.is_debug: BOOLEAN if True, this display verbose debug information in console Implemented uploading of file for PUT and POST requests Refactored LIBCURL_HTTP_CLIENT_REQUEST to free used pointer, and also ease extension of the class if needed. Updated cURL library with addition of {CURL_EXTERNALS}.slist_free_all (..)
Jocelyn Fiat2012-05-03 16:21:42 +02:00
31cf64f4ad
do not use implicit conversion from HTTP_CONTENT_TYPE
Jocelyn Fiat2012-05-02 19:25:14 +02:00
face4550f2
Fixed wrong signature should be READABLE_STRING_32 instead of _8
Jocelyn Fiat2012-05-02 19:22:39 +02:00
ee0e3df05f
Also removing the implicit conversion from STRING to HTTP_*_TYPE
Jocelyn Fiat2012-05-02 11:40:23 +02:00
18ced46c99
Removed implicit conversion from HTTP_CONTENT_TYPE to STRING_8 because it could be a source of bug due to hidden conversion (and parameters) Applied changes to autotest cases Cosmetic
Jocelyn Fiat2012-05-02 11:35:53 +02:00
7c95e514ad
Added comments Added `url' to compute the url from base_url, path and query parameters
Jocelyn Fiat2012-04-30 15:54:21 +02:00
e304113984
Fixed error in URL encoding, according to the RFC3986, space should not be encoded with '+' but with percent encoding.
Jocelyn Fiat2012-04-30 15:53:44 +02:00
07b3eddefe
Fixed signature issue, the argument `name' should be READABLE_STRING_32
Jocelyn Fiat2012-04-30 15:51:10 +02:00
34c6288032
Fixed a last minute regression due to removal REQUEST.chunked_input
v0.1.b1
Jocelyn Fiat2012-04-13 17:19:14 +02:00
21b03a05fd
Added WSF_ROUTER.pre_route_execution_actions: ACTION_SEQUENCE [like route] This way, one can add logger hook to router, to see which "route" was taken by the request.
Jocelyn Fiat2012-04-13 16:40:19 +02:00
0bd2d16c12
Made WGI_CHUNKED_INPUT_STREAM inherits from WGI_INPUT_STREAM Merged REQUEST.input and REQUEST.chunked_input Now REQUEST.input handles directly the chunked transfer encoding, or the non chunked. Kept REQUEST.is_chunked_input since it matters that Content-Length is 0 even if there are input (chunked) data.
Jocelyn Fiat2012-04-13 16:33:49 +02:00
3bbf356f19
Missing commit related to changes on WSF_ROUTER
Jocelyn Fiat2012-04-12 11:59:14 +02:00
b541efcc8f
Now WGI_RESPONSE.set_status_code (..) has a new argument to pass optional custom reason phrase. This is a minor breaking change (but prior to the first release, so acceptable) And then it is now possible to precise a custom reason phrase (useful for 4xx and 5xx response)
Jocelyn Fiat2012-04-12 11:19:41 +02:00
082def2b70
Merge branch 'master' of github.com:EiffelWebFramework/EWF
Jocelyn Fiat2012-04-06 15:52:03 +02:00