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.mattm...@nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++