tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject PUT vs. POST in tika-server
Date Thu, 05 Apr 2012 08:29:13 GMT

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.


Jukka Zitting

View raw message