storage/curl: support Content-Type application/xml
This commit is contained in:
parent
cbb9b6957f
commit
f4f461b8bb
2
NEWS
2
NEWS
@ -1,4 +1,6 @@
|
|||||||
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
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user