Currently, when I format XML, it has the following structure:
<Element>
Content
</Element>
This formatting adds whitespaces in front of the Content and at the end of it. This deytroys Authorization Headers as the whitespaces will be interpreted as part of the content.
This should be the actual format:
<Element>Content</Element>
It doesn't matter how much the whole line is indented as these whitespaces will not be interpreted