Harshavardhana bedcb7442a Write xml.Header first instead of spaces to handle XML parsers (#7253)
Clients like AWS SDK Java and AWS cli XML parsers are
unable to handle on `\r\n` characters to avoid these
errors send XML header first and write white space characters
instead.

Also handle cases to avoid double WriteHeader calls
2019-02-21 11:50:15 +05:30
..
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00
2018-06-06 14:21:56 +05:30
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00