webmcp
diff framework/env/request/set_absolute_baseurl.lua @ 254:2169a62e12f5
Work on demo application (to fit modified WebMCP API); Bugfixes of WebMCP
author | jbe |
---|---|
date | Mon Mar 02 01:15:34 2015 +0100 (2015-03-02) |
parents | 9fdfb27f8e67 |
children | 56cb5ed5e692 |
line diff
1.1 --- a/framework/env/request/set_absolute_baseurl.lua Sun Mar 01 22:56:06 2015 +0100 1.2 +++ b/framework/env/request/set_absolute_baseurl.lua Mon Mar 02 01:15:34 2015 +0100 1.3 @@ -3,7 +3,7 @@ 1.4 url -- Base URL of the application 1.5 ) 1.6 1.7 -Calling this function is neccessary for every configuration, because an absolute URL is needed for HTTP redirects. If the URL of the application is volatile, and if you don't bother violating the HTTP standard, you might want to execute request.set_absolute_baseurl(request.get_relative_baseurl()) in your application configuration. 1.8 +Calling this function is neccessary for every configuration, because an absolute URL is needed for HTTP redirects. If the URL of the application is volatile, and if you don't bother violating the HTTP standard, it is possible to skip calling this function in your configuration. 1.9 1.10 --]]-- 1.11