异步客户端具有与非异步客户端不同的接受标头

时间:2013-06-06 19:26:48

标签: servicestack

Why does the async client accept the client type along with */* 

https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Common/ServiceClient.Web/AsyncServiceClient.cs#L347

常规客户端仅接受客户端类型 https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Common/ServiceClient.Web/XmlServiceClient.cs#L32

Also, is the best way to accept */* (or application/atom+xml, 
which is what i need) to create a new service client for non-async calls?

0 个答案:

没有答案