From 9bd03483ce6983852d41f5f69cb74827c9defc26 Mon Sep 17 00:00:00 2001 From: Claes Jakobsson Date: Wed, 6 Jan 2010 16:01:48 +0000 Subject: Julien Chaffraix fixed so that the fragment part in an URL is not sent to the server anymore --- tests/data/test1110 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tests/data/test1110 (limited to 'tests/data/test1110') diff --git a/tests/data/test1110 b/tests/data/test1110 new file mode 100644 index 000000000..0597d3ccf --- /dev/null +++ b/tests/data/test1110 @@ -0,0 +1,46 @@ + +# Test that the fragment is not send as part of the path when the path contains a query. + + +HTTP +CURLOPT_URL + + + +# Server-side + + +HTTP/1.1 200 OK +Content-Length: 6 + +hello + + + +# Client-side + + +http + + +HTTP GET + + +http://%HOSTIP:%HTTPPORT/1110?q=foobar#fragment + + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1110?q=foobar HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3