简体   繁体   中英

HTTP 1.0 header content-type for unknow file type

I am doing an assignment where I have to make a simple HTTP 1.0 server.

I know that htm files has content-type text/html and jpg files has content-type image/jpeg

but what is the content-type if the file type is unknown?

您只是不发送Content-Type标头字段。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM