Commit Graph

  • 33eddd9197 better assertion to ensure `base' is a valid base url Jocelyn Fiat 2011-09-21 15:30:20 +02:00
  • 458cb56f75 synch with Nino Jocelyn Fiat 2011-09-21 15:29:25 +02:00
  • 88c015470e better return type for http client functions added helper features Jocelyn Fiat 2011-09-21 15:29:12 +02:00
  • 58767bb1c1 add precondition saying the request line should not be empty Jocelyn Fiat 2011-09-21 15:26:23 +02:00
  • f68a713c48 Merge remote-tracking branch 'jocelynEWF/master' jvelilla 2011-09-21 07:49:40 -03:00
  • 0414cd4501 fixed case sensitive path Jocelyn Fiat 2011-09-20 18:19:23 +02:00
  • 284d7826c8 missing -safe.ecf config file for http_client Jocelyn Fiat 2011-09-20 16:59:54 +02:00
  • dff267cd58 Now using READABLE_STRING_... type Jocelyn Fiat 2011-09-20 16:57:28 +02:00
  • 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 ) Jocelyn Fiat 2011-09-20 16:55:44 +02:00
  • 8034123683 Added a few missing CURLOPT_ constants Grouped constants by category jfiat 2011-09-20 14:06:20 +00:00
  • b3ef7c846b Fixed issues in WGI_REQUEST's invariant Fixed issues with guessing the default format for REST handling Fixed issue with .._ROUTING_.. component. Jocelyn Fiat 2011-09-16 20:59:06 +02:00
  • 111812c4e9 Fixed issue with uri template router .. it was applying on request_uri instead of path_info now it match on PATH_INFO Jocelyn Fiat 2011-09-16 18:56:02 +02:00
  • 92d8357d09 more flexible authenticated query .. on handler, and not anymore on context object Jocelyn Fiat 2011-09-16 18:55:26 +02:00
  • 64060cfa41 fixed wrong order in parameter for callers of set_meta_string_variable Jocelyn Fiat 2011-09-16 18:54:44 +02:00
  • d3239ec41b added debug_output to WGI_VALUE Jocelyn Fiat 2011-09-16 18:54:16 +02:00
  • 7b1557a52a first version of http authorization .. for now, only basic digest Jocelyn Fiat 2011-09-16 18:53:57 +02:00
  • c9a4ebcb23 added request_handler_routes_recorder to provide an implementation for `REQUEST_HANDLER.on_handler_mapped' Jocelyn Fiat 2011-09-16 15:17:49 +02:00
  • 3f899f6aae Added "on_handler_mapped" callback to allow any REQUEST_HANDLER to record the existing routes. Jocelyn Fiat 2011-09-16 15:11:37 +02:00
  • 18684d167b typo Jocelyn Fiat 2011-09-16 15:02:08 +02:00
  • 32bb75b9dc Merge remote-tracking branch 'jocelynEWF/master' jvelilla 2011-09-16 07:04:40 -03:00
  • d06bc76944 minor enhancement of error lib Jocelyn Fiat 2011-09-15 22:02:58 +02:00
  • 86825854ca Added WGI_MULTIPLE_STRING_VALUE Renamed value as WGI_STRING_VALUE.string Renamed a few classes .._CONTEXT_I as .._CONTEXT updated example. Jocelyn Fiat 2011-09-15 17:49:47 +02:00
  • 774cd004db cosmetic Jocelyn Fiat 2011-09-15 15:49:53 +02:00
  • c300cf5b6e Merge branch 'master' of git://github.com/Eiffel-World/Eiffel-Web-Framework Jocelyn Fiat 2011-09-15 11:17:07 +02:00
  • 68247a1849 updated README.md Jocelyn Fiat 2011-09-15 10:55:14 +02:00
  • 22fd7490fe Simplified interface of "router" library classes Jocelyn Fiat 2011-09-14 16:48:27 +02:00
  • 8b6e9273fa applied renaming for rest and router lib Jocelyn Fiat 2011-09-14 16:05:01 +02:00
  • 76fa3e9ff5 Reorganized library "server/request/rest" Jocelyn Fiat 2011-09-14 15:46:45 +02:00
  • 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 Jocelyn Fiat 2011-09-14 15:39:37 +02:00
  • 840ae1e6e4 reorganized router library Jocelyn Fiat 2011-09-14 15:04:29 +02:00
  • 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 Jocelyn Fiat 2011-09-14 14:54:06 +02:00
  • 4bcea900a6 better result type (using READABLE_..) Jocelyn Fiat 2011-09-14 14:48:08 +02:00
  • b1f5065e63 sync with nino Jocelyn Fiat 2011-09-14 14:47:29 +02:00
  • c37fe9ad79 Merge remote-tracking branch 'jocelynEWF/master' jvelilla 2011-09-14 07:58:40 -03:00
  • 2e53f7e0c4 updated changelogs Jocelyn Fiat 2011-09-13 17:12:12 +02:00
  • 512f2d2ce5 Added first draft for RESTful library note: the interfaces are likely to change in the future Jocelyn Fiat 2011-09-13 17:08:40 +02:00
  • 92105ca7b3 updated config file and examples Jocelyn Fiat 2011-09-13 17:07:17 +02:00
  • f0c6eec23d adding routing handler few renaming Jocelyn Fiat 2011-09-13 16:49:45 +02:00
  • 32197d0513 changing design to use generic instead of anchor types Jocelyn Fiat 2011-09-09 16:24:11 +02:00
  • 11286eeeef make router more easy to inherit from and specialized Jocelyn Fiat 2011-09-09 14:10:54 +02:00
  • fb8412fcae Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework Jocelyn Fiat 2011-09-09 08:54:20 +02:00
  • 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 Jocelyn Fiat 2011-09-09 08:51:45 +02:00
  • 0c7e6c08e7 better type for argument and result (using READABLE_...) Jocelyn Fiat 2011-09-09 08:50:29 +02:00
  • c1120a4226 change to standard default values Jocelyn Fiat 2011-09-09 08:50:05 +02:00
  • 5c0cae35ef Sync to jocelyn EWF master jvelilla 2011-09-08 07:45:10 -03:00
  • 7bd5cdc232 Merge remote-tracking branch 'jocelynEWF/master' jvelilla 2011-09-08 07:44:27 -03:00
  • ef85c07603 Update jvelilla 2011-09-08 07:43:36 -03:00
  • 10db3c28a5 sync doc/wiki Jocelyn Fiat 2011-09-07 14:31:52 +02:00
  • 820bd7bd6f Updated EWSGI (markdown) jocelyn 2011-09-07 05:30:29 -07:00
  • 54dc7de189 use `resource' as generic name for uri or uri_template Jocelyn Fiat 2011-09-07 12:46:09 +02:00
  • 2244d101ea added changelogs.txt Jocelyn Fiat 2011-09-07 12:22:11 +02:00
  • 244fdf1b02 Added request methods criteria for the router component. Now one can decide Jocelyn Fiat 2011-09-07 12:14:03 +02:00
  • 3c9fce293f fixed example .. where we forgot to set the status, and send the header (DbC helped here) Jocelyn Fiat 2011-09-07 12:10:48 +02:00
  • eee085dd5a renamed (un)set_meta_parameter as (un)set_meta_variable Jocelyn Fiat 2011-09-07 11:42:53 +02:00
  • 2d9e2d12a0 Missing HTTP_ prefix for header meta variable in REQUEST Jocelyn Fiat 2011-09-07 11:42:02 +02:00
  • 4a7b6ecc94 Updated EWSGI (markdown) jocelyn 2011-09-05 06:59:49 -07:00
  • 28d03ddf2a Updated EWSGI (markdown) jocelyn 2011-09-05 06:58:15 -07:00
  • d0bb906a96 Updated EWSGI (markdown) jocelyn 2011-09-05 06:56:42 -07:00
  • 597f4bc6bd Updated EWSGI (markdown) jocelyn 2011-09-05 06:54:29 -07:00
  • 4744bb15c3 Updated EWSGI (markdown) jocelyn 2011-09-05 06:15:07 -07:00
  • d0576c6829 Updated EWSGI Open Questions (markdown) jocelyn 2011-09-05 06:03:33 -07:00
  • 9fef2d71f0 Fixed ecf files that cause a cat-call in the example web server. EiffelWebNinoWithStreams jvelilla 2011-09-05 09:18:39 -03:00
  • 6a581f6d62 Changed prefix from EWSGI_ to WGI_ Changed meta variable type to READABLE_STRING_32 Jocelyn Fiat 2011-08-30 19:20:42 +02:00
  • 060f1482fe Changed prefix class name from EWSGI_ to WGI_ changes in interface for REQUEST and RESPONSE Jocelyn Fiat 2011-08-30 19:16:40 +02:00
  • ed8f5d694f naming: meta_variable(s) changed some string type to READABLE_STRING_32 or READABLE_STRING_8 for now regarding Meta variables (need decision here..) Jocelyn Fiat 2011-08-29 12:48:03 +02:00
  • c20600f281 changed prefix GW_ into EWF_ for EiffelWebFramework use READABLE_STRING_GENERAL instead of just STRING Jocelyn Fiat 2011-08-25 16:00:18 +02:00
  • 53ccaa3fde sync wiki doc Jocelyn Fiat 2011-08-25 14:48:30 +02:00
  • 22afbd7ed0 Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework Jocelyn Fiat 2011-08-25 14:48:02 +02:00
  • f6b362217c Merged REQUEST and ENVIRONMENT into REQUEST renamed ENVIRONMENT_NAMES into META_NAMES better usage of READABLE_STRING_GENERAL, and other strings abstract RESPONSE_BUFFER in implementation of EWSGI for the implementation, inheriting from deferred specification (more to come later) Jocelyn Fiat 2011-08-25 14:41:35 +02:00
  • e9ccf855b3 Merged REQUEST and ENVIRONMENT into REQUEST renamed ENVIRONMENT_NAMES into META_NAMES better usage of READABLE_STRING_GENERAL, and other strings for the implementation, inheriting from deferred specification (more to come later) Jocelyn Fiat 2011-08-25 12:33:20 +02:00
  • 4d0148d562 fixing wrong feature usage Jocelyn Fiat 2011-08-24 15:54:01 +02:00
  • ec6cc5f2b8 code cleaning, and prepare for internal review code_review_20110823 Jocelyn Fiat 2011-08-18 12:25:40 +02:00
  • 40018d36eb enhanced the ERROR_HANDLER Jocelyn Fiat 2011-08-04 15:11:51 +02:00
  • d14e65fdc0 Updated EWSGI : open questions (markdown) jocelyn 2011-08-02 07:40:10 -07:00
  • c337f49c87 Updated EWSGI (markdown) jocelyn 2011-08-02 07:39:45 -07:00
  • ed587493e9 Updated Home (markdown) jocelyn 2011-08-02 07:39:34 -07:00
  • e2fb499853 Updated EWSGI (markdown) jocelyn 2011-08-02 07:35:47 -07:00
  • 59d4eb528c Created EWSGI (markdown) jocelyn 2011-08-02 07:35:28 -07:00
  • afb3890f50 Updated EWSGI: open questions (markdown) jocelyn 2011-08-02 07:34:52 -07:00
  • 077c140576 Updated Home (markdown) jocelyn 2011-08-02 07:33:41 -07:00
  • 75dc9fac3e Updated Source structure (markdown) jocelyn 2011-08-02 07:32:31 -07:00
  • 637909614b Updated EWSGI: open questions (markdown) jocelyn 2011-08-02 07:31:08 -07:00
  • 45db7eb537 Created EWSGI: open questions (markdown) jocelyn 2011-08-02 07:30:35 -07:00
  • 8e18329063 minor improvements on response_as_result code Jocelyn Fiat 2011-08-02 14:53:37 +02:00
  • 8a3b5a77e3 Updated EWSGI specification: difference in main proposals (markdown) jocelyn 2011-08-02 02:57:33 -07:00
  • 4ab99dcd4a Created EWSGI specification: difference in main proposals (markdown) jocelyn 2011-08-02 02:52:31 -07:00
  • c372494713 cosmetic in config file .ecf Jocelyn Fiat 2011-08-02 10:47:16 +02:00
  • 10f4a99ee1 add "write_headers_string" to RESPONSE_BUFFER Jocelyn Fiat 2011-08-02 10:46:53 +02:00
  • cefc95e56f added current eiffel interfaces for APPLICATION, REQUEST and RESPONSE_BUFFER jocelyn 2011-08-02 01:02:01 -07:00
  • 0194450892 Updated EWSGI specification (markdown) jocelyn 2011-08-02 00:21:53 -07:00
  • e9085c614c sync wiki Jocelyn Fiat 2011-08-01 17:02:33 +02:00
  • f7d3f519a7 moved ewsgi-full config file under tests (this is mainly for dev purpose, to be able to compile and edit all classes related to ewsgi) Jocelyn Fiat 2011-08-01 16:47:00 +02:00
  • 4eb22d0272 Tried to reduce gap between both EWSGI proposals Re-adapt the Spec-compliant solution (instead of Lib-compliant solution). Thus no more 100% deferred interface. Rename EWSGI_RESPONSE into EWSGI_RESPONSE_BUFFER Added in extra/response-as-result/ an copy/paste from the implementation of Paul's proposal (not up to date with Paul's spec). But this is mainly for information and tests. Removed part of the ewsgi/specification interfaces ... to be able to test EWSGI compliant library against the pure specification (experimental). Renamed most of the GW_... into EWSGI_... Jocelyn Fiat 2011-08-01 16:41:16 +02:00
  • a2a1f89299 Updated EWSGI specification (markdown) jocelyn 2011-08-01 01:19:54 -07:00
  • b869eb7333 Updated Home (markdown) jocelyn 2011-08-01 00:36:52 -07:00
  • 7680d071f1 Updated Community collaboration (markdown) jocelyn 2011-07-29 06:15:51 -07:00
  • bbcc9ef44b added http_accept feature to represent "Accept:" HTTP header Jocelyn Fiat 2011-07-29 15:13:34 +02:00
  • 801caa4e69 added hello_routed_world example few changes on new `router' library (still in-progress) Jocelyn Fiat 2011-07-29 15:13:08 +02:00
  • 1b49445077 Added first draft for a URI and/or URI-template base request router. Jocelyn Fiat 2011-07-29 10:51:22 +02:00
  • f005d8bb06 cosmetic Jocelyn Fiat 2011-07-29 10:50:31 +02:00