3fbd81aeb1
Added eel and eapml modules
jvelilla2011-10-23 09:10:27 -03:00
6344f964fa
Update delete method to hanlde method not allowed. Added method not allowed to request resource handler helper class. Update gitmodules
jvelilla2011-10-23 09:05:12 -03:00
14a2c01f41
Applied recent changes on WGI_ and WSF_ Moved classes away from ewsgi, restructured, cleaned
Jocelyn Fiat2011-10-21 16:56:23 +02:00
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
Jocelyn Fiat2011-10-21 12:56:00 +02:00
aec0136739
First try to get a limited WGI_ and use WSF_ as default framework
Jocelyn Fiat2011-10-19 00:34:30 +02:00
7fd4cdbe44
Code cleaning, and nicer output under debug clause
Jocelyn Fiat2011-10-21 13:40:56 +02:00
9f53287226
Update Restbucks example: Conditional GET, PUT. Added a response method to support resource not modified. Added a ETAG_UTILS class to calcule md5_digest. Added ext libs eel and eapml.
jvelilla2011-10-21 08:26:14 -03:00
c3f5376ef5
fixed cgi and libfcgi connectors due to recent changes from WGI_APPLICATION
Jocelyn Fiat2011-10-14 14:27:54 +02:00
21e973f8a4
Removed handling of internal error from WGI_APPLICATION And for now added it into nino connector
Jocelyn Fiat2011-10-14 14:15:23 +02:00
dec1958909
Fixed issue with index in uri template matcher
Jocelyn Fiat2011-10-14 14:14:13 +02:00
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
Jocelyn Fiat2011-10-14 14:13:40 +02:00
c2b66d6ca6
Use local curl if compiler is < 7.0.8.7340 otherwise, use ISE_LIBRARY cURL
Jocelyn Fiat2011-10-11 11:09:00 +02:00
6758c4aef4
Temporary fixed issue of using modified cURL (which is cURL provided with EiffelStudio 7.0) This changes will be reverted in the future
Jocelyn Fiat2011-10-11 10:46:56 +02:00
6408bec628
Updated readme related to mirrored Eiffel cURL library
Jocelyn Fiat2011-10-10 17:56:09 +02:00
f77ba9ccd8
added submodule ext/ise_library/curl to use the updated Eiffel cURL from ISE.
Jocelyn Fiat2011-10-10 17:48:18 +02:00
b17887d634
Added "Date:" helper feature in EWF_HEADER Added license.lic to restbuck example, and mainly copyright to Javier Use HTTP_STATUS_CODES Minor improvements using object tests Cosmetic (indentation, ..)
Jocelyn Fiat2011-10-07 14:03:31 +02:00
f443087e71
Added a first simple test client to test the restbuck client
Jocelyn Fiat2011-10-06 19:09:56 +02:00
e5eb11b4e7
added support for data in POST request
Jocelyn Fiat2011-10-06 19:09:17 +02:00
ed04b7fba0
Added REQUEST_RESOURCE_HANDLER_HELPER class to contain common http method behavior. Updated ORDER_HANLDER to use this new class.
jvelilla2011-10-06 09:54:20 -03:00
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
Jocelyn Fiat2011-10-05 17:09:16 +02:00
cc6992a6fc
added missing call to pre_execute and post_execute
Jocelyn Fiat2011-10-05 14:47:59 +02:00
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.
Jocelyn Fiat2011-10-05 14:46:39 +02:00
dba55fcfd9
better argument name, to precise the timeout is in second also in comment.
Jocelyn Fiat2011-10-05 14:45:47 +02:00
7ba3eb9ecd
Updated support for PUT. Now the example support GET, POST, PUT, DELETE.
jvelilla2011-10-03 09:26:01 -03:00
2b14a40898
fixed compilation for ewsgi/tests/tests.ecf file
Jocelyn Fiat2011-09-28 17:08:28 +02:00
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.
Jocelyn Fiat2011-09-28 16:41:22 +02:00
738eb7555f
Changed ITERATION_CURSOR [WGI_VALUE] into ITERABLE [WGI_VALUE] for WGI_REQUEST.*parameters* and similar Applied recent changes on EWF_HEADER
Jocelyn Fiat2011-09-26 17:10:05 +02:00
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
Jocelyn Fiat2011-09-22 15:13:59 +02:00
dae8e1d67d
Made all libraries compilable in any mode (voidsafe or not) Fixed related examples
Jocelyn Fiat2011-09-22 15:12:33 +02:00
888bc61522
Initial import, work in progress restbuck example. Only support create a resource
jvelilla2011-09-22 09:29:59 -03:00
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
Jocelyn Fiat2011-09-21 15:33:40 +02:00
33eddd9197
better assertion to ensure `base' is a valid base url
Jocelyn Fiat2011-09-21 15:30:20 +02:00