Commit f4f461b8 authored by Max Kellermann's avatar Max Kellermann

storage/curl: support Content-Type application/xml

parent cbb9b695
ver 0.20.11 (not yet released) ver 0.20.11 (not yet released)
* storage
- curl: support Content-Type application/xml
ver 0.20.10 (2017/08/24) ver 0.20.10 (2017/08/24)
* decoder * decoder
......
...@@ -251,7 +251,8 @@ gcc_pure ...@@ -251,7 +251,8 @@ gcc_pure
static bool static bool
IsXmlContentType(const char *content_type) noexcept 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 gcc_pure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment