Hi,
documentation says :
How to retrieve web server information in a web service
With Genero Web services applications, environment variables cannot be used to pass HTTP request headers because the gwsproxy has already started. The only way to send the environment is through the HTTP header. Header names set by the GAS have the following form:
X-FourJs-Environment-Variable-MyHeaderName
...
Some variables transmitted by the Web server (Apache, IIS, etc.) are also available to the environment:
X-FourJs-Environment-Variable-REMOTE_ADDR
X-FourJs-Environment-Variable-REMOTE_USER
X-FourJs-Environment-Variable-SERVER_NAME
X-FourJs-Environment-Variable-HTTPS
...
Set a context dictionary variable (for example context) at the modular level with the WSContext attribute. This allows you to retrieve all X-FourJs-Environment-xxx set by the GAS by referencing a dictionary key value, for example, DISPLAY context["Variable-REMOTE_ADDR"].
I've tried using Context Dictionnary and "Variable-xxx" keys are not present only this one :
--- 1 BaseURL
--- 2 RequestURL
--- 3 Media
--- 4 Host
--- 5 User-Agent
--- 6 Accept
--- 7 Content-Type
--- 8 Content-Length
Must we need to change some config in xcf files ?
Regards