storage/curl: support Content-Type application/xml

This commit is contained in:
Max Kellermann
2017-09-01 11:32:40 +02:00
parent cbb9b6957f
commit f4f461b8bb
2 changed files with 4 additions and 1 deletions

View File

@@ -251,7 +251,8 @@ gcc_pure
static bool
IsXmlContentType(const char *content_type) noexcept
{
return StringStartsWith(content_type, "text/xml");
return StringStartsWith(content_type, "text/xml") ||
StringStartsWith(content_type, "application/xml");
}
gcc_pure