pdf send_data now has MIME type