Menu

#18 Please add the REQUEST_URI variable in the http api.

Release 1.2
open
nobody
None
1
2012-10-01
2012-09-29
Anonymous
No

When using the http api the CGI variable REQUEST_URI is not set.
It should be useful to have this variable set.

Discussion

  • Artyom Beilis

    Artyom Beilis - 2012-09-30

    REQUEST_URL is not a part of CGI specifications... Do you have any reference to how actually it should be defined? I general if it is not a part of RFC or some other specs I'd rather prefer not to use such a variable because it may be dependent on web server, web server version or may not be defined at all.

     
  • Anonymous

    Anonymous - 2012-10-01

    Thank you for your consideration.

    The variable REQUEST_URI is defined when running behind the lighttpd server:

    http://redmine.lighttpd.net/projects/lighttpd/repository/entry/branches/lighttpd-1.4.x/src/mod_fastcgi.c

    And I've seen the variable mentioned in the following article:

    http://en.wikipedia.org/wiki/Common_Gateway_Interface

    This leaded me to think that is a standard variable, but it seems that it is an extension introduced by the Apache server.

    I understand that the content of this variable is the Request-URI part from the original Http Request-Line.

     

Anonymous
Anonymous

Add attachments
Cancel