Stas Bekman wrote:
Matisse Enzer wrote:




-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:

I tried:
   my $scheme = APR::URI->parse($r->pool, $r->uri)->scheme;

and it didn't seem to work. My server is on port 9000 but I got nothing in $scheme.


Ai, my bad, sorry about that. I *should* have tested that.

I don't think you can get the request's scheme, because the server doesn't know it. it's only used by the client. The server gets only the request URI.

there was a way to do this in mod_perl 1.0. I'll take a look tomorrow and see if the same functionality was copied over.


--Geoff



Reply via email to