summaryrefslogtreecommitdiff
path: root/docker/clientbase.py
Commit message (Collapse)AuthorAgeFilesLines
* Move client internals back to Client class. Remove obsolete ClientBase classapi_splitupJoffrey F2015-09-111-288/+0
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #754 from aanand/default-to-tcp-url-on-windowsJoffrey F2015-09-011-1/+2
|\ | | | | Default to 127.0.0.1:2375 on Windows
| * Default to 127.0.0.1:2375 on WindowsAanand Prasad2015-09-011-1/+2
| | | | | | | | | | | | Following the logic of the Docker client. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* | url-quote user-provided param before inserting in URL.Joffrey F2015-08-311-4/+14
|/
* return NotFound on 404 errorsLars Kellogg-Stedman2015-07-171-0/+2
| | | | | | | | | This changes raises docker.errors.NotFound on 404 errors. This gives client code the ability to differentiate between "an image does not exist" and "you are using the api incorrectly". This inherits from docker.errors.APIError so it will not affect any existing code.
* Merge branch 'fix-premature-eof' of https://github.com/a-ba/docker-py into ↵Joffrey F2015-07-091-1/+1
| | | | | | | a-ba-fix-premature-eof Conflicts: docker/client.py
* Fix handling output from tty-enabled containers.Dan O'Reilly2015-07-061-0/+40
| | | | | | | | | | | | Treat output from TTY-enabled containers as raw streams, rather than as multiplexed streams. The docker API docs specify that tty-enabled containers don't multiplex. Also update tests to pass with these changes, and changed the code used to read raw streams to not read line-by-line, and to not skip empty lines. Addresses issue #630 Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
* ClientBase class to extract utility methods and constructor and sanitize ↵clientbase_extractionJoffrey F2015-07-011-0/+235
Client class