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

Handle redirect responses for SUBSCRIBE calls #14

Closed
cruhland opened this issue Nov 11, 2015 · 1 comment
Closed

Handle redirect responses for SUBSCRIBE calls #14

cruhland opened this issue Nov 11, 2015 · 1 comment
Milestone

Comments

@cruhland
Copy link
Contributor

As described in the "Master detection" section of the Scheduler HTTP API docs (bottom of page), SUBSCRIBE requests will receive a 307 response status code (Temporary Redirect) if sent to a non-leading Mesos master. The response will include a Location header with the host and port of the leading master.

The MesosSchedulerClient should handle this possibility automatically, for user convenience.

@BenWhitehead
Copy link
Contributor

Duplicate of #18

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

No branches or pull requests

2 participants