/third_party/boost/doc/html/boost_asio/example/cpp11/http/server/ |
D | request_handler.cpp | 30 std::string request_path; in handle_request() local 31 if (!url_decode(req.uri, request_path)) in handle_request() 38 if (request_path.empty() || request_path[0] != '/' in handle_request() 39 || request_path.find("..") != std::string::npos) in handle_request() 46 if (request_path[request_path.size() - 1] == '/') in handle_request() 48 request_path += "index.html"; in handle_request() 52 std::size_t last_slash_pos = request_path.find_last_of("/"); in handle_request() 53 std::size_t last_dot_pos = request_path.find_last_of("."); in handle_request() 57 extension = request_path.substr(last_dot_pos + 1); in handle_request() 61 std::string full_path = doc_root_ + request_path; in handle_request()
|
/third_party/boost/doc/html/boost_asio/example/cpp03/http/server2/ |
D | request_handler.cpp | 31 std::string request_path; in handle_request() local 32 if (!url_decode(req.uri, request_path)) in handle_request() 39 if (request_path.empty() || request_path[0] != '/' in handle_request() 40 || request_path.find("..") != std::string::npos) in handle_request() 47 if (request_path[request_path.size() - 1] == '/') in handle_request() 49 request_path += "index.html"; in handle_request() 53 std::size_t last_slash_pos = request_path.find_last_of("/"); in handle_request() 54 std::size_t last_dot_pos = request_path.find_last_of("."); in handle_request() 58 extension = request_path.substr(last_dot_pos + 1); in handle_request() 62 std::string full_path = doc_root_ + request_path; in handle_request()
|
/third_party/boost/libs/asio/example/cpp03/http/server/ |
D | request_handler.cpp | 31 std::string request_path; in handle_request() local 32 if (!url_decode(req.uri, request_path)) in handle_request() 39 if (request_path.empty() || request_path[0] != '/' in handle_request() 40 || request_path.find("..") != std::string::npos) in handle_request() 47 if (request_path[request_path.size() - 1] == '/') in handle_request() 49 request_path += "index.html"; in handle_request() 53 std::size_t last_slash_pos = request_path.find_last_of("/"); in handle_request() 54 std::size_t last_dot_pos = request_path.find_last_of("."); in handle_request() 58 extension = request_path.substr(last_dot_pos + 1); in handle_request() 62 std::string full_path = doc_root_ + request_path; in handle_request()
|
/third_party/boost/libs/asio/example/cpp11/http/server/ |
D | request_handler.cpp | 30 std::string request_path; in handle_request() local 31 if (!url_decode(req.uri, request_path)) in handle_request() 38 if (request_path.empty() || request_path[0] != '/' in handle_request() 39 || request_path.find("..") != std::string::npos) in handle_request() 46 if (request_path[request_path.size() - 1] == '/') in handle_request() 48 request_path += "index.html"; in handle_request() 52 std::size_t last_slash_pos = request_path.find_last_of("/"); in handle_request() 53 std::size_t last_dot_pos = request_path.find_last_of("."); in handle_request() 57 extension = request_path.substr(last_dot_pos + 1); in handle_request() 61 std::string full_path = doc_root_ + request_path; in handle_request()
|
/third_party/boost/doc/html/boost_asio/example/cpp03/http/server4/ |
D | file_handler.cpp | 31 std::string request_path; in operator ()() local 32 if (!url_decode(req.uri, request_path)) in operator ()() 39 if (request_path.empty() || request_path[0] != '/' in operator ()() 40 || request_path.find("..") != std::string::npos) in operator ()() 47 if (request_path[request_path.size() - 1] == '/') in operator ()() 49 request_path += "index.html"; in operator ()() 53 std::size_t last_slash_pos = request_path.find_last_of("/"); in operator ()() 54 std::size_t last_dot_pos = request_path.find_last_of("."); in operator ()() 58 extension = request_path.substr(last_dot_pos + 1); in operator ()() 62 std::string full_path = doc_root_ + request_path; in operator ()()
|
/third_party/boost/libs/asio/example/cpp03/http/server3/ |
D | request_handler.cpp | 31 std::string request_path; in handle_request() local 32 if (!url_decode(req.uri, request_path)) in handle_request() 39 if (request_path.empty() || request_path[0] != '/' in handle_request() 40 || request_path.find("..") != std::string::npos) in handle_request() 47 if (request_path[request_path.size() - 1] == '/') in handle_request() 49 request_path += "index.html"; in handle_request() 53 std::size_t last_slash_pos = request_path.find_last_of("/"); in handle_request() 54 std::size_t last_dot_pos = request_path.find_last_of("."); in handle_request() 58 extension = request_path.substr(last_dot_pos + 1); in handle_request() 62 std::string full_path = doc_root_ + request_path; in handle_request()
|
/third_party/boost/doc/html/boost_asio/example/cpp03/http/server3/ |
D | request_handler.cpp | 31 std::string request_path; in handle_request() local 32 if (!url_decode(req.uri, request_path)) in handle_request() 39 if (request_path.empty() || request_path[0] != '/' in handle_request() 40 || request_path.find("..") != std::string::npos) in handle_request() 47 if (request_path[request_path.size() - 1] == '/') in handle_request() 49 request_path += "index.html"; in handle_request() 53 std::size_t last_slash_pos = request_path.find_last_of("/"); in handle_request() 54 std::size_t last_dot_pos = request_path.find_last_of("."); in handle_request() 58 extension = request_path.substr(last_dot_pos + 1); in handle_request() 62 std::string full_path = doc_root_ + request_path; in handle_request()
|
/third_party/boost/libs/asio/example/cpp03/http/server2/ |
D | request_handler.cpp | 31 std::string request_path; in handle_request() local 32 if (!url_decode(req.uri, request_path)) in handle_request() 39 if (request_path.empty() || request_path[0] != '/' in handle_request() 40 || request_path.find("..") != std::string::npos) in handle_request() 47 if (request_path[request_path.size() - 1] == '/') in handle_request() 49 request_path += "index.html"; in handle_request() 53 std::size_t last_slash_pos = request_path.find_last_of("/"); in handle_request() 54 std::size_t last_dot_pos = request_path.find_last_of("."); in handle_request() 58 extension = request_path.substr(last_dot_pos + 1); in handle_request() 62 std::string full_path = doc_root_ + request_path; in handle_request()
|
/third_party/boost/libs/asio/example/cpp03/http/server4/ |
D | file_handler.cpp | 31 std::string request_path; in operator ()() local 32 if (!url_decode(req.uri, request_path)) in operator ()() 39 if (request_path.empty() || request_path[0] != '/' in operator ()() 40 || request_path.find("..") != std::string::npos) in operator ()() 47 if (request_path[request_path.size() - 1] == '/') in operator ()() 49 request_path += "index.html"; in operator ()() 53 std::size_t last_slash_pos = request_path.find_last_of("/"); in operator ()() 54 std::size_t last_dot_pos = request_path.find_last_of("."); in operator ()() 58 extension = request_path.substr(last_dot_pos + 1); in operator ()() 62 std::string full_path = doc_root_ + request_path; in operator ()()
|
/third_party/boost/doc/html/boost_asio/example/cpp03/http/server/ |
D | request_handler.cpp | 31 std::string request_path; in handle_request() local 32 if (!url_decode(req.uri, request_path)) in handle_request() 39 if (request_path.empty() || request_path[0] != '/' in handle_request() 40 || request_path.find("..") != std::string::npos) in handle_request() 47 if (request_path[request_path.size() - 1] == '/') in handle_request() 49 request_path += "index.html"; in handle_request() 53 std::size_t last_slash_pos = request_path.find_last_of("/"); in handle_request() 54 std::size_t last_dot_pos = request_path.find_last_of("."); in handle_request() 58 extension = request_path.substr(last_dot_pos + 1); in handle_request() 62 std::string full_path = doc_root_ + request_path; in handle_request()
|
/third_party/nghttp2/examples/ |
D | libevent-server.c | 91 char *request_path; member 235 free(stream_data->request_path); in delete_http2_stream_data() 489 if (!stream_data || stream_data->request_path) { in on_header_callback() 496 stream_data->request_path = percent_decode(value, j); in on_header_callback() 535 if (!stream_data->request_path) { in on_request_recv() 542 stream_data->request_path); in on_request_recv() 543 if (!check_path(stream_data->request_path)) { in on_request_recv() 549 for (rel_path = stream_data->request_path; *rel_path == '/'; ++rel_path) in on_request_recv()
|
/third_party/cef/tests/ceftests/ |
D | cors_unittest.cc | 150 const std::string& request_path, in Resource() 154 Init(request_handler, request_path, mime_type, data, status); in Resource() 159 const std::string& request_path, in Init() 164 path = request_path; in Init()
|
/third_party/python/Lib/test/ |
D | test_http_cookiejar.py | 17 reach, is_HDN, domain_match, user_domain_match, request_path, 736 self.assertEqual(request_path(req), 742 self.assertEqual(request_path(req), "/rheum/rhaponticum") 745 self.assertEqual(request_path(req), "/")
|
/third_party/python/Lib/http/ |
D | cookiejar.py | 648 def request_path(request): function 1007 req_path = request_path(request) 1216 req_path = request_path(request) 1520 path = request_path(request)
|
/third_party/nghttp2/doc/sources/ |
D | tutorial-server.rst | 130 char *request_path; 500 if (!stream_data || stream_data->request_path) { 507 stream_data->request_path = percent_decode(value, j);
|
/third_party/googletest/googletest/scripts/ |
D | upload.py | 306 def Send(self, request_path, payload=None, argument 335 url = "http://%s%s" % (self.host, request_path)
|