https://issues.apache.org/bugzilla/show_bug.cgi?id=42996

Filip Hanik <fha...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO


--- Comment #37 from Filip Hanik <fha...@apache.org> 2009-08-06 12:03:27 PDT ---
Jerome, I narrowed it down for you

in ServerResource.doNegotiatedHandle()

List<Variant> variants = getAvailableVariants(getMethod());

when the error occurs, 
getMethod() -> return GET

but the list coming back, 

variants.get(0).getAnnotationInfo().getRestletMethod() -> return PUT

and so the preferred variant, contains a put method, and then it fails.

best
Filip

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to