When the response is 204 No Content, it would still expect there is a textual content returned. Please consider to check content length first or ignore the case.
HTTP/1.1 204 No Content
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 0
Expires: -1
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Tue, 08 Oct 2013 20:30:17 GMT
utility::string_t details::http_msg_base::_extract_string() src\http\common\http_msg.cpp line 207
// Content-Type must have textual type.
if(!is_content_type_textual(content))
{
throw http_exception(textual_content_type_missing);
}
Comments: This issue is fixed in the 1.4 release.
HTTP/1.1 204 No Content
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 0
Expires: -1
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Tue, 08 Oct 2013 20:30:17 GMT
utility::string_t details::http_msg_base::_extract_string() src\http\common\http_msg.cpp line 207
// Content-Type must have textual type.
if(!is_content_type_textual(content))
{
throw http_exception(textual_content_type_missing);
}
Comments: This issue is fixed in the 1.4 release.