Cel*_*ish 14
实际上,因为你要求基于REST的WCF服务,我认为你应该使用
WebOperationContext.Current.IncomingRequest.Headers
Run Code Online (Sandbox Code Playgroud)
为了获取请求中的HTTP标头.
您正在尝试读取http标头.
OperationContext.Current.OutgoingMessageProperties
or
OperationContext.Current.IncomingMessageProperties
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
5061 次 |
最近记录: |