我正在使用Fiddler来监控对我们的ServiceStack API的调用,我发现Content-Length字段中有一个逗号。只有在部署到特定的Windows服务器时才会出现这种情况。这是什么意思?
整个响应:
我认为Content-Length字段中不允许使用逗号。
Content-Length: 611,0
整个响应:
HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 611,0
Content-Type: text/plain
ETag: 635102562728230000
Server: Microsoft-IIS/8.0
X-Powered-By: ServiceStack/3.955 Win32NT/.NET
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Headers: Content-Type
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 24 Jul 2013 19:03:34 GMT
raw data removed but it is 611 characters
我认为Content-Length字段中不允许使用逗号。