有谁知道如何做到这一点?
请您参考如下方法:
您需要使用 <:< 运算符将您的请求附加到标题信息中。像这样 :
url("http://example.com") <:< Map("User-Agent" -> "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)")
有谁知道如何做到这一点?
请您参考如下方法:
您需要使用 <:< 运算符将您的请求附加到标题信息中。像这样 :
url("http://example.com") <:< Map("User-Agent" -> "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)")