Home
last modified time | relevance | path

Searched refs:send_response (Results 1 – 1 of 1) sorted by relevance

/DragonOS/user/apps/http_server/
H A Dmain.c30 ssize_t send_response(int sockfd, char *response) in send_response() function
69 send_response(sockfd, buffer); in send_header()
79 send_response( in send_file()
131send_response(sockfd, "HTTP/1.1 400 Bad Request\nContent-Type: text/html\n\n<html><body><h1>400 Ba… in handle_request()
138send_response(sockfd, "HTTP/1.1 400 Bad Request\nContent-Type: text/html\n\n<html><body><h1>400 Ba… in handle_request()
160 send_response( in handle_request()
169send_response(sockfd, "HTTP/1.1 501 Not Implemented\nContent-Type: text/html\n\n<html><body><h1>50… in handle_request()