whole response with the header in callback
handling of xml attributes