tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-891) Use POST in addition to PUT on method calls in tika-server
Date Mon, 02 Mar 2015 04:39:04 GMT

    [ https://issues.apache.org/jira/browse/TIKA-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14342725#comment-14342725
] 

Chris A. Mattmann commented on TIKA-891:
----------------------------------------

ahh if it's "get" anything I would recommend making them "GET" methods with @GET 

> Use POST in addition to PUT on method calls in tika-server
> ----------------------------------------------------------
>
>                 Key: TIKA-891
>                 URL: https://issues.apache.org/jira/browse/TIKA-891
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>            Reporter: Chris A. Mattmann
>            Assignee: Chris A. Mattmann
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 1.8
>
>
> Per Jukka's email:
> http://s.apache.org/uR
> It would be a better use of REST/HTTP "verbs" to use POST to put content to a resource
where we don't intend to store that content (which is the implication of PUT). Max suggested
adding:
> {code}
> @POST
> {code}
> annotations to the methods we are currently exposing using PUT to take care of this.




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

Mime
View raw message