Hello Laurent, thanks a lot for your report. The bug is now fixed in the svn repository.
Best regards, Thierry Boileau > Hello, > I'm trying to upgrade to restlet 2.0 m7. > I have some functional test, using restlet client to connect to my > server, and they failled using the newer version of restlet (everything > works fine in 2.0 m6) > I have been able to locate one problem for now, the parameters are not > available in my resources. > So, for a GET method, at some location like : > host:port/root_url/myResources?someParam=someValue > the someParam=someValue parts is missing > the same resource works with any other client (tested with curl and > rest-client) > > here is an extract from logs, when GET from a restlet client (see > attached archive for full log) : > FIN: The following converter was selected for the > [application/json,UTF-8] object: > org.restlet.engine.converter.defaultconver...@10ef90c > 2 févr. 2010 15:35:23 org.restlet.engine.log.LogFilter afterHandle > INFO: 2010-02-02 15:35:23 127.0.0.1 - - -1 > GET > /test/resource - 200 - 0 47 > http://localhost:8182 > Restlet-Framework/2.0m7 localhost > > and the same resource, GET from curl > FIN: The following converter was selected for the > [application/json,UTF-8] object: > org.restlet.engine.converter.defaultconver...@10ef90c > 2 févr. 2010 15:35:30 org.restlet.engine.log.LogFilter afterHandle > INFO: 2010-02-02 15:35:30 127.0.0.1 - - -1 > GET /test/resource > someKey=someValue 200 - 0 0 http://localhost:8182 > curl/7.19.5 > (i386-pc-win32) libcurl/7.19.5 OpenSSL/0.9.8k zlib/1.2.3 - > > I used the small test application made by Thierry for my last problem, > just added a client class (see attached file) > > Another thing I have noticed : > FIN: Error while reading an HTTP message. Closing the connection. > java.io.IOException: Unable to parse the request method. End of stream > reached too early. > at > org.restlet.engine.http.connector.ServerConnection.readMessage(ServerConnection.java:163) > at > org.restlet.engine.http.connector.Connection.readMessages(Connection.java:795) > at > org.restlet.engine.http.connector.ControllerTask$2.run(ControllerTask.java:94) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > After every request to the resource, by both restlet client, or curl. > > See full log file in attached archive > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2444216

