| 232 | } |
| 233 | |
| 234 | const char* HttpServletRequest::getPathInfo(void) const |
| 235 | { |
| 236 | if (cgi_mode_) { |
| 237 | const char* ptr = acl_getenv("SCRIPT_NAME"); |
| 238 | if (ptr != NULL) { |
| 239 | return ptr; |
| 240 | } |
| 241 | ptr = acl_getenv("PATH_INFO"); |
| 242 | return ptr ? ptr : ""; |
| 243 | } |
| 244 | if (client_ == NULL) { |
| 245 | return ""; |
| 246 | } |
| 247 | const char* ptr = client_->request_path(); |
| 248 | return ptr ? ptr : ""; |
| 249 | } |
| 250 | |
| 251 | const char* HttpServletRequest::getRequestUri(void) const |
| 252 | { |