We should make a parameter called `response=` which can be set to `response=html` or `response=dataurl` maybe?