MCPcopy Create free account
hub / github.com/acl-dev/acl / getRequestReferer

Method getRequestReferer

lib_acl_cpp/src/http/HttpServletRequest.cpp:933–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

931}
932
933const char* HttpServletRequest::getRequestReferer(void) const
934{
935 if (cgi_mode_) {
936 return acl_getenv("HTTP_REFERER");
937 }
938 if (client_ == NULL) {
939 return NULL;
940 }
941 return client_->header_value("Referer");
942}
943
944const http_ctype& HttpServletRequest::getHttpCtype(void) const
945{

Callers

nothing calls this directly

Calls 2

acl_getenvFunction · 0.85
header_valueMethod · 0.45

Tested by

no test coverage detected