[vlc-devel] Adding POST support to the http access module
Rémi Denis-Courmont
remi at remlab.net
Wed Dec 29 16:26:49 CET 2010
Hello,
On Tuesday 28 December 2010, Jakub Wieczorek wrote:
> The problem I'm struggling with is that the HTTP module
> doesn't support the POST operation, which is the mandatory method for
> one of the requests I need to be making to the service. I would like
> to add support for this to that module but I'm not sure if such
> addition would be acceptable given that, from what I understand, the
> access modules were designed to support "read-only" routines for
> playback and not to support the entire protocols.
The HTTP access assumes that HTTP requests are idempotent. And the whole point
of POST requests is to be non-idempotent, whereas GET requests are idempotent.
So HTTP POST really does _not_ belong there.
On top of that, form data cannot be represented in HTTP request URIs, at least
not in a standard fashion.
--
Rémi Denis-Courmont
http://www.remlab.info
More information about the vlc-devel
mailing list