提交 a78f0c67 编写于 作者: C Christian Noon

Merge pull request #598 from Alamofire/fix/issue_510_missing_content_type

......@@ -117,6 +117,12 @@ extension Request {
return true
}
}
} else {
for contentType in acceptableContentTypes {
if let MIMEType = MIMEType(contentType) where MIMEType.type == "*" && MIMEType.subtype == "*" {
return true
}
}
}
return false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册