comparison http/url.k @ 11:f2fc4689d3d6

modify SystemTest.java
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sun, 27 May 2012 21:08:36 +0900
parents f78fb53ef7b6
children da5149cbb9f4
comparison
equal deleted inserted replaced
10:888143c20a4c 11:f2fc4689d3d6
58 58
59 void sendRequest() { 59 void sendRequest() {
60 out <<< this.method + " /" + this.uri + " HTTP/1.1" <<< EOL; 60 out <<< this.method + " /" + this.uri + " HTTP/1.1" <<< EOL;
61 out <<< "HOST: " + this.host <<< EOL; 61 out <<< "HOST: " + this.host <<< EOL;
62 for (String key : keys) { 62 for (String key : keys) {
63 out <<< key +": " + property[key] <<< EOL; 63 out <<< key +": " + property[key] <<< EOL;
64 } 64 }
65 out <<< EOL; 65 out <<< EOL;
66 out <<< body <<< EOL; 66 out <<< body <<< EOL;
67 out.flush(); 67 out.flush();
68 } 68 }