Frappe.make_get_request content type other than json

Hi all

I have a Server Script API method where I call “frappe.make_get_request(url)” to download a web page.
Only problem is the content returned is html not json but make_get_request tries to convert it to json and I get an error.

Is there a way to do an http get call from inside a Server Script where it does not expect json response?

Since custom Server Scripts restrict “import” I cannot use normal python libs.

Thanks in advance