Skip to content
New issue

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

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

Already on GitHub? # to your account

Docker export could break post-hooks #52

Open
lukemarsden opened this issue Feb 16, 2015 · 0 comments
Open

Docker export could break post-hooks #52

lukemarsden opened this issue Feb 16, 2015 · 0 comments

Comments

@lukemarsden
Copy link
Contributor

It's a sad fact that you can't encode arbitrary binary data as a JSON string (because JSON strings are UTF-8-encoded unicode and some binary isn't valid UTF-8... right?) so any responses which could include arbitrary binary data could break the post-hooks, such as docker export which claims to respond with application/tar.

This is a limitation of the v1 powerstrip protocol. A workaround could be to detect the content-type and skip the post-hooks.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant