xp-framework/xp-framework — pull request #153 by thekid (2012-04-20 20:14:23+00:00)
Title: HttpResponse::getResponseString

This pull request contains a new method `public string getResponseString()` on `HttpResponse` to complement `public string getRequestString()` in `HttpRequest`.

Usage example:

```groovy
public int run() {
$this.err.writeLine($this.request.getRequestString());
try {
$response= $this.conn.send($this.request);
} catch (io.IOException $e) {
$this.err.writeLine('*** ', $e);
return 1;
}
$this.err.writeLine($response.getResponseString());
return 0;
}
```