diff options
author | Jens Georg <mail@jensge.org> | 2011-11-23 09:51:56 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2011-11-23 09:51:56 +0100 |
commit | a48dcc2eedc2544def5e53fff283d221fb404b73 (patch) | |
tree | 7ef3e2a45fe6b7b98b7b2894dec4721642b91f96 /tests/rygel-http-response-test.vala | |
parent | 91acb085f01b4258bc7ce750c6dfe4b8d01cdfef (diff) | |
download | rygel-a48dcc2eedc2544def5e53fff283d221fb404b73.tar.gz |
tests: Fix HTTPGet and HTTPResponse tests
Diffstat (limited to 'tests/rygel-http-response-test.vala')
-rw-r--r-- | tests/rygel-http-response-test.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rygel-http-response-test.vala b/tests/rygel-http-response-test.vala index 0a8e50a4..64e0bf46 100644 --- a/tests/rygel-http-response-test.vala +++ b/tests/rygel-http-response-test.vala @@ -325,6 +325,8 @@ public class Rygel.HTTPGet : GLib.Object { this.item = item; this.seek = seek; this.cancellable = cancellable; + this.msg.response_headers.set_encoding (Soup.Encoding.EOF); + this.msg.set_status (Soup.KnownStatusCode.OK); } } |