tokuhirom / p6-Crust

PSGI library stack for Perl6
Artistic License 2.0
66 stars 18 forks source link

p6sgi.url_scheme vs p6sgi.url-scheme #63

Closed retupmoca closed 8 years ago

retupmoca commented 8 years ago

In the PSGI module and in the P6SGI document, the name %env is used to refer to 'https' vs 'http'. Crust uses the name 'p6sgi.url_scheme'. This causes, at the very least, $crust-request.secure to not work when used with the SCGI module.

I would like to see Crust use (or at least support) the 'p6sgi.url-scheme' name, since it's used in a couple of other modules. (or have everyone standardize on the url_scheme name)

tokuhirom commented 8 years ago

:+1:

tokuhirom commented 8 years ago
    C<p6sgi.url-scheme>      | C<< Str:D >>                           | Either "http" or "https".

ref. https://raw.githubusercontent.com/zostay/P6SGI/master/P6SGI.pod