tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42996] POST with nio connector results in missing variables
Date Thu, 06 Aug 2009 19:03:35 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42996


Filip Hanik <fhanik@apache.org> changed:

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


--- Comment #37 from Filip Hanik <fhanik@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message