Jocelyn Fiat
434f031680
Synchronized with ejson library
...
Cleaned JSON_ENCODER
2012-01-13 19:04:26 +01:00
Jocelyn Fiat
e36533bc99
Added JSON_ENCODER
2012-01-12 10:38:43 +01:00
Jocelyn Fiat
d90ecbd5fe
removed obsolete call on WSF_RESPONSE.write_..' by using the up-to-date WSF_RESPONSE.put_..'
2012-01-09 10:21:35 +01:00
Jocelyn Fiat
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
2012-01-06 18:27:52 +01:00
Jocelyn Fiat
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
2011-12-18 12:57:24 +01:00
Jocelyn Fiat
6b50ab8c55
applied write_ as put_ renaming to examples
2011-12-18 12:55:42 +01:00
Jocelyn Fiat
c8efa04147
Use put_ instead of write_
2011-12-15 23:52:53 +01:00
Jocelyn Fiat
37860f43b5
various minor changes
2011-12-15 23:38:34 +01:00
Jocelyn Fiat
65a998cec3
use /usr/lib/libfcgi.so instead of /usr/local/lib/libfcgi.so
2011-12-15 20:10:31 +01:00
Jocelyn Fiat
7207a021be
Applied renaming from write_ to put_
2011-12-15 19:34:20 +01:00
Jocelyn Fiat
32373addfa
Renamed write_ feature as put_
2011-12-15 19:04:26 +01:00
Jocelyn Fiat
e16f03b1c2
Fixed stupid mistake in {WGI_NINO_INPUT_SREEAM}.end_of_input
2011-12-15 15:36:47 +01:00
Jocelyn Fiat
1698a06ea0
Fixed typo and missing uri_template reference for draft rest library
2011-12-15 14:40:43 +01:00
Jocelyn Fiat
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
2011-12-15 14:10:52 +01:00
Jocelyn Fiat
bfa620eee3
Made DEFAULT_SERVICE_LAUNCHER more flexible for the user.
2011-12-15 13:30:19 +01:00
Jocelyn Fiat
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 ...)
2011-12-14 16:34:01 +01:00
Jocelyn Fiat
ab5b43d8ef
Forgot to add make_and_launch_with_options to the creation procedures
2011-12-14 15:04:29 +01:00
Jocelyn Fiat
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
2011-12-14 14:44:06 +01:00
Jocelyn Fiat
b60c41ee1b
Updated readme on how to get source code
2011-12-13 11:43:24 +01:00
Jocelyn Fiat
f9dfeb0034
added head and bottom value in WSF_FILE_RESPONSE, to enable the user to set a head and bottom part easily
2011-12-13 10:35:49 +01:00
Jocelyn Fiat
5e35bc59a9
avoid infinite rescue due to internal error or user code not dealing well with socket disconnection
2011-12-12 21:19:45 +01:00
Jocelyn Fiat
2ed6d92e53
Removed dotnet target for now
2011-12-12 21:18:35 +01:00
Jocelyn Fiat
33d3071cad
Merge branch 'master' of github.com:Eiffel-World/Eiffel-Web-Framework
2011-12-12 18:57:09 +01:00
Jocelyn Fiat
35dde23976
Fixed http_client autotest code
2011-12-12 18:50:40 +01:00
Jocelyn Fiat
390c05b056
Break inheritance from WGI_RESPONSE, since it is not flexible for future improvement.
2011-12-12 18:24:46 +01:00
Jocelyn Fiat
011f8746d6
Fixed HTTP client callers
2011-12-12 18:17:39 +01:00
Jocelyn Fiat
0335226e8b
Renamed DEFAULT_SERVICE as DEFAULT_SERVICE_LAUNCHER
2011-12-12 18:17:27 +01:00
Jocelyn Fiat
68e4ac9a8f
Fixed WSF_FILE_RESPONSE
...
and added WSF_FORCE_DOWNLOAD_RESPONSE
2011-12-12 16:20:06 +01:00
Jocelyn Fiat
f6b293d4ae
Merge changes from Javier
...
- update on RESTbuck examples
- new example
- fixed bad typo in WSF_REQUEST
Reverted some changes such as
- http_client_response: keep the headers as a list to handle multiple message-value with same message-name
Fixed simple and simple_file example
Improved HTTP_HEADER
Changed libcurl implementation for http client
- now the header from the context really overwrite any of the session headers
- better design which is more strict, and remove any doubt about context's header usage
2011-12-12 16:03:38 +01:00
Jocelyn Fiat
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
2011-12-12 11:16:15 +01:00
jvelilla
52e6944f37
Merge branch 'master' of github.com:jvelilla/Eiffel-Web-Framework
2011-12-10 18:06:39 -03:00
jvelilla
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
2011-12-10 18:05:41 -03:00
jvelilla
a3c50956f1
Update examples/restbucksCRUD/readme.md
2011-12-10 11:02:20 -02:00
jvelilla
0d67533c83
Merge branch 'master' of github.com:jvelilla/Eiffel-Web-Framework
2011-12-09 21:14:18 -03:00
jvelilla
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.
2011-12-09 21:11:16 -03:00
jvelilla
36601fd3a4
Update examples/restbucksCRUD/readme.md
2011-12-09 19:16:07 -02:00
jvelilla
9a85c24c0d
Update examples/restbucksCRUD/readme.md
2011-12-09 19:15:33 -02:00
jvelilla
5ef19021eb
Update examples/restbucksCRUD/readme.md
2011-12-09 19:10:09 -02:00
jvelilla
7495d0e6a7
Update examples/restbucksCRUD/readme.md
2011-12-09 19:00:58 -02:00
jvelilla
f27c1f97a3
Update examples/restbucksCRUD/readme.md
2011-12-09 18:59:23 -02:00
jvelilla
b96029a750
Update examples/restbucksCRUD/readme.md
2011-12-09 18:56:49 -02:00
jvelilla
9ef10c749a
Update examples/restbucksCRUD/readme.md
2011-12-09 18:45:50 -02:00
jvelilla
0aa3d81b22
Update examples/restbucksCRUD/readme.md
2011-12-09 18:44:21 -02:00
jvelilla
5d17b0dd29
Update examples/restbucksCRUD/readme.md
2011-12-09 17:24:01 -02:00
jvelilla
5e2c2af18a
Update examples/restbucksCRUD/readme.md
2011-12-09 11:57:47 -02:00
jvelilla
de157be6f1
Update examples/restbucksCRUD/readme.md
2011-12-09 11:57:04 -02:00
jvelilla
f601ae1c8b
Update examples/restbucksCRUD/readme.md
2011-12-09 11:52:18 -02:00
jvelilla
f6f94add80
Update examples/restbucksCRUD/readme.md
2011-12-09 11:43:58 -02:00
jvelilla
a70e75f729
Update examples/restbucksCRUD/readme.md
2011-12-09 11:41:58 -02:00
jvelilla
2dd43ad829
Update examples/restbucksCRUD/readme.md
2011-12-09 11:02:31 -02:00