respond to text/html request