[Gambas-Notification] [Git][gambas/gambas][master] Add Request.Scheme property. Take HTTP headers into account to detect 'https'.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Thu Jul 15 14:29:18 CEST 2021



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
a56d8192 by gambas at 2021-07-15T14:29:12+02:00
Add Request.Scheme property. Take HTTP headers into account to detect 'https'.

[GB.WEB]
* NEW: Request.Scheme is a new property that replaces Application.Protocol.
* NEW: Request.Scheme now returns '"https"' according to the contents of the 'REQUEST_SCHEME' or 'X_FORWARDED_PROTO' headers passed to the CGI script.

- - - - -


4 changed files:

- comp/src/gb.web/.component
- comp/src/gb.web/.project
- comp/src/gb.web/.src/Application.module
- comp/src/gb.web/.src/Request.module


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/a56d819286a5c1c793d90ea137c889e818dab7ea

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/a56d819286a5c1c793d90ea137c889e818dab7ea
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20210715/ddf89beb/attachment.htm>


More information about the Notification mailing list