Link to home
Start Free TrialLog in
Avatar of zattz
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?
ASKER CERTIFIED SOLUTION
Avatar of DarkoLord
DarkoLord
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial