Updated EWSGI specification (markdown)

This commit is contained in:
seibo
2011-07-12 16:02:30 -07:00
parent e63553555d
commit e1120040bb

View File

@@ -73,7 +73,7 @@ This is the Eiffel application side. Basically one should be able to write:
Result.set_status (Http_not_found)
end
end
end`
end
Or to register handlers for specific URL paths (or regexp based URL path expressions):
@@ -84,14 +84,12 @@ Or to register handlers for specific URL paths (or regexp based URL path express
make
redefine
make
features
feature
make is
do
register_handler (”/hello”, ~hello_world_handler)
-- The default execute feature will dispatch calls to the appropriate handler!
end
hello_world_handler (env: ENVIRON): RESPONSE is
do
create Result
@@ -104,7 +102,6 @@ Or to register handlers for specific URL paths (or regexp based URL path express
end
end
end
end
## Specification Details