Hi,

On Wed, Aug 29, 2012 at 9:20 AM, Dimitar Dimitrov <[email protected]> wrote:
> ...I decide to make a PUT call to the Sling, but it turned out that
> the browser's flash player did not support PUT HTTP Request.. So the next
> step that I decide to do is to produce my own PostOperationServlet which can
> do the actual nt:file creation from custom HTTP POST request...

Implementing a custom POST servlet, triggered by a .flash selector for
example, would work, and as you say you could also implement a custom
PostOperation if you can add the required :operation parameter on the
client side.

The best solution IMO, if you can set HTTP headers on the client side,
would be to implement (and contribute maybe) the filter described in
https://issues.apache.org/jira/browse/SLING-53 to morph a POST request
into a PUT that would then be handled by the existing code.

-Bertrand

Reply via email to