FFmpeg/FFmpeg — pull request #56 by smoak (2014-01-29 07:58:31+00:00)
Title: Fix get_cookies when it comes across the Expires directive

Some cookies that come back from an HLS stream have an Expires directive.
This gets parsed incorrectly by the `get_cookies` method. This fixes the
parsing and ignores the Expires directive altogether.

A little more info:

A cookie with the Expires directive gets parsed incorrectly such that each space in the Expires directive becomes it's own param like so:

A cookie like this `lu=Rg3vHJZnehYLjVg7qi3bZjzg; Expires=Tue, 15-Jan-2013 21:47:38 GMT; Path=/; Domain=.example.com;` will get tokened:

* `lu=Rg3vHJZnehYLjVg7qi3bZjzg`
* `Expires=Tue,`
* `15-Jan-2013`
* `21:47:38`
* `GMT`

such that each of those is considered its own param in the while loop.