| 958 | } |
| 959 | |
| 960 | const char* HttpServletRequest::getUserAgent(void) const |
| 961 | { |
| 962 | if (cgi_mode_) { |
| 963 | return acl_getenv("HTTP_USER_AGENT"); |
| 964 | } |
| 965 | if (client_ == NULL) { |
| 966 | return NULL; |
| 967 | } |
| 968 | return client_->header_value("User-Agent"); |
| 969 | } |
| 970 | |
| 971 | bool HttpServletRequest::isKeepAlive(void) const |
| 972 | { |
nothing calls this directly
no test coverage detected