Open ihutc opened 6 years ago
The is-html library used to detect whether a privacy policy is HTML or PDF has a bug that causes a PDF to be incorrectly identified as HTML.
is-html
I've taken out is-html and used the Content-Type header returned by the request library instead.
Content-Type
request
The
is-html
library used to detect whether a privacy policy is HTML or PDF has a bug that causes a PDF to be incorrectly identified as HTML.I've taken out
is-html
and used theContent-Type
header returned by therequest
library instead.