内容简介:我与SmartBear支持联系,似乎已经在07/07的最新夜景版本中修复了问题.http://stackoverflow.com/questions/11297747/content-length-already-present-error-soapui-4-5-1
我最近开始使用soapUI 4.5.1,我仍然不熟悉所有的设置.我设置了一些Web请求,除了一个正常工作之外,我试图发送application / xml类型的内容,但我得到:
org.apache.http.client.ClientProtocolException caused by org.apache.http.ProtocolException: Content-Length header already present.
在4.5.0中,同样的要求对我来说总是很好.请求内容是这样的:
POST http://exampleHost.com/exampleRequest HTTP/1.1 Accept-Encoding: gzip,deflate Accept: text/xml Content-Type: application/xml Content-Length: 456 Host: exampleHost.com Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
其次是xml.
我把它的内容长度发送两次,但是我不知道在哪里,因为我没有设置它在任何地方. SoapUI显示此消息的其他HTTP头为0.
任何指针都会很棒!
我与SmartBear支持联系,似乎已经在07/07的最新夜景版本中修复了问题.
http://stackoverflow.com/questions/11297747/content-length-already-present-error-soapui-4-5-1
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Distributed Algorithms
Nancy A. Lynch / Morgan Kaufmann / 1996-3-15 / USD 155.00
In "Distributed Algorithms", Nancy Lynch provides a blueprint for designing, implementing, and analyzing distributed algorithms. She directs her book at a wide audience, including students, programmer......一起来看看 《Distributed Algorithms》 这本书的介绍吧!