[FFmpeg-devel] [RFC] Add option for using PUT instead of POST in HTTP protocol

Niobos niobos
Mon Aug 2 09:31:18 CEST 2010


I might be violating a couple of dozen coding practices here, but I'll
risk being flamed.

On 2010-07-30 16:07, Tomas H?rdin wrote:
> As a proposal, I added an int called "put" in HTTPContext, and a
> corresponding AVOption. If non-zero, it uses "PUT" instead of "POST" for
> uploads.
Why not an "enum {POST, PUT} method"? That way it's easy to extend it to
whatever other method someone might have invented for whatever purpose?

Niobos




More information about the ffmpeg-devel mailing list