On Sat, Aug 9, 2014 at 2:22 PM, Martin Storsjö <[email protected]> wrote: > On Thu, 31 Jul 2014, Andrew Stone wrote: > >> It won't hurt servers that don't care about the header, >> and those that do will include it by default. >> --- >> Changelog | 1 + >> doc/protocols.texi | 2 +- >> libavformat/http.c | 2 +- >> 3 files changed, 3 insertions(+), 2 deletions(-) > > > I'm slightly sceptical about this one. Yes, technically, this shouldn't > affect any server that doesn't care about it, but in practice the world is > riddled with more or less broken stuff. OTOH I don't really think any
Look at it this way: with the ridiculous state of random headers on the internet (and how proxies can mangle, add, and remove headers), in order to be an HTTP server these days, you can't just fail if you see a header you don't expect if you expect to serve traffic. While the internet is riddled with broken stuff, I don't think it could be that broken and still serve traffic. > commonly used servers will break if we start requesting this, but I mainly > think it might look a little odd to add this in all requests when it's only > relevant in a small fraction of all uses cases. Very true, But the cases where it's there, it just makes it so much nicer. > But all in all I guess it's ok, and in case there's reports of issues with > it, we can always revert it. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
