[FFmpeg-soc] http header dictionary
lu_zero at gentoo.org
Sat Jun 5 20:50:52 CEST 2010
On 06/05/2010 08:29 PM, Ronald S. Bultje wrote:
> On Sat, Jun 5, 2010 at 1:46 PM, Josh Allmann <joshua.allmann at gmail.com> wrote:
>> I need to add some, replace some, and remove some. But not hundreds.
>> Will setting headers via flat strings be preferable? Like in the following:
> I agree with Michael, a dictionary is way too much complexity. It's
> the Java/c# way of solving a non-problem. In the HTTP proto handler's
> header creation function, a simple strcasestr() in the "custom header"
> of "bla:" (or, more elegantly, startswith("bla:") or
> strcasestr("\r\nbla:")) should be more than sufficient.
Not sure how efficient or handy...
More information about the FFmpeg-soc