diff options
author | Daniel Schadt <kingdread@gmx.de> | 2021-08-14 22:26:24 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2021-08-14 22:26:24 +0200 |
commit | 7ae86ad2f32994791edcd4d4ac4ec8499034181f (patch) | |
tree | 575f993a70de0c2cdd609b87ba7f3161a0b0df34 /app/Main.hs | |
parent | c4ec73caf11acd7e2c1b3c28bfafc8c5cdb1fca2 (diff) | |
download | Cana-7ae86ad2f32994791edcd4d4ac4ec8499034181f.tar.gz Cana-7ae86ad2f32994791edcd4d4ac4ec8499034181f.tar.bz2 Cana-7ae86ad2f32994791edcd4d4ac4ec8499034181f.zip |
CGI: Use envvars to pass request URL
This is more conforming to other CGI environments, see for example [1]
and [2].
This also allows us to easily add more fields in the future, for example
to pass the remote address, the TLS certificate, the server version, ...
[1]: https://en.wikipedia.org/wiki/Common_Gateway_Interface#Example
[2]: https://sr.ht/~int80h/gemserv/
Diffstat (limited to 'app/Main.hs')
0 files changed, 0 insertions, 0 deletions