SkillAgentSearch skills...

HttpServer

💡File display, upload and download functions are performed on the TCP server using the HTTP protocol. File display: If the path of the requested URL is a directory, all the directories will be read The file is displayed, and an html page is organized according to each file information in the directory for chunked block transfer, and the file size, type and last modification time are displayed in the browser. File download: first organize the header information, send it to the client, and then read the file data. Send all the data to the body and send it to the client. File upload: create a file in the server's directory, and will be in the body of the request Put the data into it. Since this feature involves the server processing the data, use CGI (Web application) to ensure the security of the server.

Install / Use

/learn @TaoJun724/HttpServer
About this skill

Quality Score

0/100

Supported Platforms

Zed
View on GitHub
GitHub Stars7
CategoryDevelopment
Updated1y ago
Forks1

Languages

C++

Security Score

55/100

Audited on Sep 16, 2024

No findings