dotcloud/docker-py — pull request #80 by paultag (2013-11-06 03:17:53+00:00)
Title: Add events endpoint to the Client

This is a bit of a hack; I added a method (and did a slight refactor of
the old one) to handle getting the raw socket from the requests
request. If the attach_sockets method isn't public, I'd suggest
removing it entirely for a slightly more general one.

This also needs some attention paid to validating legnth, and properly
parsing the returned data by using the length.

Signed-off-by: Paul Tagliamonte