Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
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
Jocelyn Fiat
bc98c5a317 Added GW_HEADER
Added pre_, post_ and rescue_execute for GW_APPLICATION
Fixed an unknown class in export clause
cosmetic + copyright
2011-07-12 17:47:17 +02:00
Jocelyn Fiat
f74ac66569 First integration of the new GW_ design more centralized on connector, and does not require specific feature on GW_APPLICATION depending on the connector.
So this is really more flexible this way, and much easier to write application supporting CGI, FCGI, Nino and so on .. as demonstrated in hello_world

This is a first version, more will come later, mainly migrating from Eiffel Web Reloaded to this Eiffel Web Framework project.
2011-07-12 11:53:00 +02:00