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/test1109 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tests/data/test1109 (limited to 'tests/data/test1109') diff --git a/tests/data/test1109 b/tests/data/test1109 new file mode 100644 index 000000000..fc7fc225f --- /dev/null +++ b/tests/data/test1109 @@ -0,0 +1,46 @@ + +# Test that the fragment is not send as part of the path. + + +HTTP +CURLOPT_URL + + + +# Server-side + + +HTTP/1.1 200 OK +Content-Length: 6 + +hello + + + +# Client-side + + +http + + +HTTP GET + + +http://%HOSTIP:%HTTPPORT/1109#test + + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1109 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3