webmcp
view framework/env/request/force_absolute_baseurl.lua @ 506:83b3882dc31b
New functions moonhash.shake128(data, len, alphabet), moonhash.shake256(data, len, alphabet)
Removed moonhash.shake128_128(...)
Removed moonhash.shake128_128(...)
author | jbe |
---|---|
date | Wed Aug 16 00:31:11 2017 +0200 (2017-08-16) |
parents | d6bcb9eadd39 |
children |
line source
1 --[[--
2 request.force_absolute_baseurl()
4 Calling this function causes subsequent calls of request.get_relative_baseurl() to return absolute URLs instead.
6 --]]--
8 function request.force_absolute_baseurl()
9 request.configure(function()
10 request._force_absolute_baseurl = true
11 end)
12 end