Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTY resize request should use POST #29

Merged
merged 1 commit into from
Apr 19, 2016
Merged

TTY resize request should use POST #29

merged 1 commit into from
Apr 19, 2016

Conversation

clue
Copy link
Owner

@clue clue commented Apr 19, 2016

The v1.15 API documention describes this as a GET request, which always appeared strange. I've tested this against the v1.15 API and can confirm this should have been a POST request ever since. The API documentation has been updated as of v1.16, but does not mention this fix at all.

https://docs.docker.com/engine/reference/api/docker_remote_api_v1.15/#resize-a-container-tty
https://docs.docker.com/engine/reference/api/docker_remote_api_v1.16/#resize-a-container-tty
https://docs.docker.com/engine/reference/api/docker_remote_api/#v1-16-api-changes
https://github.com/docker/docker-py/blob/fdd118706a1e63cc22821e6610cfd861eca1f7b9/docker/api/container.py#L287

@clue clue merged commit dea9c00 into clue:master Apr 19, 2016
@clue clue deleted the resize branch April 19, 2016 17:20
@clue clue modified the milestone: v0.3.0 Apr 21, 2016
@clue clue modified the milestones: v0.3.0, v1.0.0 Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant