Jocelyn Fiat
bbcc9ef44b
added http_accept feature to represent "Accept:" HTTP header
2011-07-29 15:13:34 +02:00
Jocelyn Fiat
801caa4e69
added hello_routed_world example
...
few changes on new `router' library (still in-progress)
2011-07-29 15:13:08 +02:00
Jocelyn Fiat
1b49445077
Added first draft for a URI and/or URI-template base request router.
2011-07-29 10:51:22 +02:00
Jocelyn Fiat
f005d8bb06
cosmetic
2011-07-29 10:50:31 +02:00
Jocelyn Fiat
a278537f7b
Added "flush" to the EWSGI_RESPONSE_STREAM
2011-07-29 10:50:24 +02:00
Jocelyn Fiat
78b5b6f5fe
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
2011-07-29 08:52:57 +02:00
Jocelyn Fiat
a215c1e4d2
added missing non-void-safe .ecf
2011-07-29 08:52:36 +02:00
Jocelyn Fiat
fe3726677b
added missing non-void-safe .ecf
2011-07-29 08:45:26 +02:00
Jocelyn Fiat
94d4909644
Fixed various issue with URI template, added corresponding tests
2011-07-28 18:45:25 +02:00
Jocelyn Fiat
0da4b7d61b
It seems good convention to also add the "Status:" header
Review_EWSGI
2011-07-28 10:57:24 +02:00
Jocelyn Fiat
5c5ba9f038
fix hello world example
2011-07-28 10:41:57 +02:00
Jocelyn Fiat
d65c8de1d2
ignore tests/temp
2011-07-28 08:28:54 +02:00
Jocelyn Fiat
3d93dbc66d
added script to test compilations of .ecf in EWF
2011-07-27 18:35:17 +02:00
Jocelyn Fiat
436f2afd00
Added the possibility to set the "Status" header (different from the status line) in GW_HEADER
...
Renamed EWSGI_RESPONSE as EWSGI_RESPONSE_STREAM to avoid confusion with EWSGI_RESPONSE as stated in Paul's proposal
Added default "configuration" (for nino and cgi) to be independant of the connector (at compilation time)
Added example implementing Paul's proposal on top of EWSGI
2011-07-27 18:34:06 +02:00
Jocelyn Fiat
73284575d4
Added an implementation folder in ewsgi_spec, mainly to provide default implementation just to save the developer of connector some time.
...
changed structured
2011-07-27 17:34:53 +02:00
Jocelyn Fiat
e9b05ffc0b
added non void-safe configuration files
2011-07-27 16:07:00 +02:00
Jocelyn Fiat
012bb2f6c9
restructured specification folders
2011-07-27 15:58:31 +02:00
Jocelyn Fiat
e883163fe9
Apply prefix renaming from the specification
...
Reduced the number of EWSGI classes
2011-07-27 15:56:44 +02:00
Jocelyn Fiat
e5fb3f8328
now use prefix EWSGI_ instead of GW_ for ewsgi specification
2011-07-27 15:40:51 +02:00
Jocelyn Fiat
302ae8d030
First step to extract the interface of the EWSGI specification into its own library
...
Applied the changes
2011-07-27 15:34:22 +02:00
Jocelyn Fiat
694c0a193c
removed implementation from APPLICATION , RESPONSE and REQUEST classes
2011-07-27 15:11:07 +02:00
Jocelyn Fiat
4075b08b7e
removed the notion of status from GW_HEADER, since it should not be part of the HTTP header
...
added status setting in GW_RESPONSE
added a default implementation for write_status in OUTPUT_STREAM
(it should be moved away in the future)
removed any implementation from GW_REQUEST, and put it in GW_REQUEST_IMP
2011-07-27 14:51:47 +02:00
Jocelyn Fiat
65800371cd
replace write_string by write in RESPONSE
2011-07-26 16:01:23 +02:00
Jocelyn Fiat
2c6196017e
various alternative implementation for response
2011-07-26 16:01:18 +02:00
Jocelyn Fiat
5a155e0cee
Redesigned the RESPONSE to remove the output stream from the deferred interface
...
Redesigned the uploaded file part to be more object oriented
Move some implementation from REQUEST to REQUEST_IMP
2011-07-25 12:38:25 +02:00
Jocelyn Fiat
08bec49da4
added doc/spec for uri template
2011-07-25 12:38:16 +02:00
Jocelyn Fiat
4940ddb8f5
Fixed issue with matcher
2011-07-22 17:29:17 +02:00
Jocelyn Fiat
6599bf1a07
fixed typo
2011-07-22 17:06:08 +02:00
Jocelyn Fiat
0ef88eadf5
Improvement
...
and revert back to support draft 04
(but using custom variable, allow the user to follow draft 05 spec)
2011-07-22 16:58:31 +02:00
Jocelyn Fiat
e1ef4c390e
fixing issue with URI TEMPLATE matcher
2011-07-22 13:14:09 +02:00
Jocelyn Fiat
11baeefe1c
Merge branch 'master' of github.com:jocelyn/Eiffel-Web-Framework
2011-07-22 08:30:49 +02:00
Jocelyn Fiat
ac7f58722d
added URI_TEMPLATE_MATCH_RESULT
2011-07-22 08:30:08 +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
0d363f065b
added use of URL-encoder to unencode the URL values (to fill the parameters)
...
review design of GW_RESPONSE to hide the output, and remove the header attribute
added script_url in REQUEST to help the user build url relative to script_name
+ cosmetic
2011-07-20 18:27:02 +02:00
Jocelyn Fiat
51b70a2490
First version of URI Template library
...
as specified by http://tools.ietf.org/html/draft-gregorio-uritemplate-05
(it seems to contains some error in the spec .. or minor incoherences, to double check)
The matcher is basic, it does not handle all the details of the string builder, but that seems ok for now.
2011-07-20 12:11:05 +02:00
Jocelyn Fiat
917f80c0c8
added format and request method constants classes
...
+ license file
2011-07-18 16:36:56 +02:00
Jocelyn Fiat
73e5fd6cd6
added default rescue code on exception rescue
2011-07-18 16:33:10 +02:00
Jocelyn Fiat
0abab83566
nicer Eiffel code, let's not try to achieve everything-in-one-line style ...
2011-07-18 16:32:42 +02:00
Jocelyn Fiat
f764e63b45
restrict creation only by GW_APPLICATION and descendant
2011-07-18 16:31:32 +02:00
Jocelyn Fiat
0a1c4676a4
add output helper feature to RESPONSE
2011-07-18 16:29:43 +02:00
Jocelyn Fiat
8a38519fb0
Fixed issue with nino handler and base url
2011-07-18 16:07:45 +02:00
Jocelyn Fiat
54c9addb30
sync nino and json
2011-07-18 16:06:21 +02:00
Jocelyn Fiat
30d4843a5b
rename new_request_context by new_request
2011-07-14 14:56:34 +02:00
Jocelyn Fiat
3e73298806
cosmetic
2011-07-13 16:25:17 +02:00
Jocelyn Fiat
01b16d0a82
renamed GW_REQUEST_CONTEXT as GW_REQUEST
2011-07-13 16:22:20 +02:00
Jocelyn Fiat
ac97d6019b
Design change, now we have req' REQUEST and res' RESPONSE instead of just `ctx'
2011-07-13 16:13:25 +02:00
Jocelyn Fiat
4e2f0dbc72
enhanced comment for `execute'
2011-07-13 15:37:50 +02:00
Jocelyn Fiat
9d1fb56cc1
Make a simple hello world based on nino
2011-07-13 15:26:21 +02:00