I'm using JDK 1.6 build 18, with Fedora Core 8 and Restlet 2.0rc7 on
Tomcat 6.0.24.
I have a peculiar problem that started with Restlet 2.0rc7. The
Client.get() calls are ignoring the query string when called:
Client client = new Client(Protocol.HTTP);
Response response =
client.get("http://www.google.com/search?q=Supernatural");
This URL should return the search results page, but it instead returns
the redirect to "http://www.google.com/webhp", which is the redirect if
no search parameters (the query string) are given. Is this a known bug?
It works fine if I use the Client.get(new Reference("http",
"www.google.com", 80, "/search", "q=Supernatural", null));
Thank you!
Dustin
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446591