Commit 13f9991b authored by Jens Georg's avatar Jens Georg
Browse files

Remove inverted arguments range test

This was actually wrong. We're supposed to return the full document there.
parent 9c750cad
......@@ -200,21 +200,6 @@ test_gupnp_context_http_ranged_requests (void)
g_object_unref (message);
/* Try with inverted arguments */
message = soup_message_new ("GET", uri);
g_object_ref (message);
soup_message_headers_set_range (message->request_headers, 499, 0);
soup_session_queue_message (session,
message,
on_message_finished,
loop);
g_main_loop_run (loop);
g_assert_cmpint (message->status_code, ==, SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE);
g_object_unref (message);
g_free (uri);
g_object_unref (context);
g_main_loop_unref (loop);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment