camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Semka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7906) camel-restlet component receive error: "405 Method Not Allowed" from other restlet for one level URL with template in the end
Date Mon, 13 Oct 2014 13:24:34 GMT
Sergey Semka created CAMEL-7906:
-----------------------------------

             Summary: camel-restlet component receive error: "405 Method Not Allowed" from
other restlet for one level URL with template in the end
                 Key: CAMEL-7906
                 URL: https://issues.apache.org/jira/browse/CAMEL-7906
             Project: Camel
          Issue Type: Bug
          Components: camel-restlet
            Reporter: Sergey Semka


Description of bug #1:
We had to receive error: "405 Method Not Allowed"
because the invoked restlet (route) does not have the requested POST method.
(it has restletMethods=GET).
But we do not get such an error. We get response status = 200.
Because we get into the rout of another restlet (which ends in a template).
We request the following URL:
   http://localhost:1101/users/{id}/test/search       ,restletMethods=GET
But we get to URL:
   http://localhost:1101/users/{id}/test/{username}    ,restletMethods=PUT,POST


Description of bug #2:
There is restlet (route): http://localhost:1101/users/{id}/test/search, which supports restletMethods
GET but when we request it, we get the following error: "405 Method Not Allowed"

tests for confirmation of existence of two bugs in camel-restlet:

Link for file in Google Drive:
https://drive.google.com/file/d/0B0DfsrbRTR2tamJXNTEyVXJPVHc/view?usp=sharing



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message