tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (388J)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: PUT vs. POST in tika-server
Date Thu, 05 Apr 2012 20:19:31 GMT
Hi Guys,

Yeah, I am happy to annotate the code with @POST too like Max suggested.

I opened https://issues.apache.org/jira/browse/TIKA-891 to track this.

Thanks!

Cheers,
Chris

On Apr 5, 2012, at 1:29 AM, Jukka Zitting wrote:

> Hi,
> 
> I notice the tika-server component (nice work documenting and setting
> it up, btw!) uses the PUT verb for receiving documents to be parsed.
> 
> The HTTP spec says the following about PUT:
> 
>    "The PUT method requests that the enclosed entity be stored under
> the supplied Request-URI."
> 
> IMO a more appropriate verb to use is POST, that's meant (among other
> things) for:
> 
>    "Providing a block of data [...] to a data-handling process;"
> 
> ... which is what tika-server does.
> 
> BR,
> 
> Jukka Zitting


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Mime
View raw message