sebb        2004/09/21 11:25:38

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        Tag: rel-2_0 SoapSampler.java
  Log:
  Bug 31342 - change Content-length and -type to use L and T
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.11.2.1  +4 -4      
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
  
  Index: SoapSampler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java,v
  retrieving revision 1.11
  retrieving revision 1.11.2.1
  diff -u -r1.11 -r1.11.2.1
  --- SoapSampler.java  12 Feb 2004 00:29:49 -0000      1.11
  +++ SoapSampler.java  21 Sep 2004 18:25:37 -0000      1.11.2.1
  @@ -75,7 +75,7 @@
       {
           ((HttpURLConnection) connection).setRequestMethod("POST");
           connection.setRequestProperty(
  -            "Content-length",
  +            "Content-Length",
               "" + getXmlData().length());
           // my first attempt at fixing the bug failed, due to user
           // error on my part. HeaderManager does not use the normal
  @@ -93,7 +93,7 @@
                        }
           } else {
                // otherwise we use "text/xml" as the default
  -                     connection.setRequestProperty("Content-type", "text/xml");
  +                     connection.setRequestProperty("Content-Type", "text/xml");
           }
           connection.setDoOutput(true);
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to