tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Valyanskiy <max...@jet.msk.su>
Subject Re: PUT vs. POST in tika-server
Date Thu, 05 Apr 2012 10:34:24 GMT

05.04.2012 12:29, Jukka Zitting написал:
> I notice the tika-server component (nice work documenting and setting
> it up, btw!) uses the PUT verb for receiving documents to be parsed.
> 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.

I use PUT only because curl's command line for PUT is simpler than for POST. I 
think we can add POST support too, I hope it can be done simply by addition of 
@POST annotation to all resource methods.

best wishes, Max

View raw message