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 Reply

Your email address will not be published. Required fields are marked *