~ubuntu-branches/ubuntu/vivid/httpcomponents-core/vivid

« back to all changes in this revision

Viewing changes to httpcore-nio/src/test/java/org/apache/http/nio/integration/TestClientOutOfSequenceResponse.java

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2014-10-25 23:01:10 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20141025230110-lhr341pbqk6l2loc
Tags: 4.3.3-1
* New upstream release
* Ignore the apache-rat-plugin
* Standards-Version updated to 3.9.6 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
import java.util.concurrent.ExecutionException;
33
33
import java.util.concurrent.Future;
34
34
 
35
 
import org.apache.http.Consts;
36
35
import org.apache.http.HttpException;
37
36
import org.apache.http.HttpHost;
38
37
import org.apache.http.HttpRequest;
89
88
            socket.getOutputStream().write((
90
89
                    "HTTP/1.1 200 OK\r\n" +
91
90
                    "Content-Length: 0\r\n" +
92
 
                    "Connection: keep-alive\r\n\r\n").getBytes(Consts.UTF_8));
 
91
                    "Connection: keep-alive\r\n\r\n").getBytes("UTF-8"));
93
92
            socket.getOutputStream().flush();
94
93
        }
95
94