Detect if a URL is text/html

Our htmlsnapshot component is designed to convert html or text content into image.

If a URL is not text/htm content,  the snapUrl method may fail.

To solve this issue, we add a new method called IsGoodUrlForSnap.

It will return 1 on the URL which is text/html content.  It can be called like below:


For more details, please visit the home page of htmlsnapshot