摘要: ".*"="application/octet-stream"".001"="application/x-001"".301"="application/x-301"".323"="text/h323"".906"="application/x-906"".907"="drawing/907"".a... 阅读全文
posted @ 2015-12-03 09:12 LiGoper 阅读(372) 评论(1) 推荐(1) 编辑
摘要: 在WebAPI中,请求主体(HttpContent)只能被读取一次,不被缓存,只能向前读取的流。举例子说明:1. 请求地址:/?id=123&name=bob 服务端方法: void Action(int id, string name) // 所有参数都是简单类型,因而都将来自url2. 请求地... 阅读全文
posted @ 2015-12-03 09:08 LiGoper 阅读(228) 评论(0) 推荐(0) 编辑