vendredi 9 mars 2018

How to process the webresponse based on its contentType

I want to process the response based on the content type. Is there any better method than writing response.ContentType=="application/x-zipcompressed" . i mean I can have rar or zip. I am wondering if it is a right solution to check it gainst a string.

Aucun commentaire:

Enregistrer un commentaire