fixed regex for text/plain http response