Also strip away the xml declaration for text requests.