Jocelyn Fiat
ee9722fa18
renamed WSF_(.*)_VALUE as WSF_$1
2011-11-02 13:10:35 +01:00
Jocelyn Fiat
085b520879
Added convenient features to BASE64
...
- decode_string_to_buffer (v: STRING; a_buffer: STRING)
- decode_string_to_output_medium (v: STRING; a_output: IO_MEDIUM)
2011-10-31 08:45:50 +01:00
Jocelyn Fiat
9bbcdc9927
removed unwanted .rc
2011-10-27 16:03:10 +02:00
Jocelyn Fiat
35a4cd7df9
cosmetic, or minor changes
2011-10-27 14:45:14 +02:00
Jocelyn Fiat
926c0a79b7
Start index for list[]=a&list[]=b ... from 1 instead of 0
...
Stick to Eiffel spirit
2011-10-24 17:44:13 +02:00
Jocelyn Fiat
fb7854fbcc
Added visitor patterns to WSF_VALUE
...
Handling UTF-8 unencoding for WSF_VALUE ...
Added WSF_TABLE_VALUE to handle list[]=a&list[]=b ...
Library encoder: added UTF8 facilities
2011-10-24 17:23:36 +02:00
Jocelyn Fiat
663a39d2ec
missing implementation (forgot to uncomment)
2011-10-24 09:07:26 +03:00
Jocelyn Fiat
14a2c01f41
Applied recent changes on WGI_ and WSF_
...
Moved classes away from ewsgi, restructured, cleaned
2011-10-21 16:58:23 +02:00
Jocelyn Fiat
79e12b8d04
Continued reducing WGI and move implementation to WSF (Web Server Framework)
...
Removed many usage of READABLE_STRING_GENERAL in favor to READABLE_STRING_8
to avoid potential nasty issues in user's code
URI-template is working only with STRING_8, then changed any _GENERAL or _STRING_32 to _STRING_8
2011-10-21 16:58:18 +02:00
Jocelyn Fiat
aec0136739
First try to get a limited WGI_ and use WSF_ as default framework
2011-10-21 16:58:11 +02:00
Jocelyn Fiat
eaa99c9c61
Used object test
2011-10-19 00:40:04 +02:00
Jocelyn Fiat
5f492d6fb6
removed useless local variable
2011-10-19 00:35:32 +02:00
Jocelyn Fiat
c3f5376ef5
fixed cgi and libfcgi connectors due to recent changes from WGI_APPLICATION
2011-10-14 14:27:54 +02:00
Jocelyn Fiat
21e973f8a4
Removed handling of internal error from WGI_APPLICATION
...
And for now added it into nino connector
2011-10-14 14:15:23 +02:00
Jocelyn Fiat
dec1958909
Fixed issue with index in uri template matcher
2011-10-14 14:14:13 +02:00
Jocelyn Fiat
1453873b6c
Added HTTP_FILE_EXTENSION_MIME_MAPPING
...
Added REQUEST_FILE_SYSTEM_HANDLER to the router library
Added file system handler in "hello_routed_world" example
2011-10-14 14:13:40 +02:00
Jocelyn Fiat
4c36d75ef3
Using Transfer-Encoding: chunked in example to send response progressively
2011-10-12 17:23:24 +02:00
Jocelyn Fiat
09030a27d9
sync with submodules
2011-10-12 17:22:46 +02:00
Jocelyn Fiat
b9ca22006b
removed unwanted code
2011-10-12 15:38:45 +02:00
Jocelyn Fiat
593b48fe90
applied recent changes on HTTP_REQUEST_METHOD_CONSTANTS
2011-10-12 11:56:25 +02:00
Jocelyn Fiat
c2b66d6ca6
Use local curl if compiler is < 7.0.8.7340
...
otherwise, use ISE_LIBRARY cURL
2011-10-11 11:09:00 +02:00
Jocelyn Fiat
6758c4aef4
Temporary fixed issue of using modified cURL (which is cURL provided with EiffelStudio 7.0)
...
This changes will be reverted in the future
2011-10-11 10:46:56 +02:00
Jocelyn Fiat
6408bec628
Updated readme related to mirrored Eiffel cURL library
2011-10-10 17:56:09 +02:00
Jocelyn Fiat
c105c267e7
cosmetic
2011-10-10 16:09:44 +02:00
Jocelyn Fiat
4c9e7a4331
Added `base_url' for REQUEST_ROUTER (and descendants)
...
Fixed implementation of REST_REQUEST_AGENT_HANDLER to avoid wrong path in inherited routine.
Allow to build a URI_TEMPLATE from another URI TEMPLATE,
this way, if later we have more attribute (status or settings) to URI_TEMPLATE,
we'll be able to change the `template' without breaking the settings
2011-10-05 17:09:16 +02:00
Jocelyn Fiat
cc6992a6fc
added missing call to pre_execute and post_execute
2011-10-05 14:47:59 +02:00
Jocelyn Fiat
71c851ca39
Fixed missing http:// in absolute URL
2011-10-05 14:47:30 +02:00
Jocelyn Fiat
900ed8baea
remove pre_execute, and post_execute, and make process_request frozen
...
this way, the user won't be tempted to redefine feature not being part of pure EWSGI interface.
2011-10-05 14:46:39 +02:00
Jocelyn Fiat
dba55fcfd9
better argument name, to precise the timeout is in second
...
also in comment.
2011-10-05 14:45:47 +02:00
Jocelyn Fiat
456299ccdf
Fixed agent handler for rest library
2011-10-04 17:33:15 +02:00
Jocelyn Fiat
810208f176
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
2011-10-04 16:19:36 +02:00
Jocelyn Fiat
27c637b066
fixed inheritance and precursor bad usage.
2011-10-04 16:19:09 +02:00
Jocelyn Fiat
2b14a40898
fixed compilation for ewsgi/tests/tests.ecf file
2011-09-28 17:08:28 +02:00
Jocelyn Fiat
aa20a1423f
Made WGI_VALUE.name as READABLE_STRING_32 .. otherwise it is a pain to manipulate.
...
Changed return type of meta_variable to be WGI_STRING_VALUE ... since the meta variable can not be anything else.
Made sure REQUEST_URI starts with one and only one slash
Internal implementation: the _table now compares object
Removed SELF variable ... at least for now
Be sure to provide a REQUEST_URI even if the underlying connector does not.
2011-09-28 16:41:22 +02:00
Jocelyn Fiat
34c8cfa427
cleaned http_client configuration files
2011-09-28 14:53:34 +02:00
Jocelyn Fiat
f7dcadccd5
Added library/library.index
2011-09-28 14:42:53 +02:00
Jocelyn Fiat
f24df1d745
restructured ewsgi to avoid too many sub cluster
2011-09-28 14:42:34 +02:00
Jocelyn Fiat
a4df57a7ac
fixed compilation of rest example
2011-09-26 20:54:04 +02:00
Jocelyn Fiat
df59ae579b
fixed typo
2011-09-26 17:19:37 +02:00
Jocelyn Fiat
738eb7555f
Changed ITERATION_CURSOR [WGI_VALUE] into ITERABLE [WGI_VALUE] for WGI_REQUEST.*parameters* and similar
...
Applied recent changes on EWF_HEADER
2011-09-26 17:10:05 +02:00
Jocelyn Fiat
eeaa47d4f1
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
2011-09-23 18:23:35 +02:00
Jocelyn Fiat
0db4317a49
Added AutoTest simple cases for ewsgi using Nino web server
2011-09-23 18:22:42 +02:00
Jocelyn Fiat
668847f8e8
Fixing issue with experimental WGI_MULTIPLE_STRING_VALUE
...
Fixed issue with RAW_POST_DATA
2011-09-23 18:21:57 +02:00
Jocelyn Fiat
e7fd7af2c5
Removed put_redirection' and replaced by put_location'
...
Removed useless code in some features
2011-09-23 18:20:23 +02:00
Jocelyn Fiat
24a5c7613d
Use READABLE_STRING(_*) instead of just STRING(_*)
2011-09-23 18:20:16 +02:00
Jocelyn Fiat
d9f6cbe80e
Added feature to shutdown the Nino http server
2011-09-23 18:18:54 +02:00
Jocelyn Fiat
95ec2e77df
Added error reporting in HTTP_CLIENT_RESPONSE
...
Added missing set_connect_timeout
2011-09-23 18:18:27 +02:00
Jocelyn Fiat
ab1c696837
Added code to create an HTTP_AUTHORIZATION from the client side as well.
...
So now we can either interpret an HTTP_AUTHORIZATION or build one HTTP_AUTHORIZATION
So far , only Basic auth is supported.
2011-09-22 15:13:59 +02:00
Jocelyn Fiat
dae8e1d67d
Made all libraries compilable in any mode (voidsafe or not)
...
Fixed related examples
2011-09-22 15:12:33 +02:00
Jocelyn Fiat
d9ba97d33b
Fixed issue where Content-Type and Content-Length were translated into HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH instead of just
...
CONTENT_TYPE and CONTENT_LENGTH
2011-09-21 15:33:40 +02:00
Jocelyn Fiat
33eddd9197
better assertion to ensure `base' is a valid base url
2011-09-21 15:30:20 +02:00
Jocelyn Fiat
458cb56f75
synch with Nino
2011-09-21 15:29:25 +02:00
Jocelyn Fiat
88c015470e
better return type for http client functions
...
added helper features
2011-09-21 15:29:12 +02:00
Jocelyn Fiat
0414cd4501
fixed case sensitive path
2011-09-20 18:19:23 +02:00
Jocelyn Fiat
284d7826c8
missing -safe.ecf config file for http_client
2011-09-20 16:59:54 +02:00
Jocelyn Fiat
dff267cd58
Now using READABLE_STRING_... type
2011-09-20 16:57:28 +02:00
Jocelyn Fiat
c2f7c198e0
Added simple HTTP client.
...
For now the implementation is using Eiffel cURL library.
It requires Eiffel cURL coming with next EiffelStudio 7.0 (or from eiffelstudio's repo from rev#87244 )
2011-09-20 16:55:44 +02:00
Jocelyn Fiat
b3ef7c846b
Fixed issues in WGI_REQUEST's invariant
...
Fixed issues with guessing the default format for REST handling
Fixed issue with .._ROUTING_.. component.
2011-09-16 20:59:06 +02:00
Jocelyn Fiat
111812c4e9
Fixed issue with uri template router ..
...
it was applying on request_uri instead of path_info
now it match on PATH_INFO
2011-09-16 18:56:02 +02:00
Jocelyn Fiat
92d8357d09
more flexible authenticated query .. on handler, and not anymore on context object
2011-09-16 18:55:26 +02:00
Jocelyn Fiat
64060cfa41
fixed wrong order in parameter for callers of set_meta_string_variable
2011-09-16 18:54:44 +02:00
Jocelyn Fiat
d3239ec41b
added debug_output to WGI_VALUE
2011-09-16 18:54:16 +02:00
Jocelyn Fiat
7b1557a52a
first version of http authorization ..
...
for now, only basic digest
2011-09-16 18:53:57 +02:00
Jocelyn Fiat
c9a4ebcb23
added request_handler_routes_recorder to provide an implementation for `REQUEST_HANDLER.on_handler_mapped'
2011-09-16 15:17:49 +02:00
Jocelyn Fiat
3f899f6aae
Added "on_handler_mapped" callback
...
to allow any REQUEST_HANDLER to record the existing routes.
2011-09-16 15:11:37 +02:00
Jocelyn Fiat
18684d167b
typo
2011-09-16 15:02:08 +02:00
Jocelyn Fiat
d06bc76944
minor enhancement of error lib
2011-09-15 22:02:58 +02:00
Jocelyn Fiat
86825854ca
Added WGI_MULTIPLE_STRING_VALUE
...
Renamed value as WGI_STRING_VALUE.string
Renamed a few classes .._CONTEXT_I as .._CONTEXT
updated example.
2011-09-15 17:49:47 +02:00
Jocelyn Fiat
774cd004db
cosmetic
2011-09-15 15:49:53 +02:00
Jocelyn Fiat
c300cf5b6e
Merge branch 'master' of git://github.com/Eiffel-World/Eiffel-Web-Framework
2011-09-15 11:17:07 +02:00
Jocelyn Fiat
22fd7490fe
Simplified interface of "router" library classes
2011-09-14 16:48:27 +02:00
Jocelyn Fiat
8b6e9273fa
applied renaming for rest and router lib
2011-09-14 16:05:01 +02:00
Jocelyn Fiat
76fa3e9ff5
Reorganized library "server/request/rest"
2011-09-14 15:46:45 +02:00
Jocelyn Fiat
1e3770d724
some renaming to use _I for the generic classes, and removed the DEFAULT_ prefix for default implementation
...
this should makes things easier for new users
2011-09-14 15:39:37 +02:00
Jocelyn Fiat
840ae1e6e4
reorganized router library
2011-09-14 15:04:29 +02:00
Jocelyn Fiat
5626e03aa8
- Adopted deferred WGI_VALUE design for Result type of *_parameter and similar functions
...
- Adopted the ITERATION_CURSOR [WGI_VALUE] design for *_parameters and similar functions
- renamed parameter as item
- provided helper function to handle "string" value parameters
Experimental for now.
2011-09-14 14:54:06 +02:00
Jocelyn Fiat
4bcea900a6
better result type (using READABLE_..)
2011-09-14 14:48:08 +02:00
Jocelyn Fiat
b1f5065e63
sync with nino
2011-09-14 14:47:29 +02:00
Jocelyn Fiat
512f2d2ce5
Added first draft for RESTful library
...
note: the interfaces are likely to change in the future
2011-09-13 17:08:40 +02:00
Jocelyn Fiat
92105ca7b3
updated config file and examples
2011-09-13 17:07:17 +02:00
Jocelyn Fiat
f0c6eec23d
adding routing handler
...
few renaming
2011-09-13 16:49:45 +02:00
Jocelyn Fiat
32197d0513
changing design to use generic instead of anchor types
2011-09-09 16:24:11 +02:00
Jocelyn Fiat
11286eeeef
make router more easy to inherit from and specialized
2011-09-09 14:10:54 +02:00
Jocelyn Fiat
fb8412fcae
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
2011-09-09 08:54:20 +02:00
Jocelyn Fiat
9ec87a4329
Added support during match for {/vars}
...
and also handle cases such as /foo.{format}{/vars} or /foo.{format}{?vars} where no literal exists between the uri template expressions
2011-09-09 08:51:45 +02:00
Jocelyn Fiat
0c7e6c08e7
better type for argument and result (using READABLE_...)
2011-09-09 08:50:29 +02:00
Jocelyn Fiat
c1120a4226
change to standard default values
2011-09-09 08:50:05 +02:00
Jocelyn Fiat
acd395376a
sync
2011-07-21 19:06:04 +02:00
Jocelyn Fiat
a7a27bee0a
updated README
2011-07-21 18:59:27 +02:00
Jocelyn Fiat
fc0a25acc9
updated README
2011-07-21 18:48:54 +02:00
Jocelyn Fiat
681bb19ab7
fixed submodule path ... Windows path separator issue..
2011-07-12 17:12:36 +02:00