-Re: PUT vs. POST in tika-server
Maxim Valyanskiy 2012-04-05, 10:34
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