zattz
asked on
.net httpwebrequest determine mime type before downloading
Hi all,
I am downloading some web pages with httpwebrequest. I only want to download the file if it is indeed an html file, and not if it's a binary file. Is there a way to check the MIME type before downloading?
I am downloading some web pages with httpwebrequest. I only want to download the file if it is indeed an html file, and not if it's a binary file. Is there a way to check the MIME type before downloading?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.