[fpc-pascal] fcl-web: retrieve URI given TFPWebModule and TFPWebAction instances

leledumbo leledumbo_cool at yahoo.co.id
Sat May 2 05:59:01 CEST 2015


> ARequest.URI ? 
> Forgot to mention that there is a global Request property which is the 
> same. 
> So Request.URI ... 

It's empty in CGI/FastCGI/Embedded Webserver. Did I just find another bug?

This is the result of dumping [A]Request properties:

[CGI, URL = http://localhost/test.fpw/m/helloget]
ScriptName	/test.fpw
PathInfo	/m/helloget
URI	
ReturnedPathInfo	m
LocalPathPrefix	../../
CommandLine	
Command	
QueryString	
HeaderLine

[FastCGI, URL = http://fpfcgi.local/m/helloget]
ScriptName	fpfcgi.local
PathInfo	/m/helloget
URI	
ReturnedPathInfo	m
LocalPathPrefix	../../
CommandLine	
Command	
QueryString	
HeaderLine	

[Embedded Webserver, URL = http://localhost:2015/m/helloget]
	
PathInfo	m/helloget
URI	
ReturnedPathInfo	m
LocalPathPrefix	../
CommandLine	
Command	
QueryString	
HeaderLine	HTTP/1.1




--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/fcl-web-retrieve-URI-given-TFPWebModule-and-TFPWebAction-instances-tp5721650p5721656.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list