What are all the possible values for HTTP “Content-Type” header?

I have to validate the Content-Type header value before passing it to an HTTP request.

Is there a specific list for all the possible values of Content-Type?

Otherwise, is there a way to validate the content type before using it in an HTTP request?

4 Answers
4

Leave a Comment