user2661167
user2661167

Reputation: 491

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?

Upvotes: 1

Views: 241

Answers (1)

Julian Reschke
Julian Reschke

Reputation: 42045

You simply do not send the Content-Type header field.

Upvotes: 2

Related Questions