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

daemon: add location header to reply for snap operations like install/remove #2690

Closed
wants to merge 2 commits into from

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jan 24, 2017

LP: #1654629

@chipaca
Copy link
Contributor

chipaca commented Jan 24, 2017

See @niemeyer's comments on #2586

@niemeyer
Copy link
Contributor

Indeed. I suggest fixing the documentation instead of adding a Location header. We already provide the necessary data in the response. If the argument is avoiding parsing the response, that's not a great idea as it'll mean errors will also not be reported properly. If that's just to follow the RFC, it doesn't really seem to encourage this specific behavior, or at the very least it's very unclear about it. More details in #2586.

@niemeyer
Copy link
Contributor

Attempted closing on the basis of previous exchange on #2586 and that we already solve the real issue in the provided response (where to go next). Please feel free to reopen, though.

I'll keep the LP bug open as we need to fix docs at the very least.

@niemeyer niemeyer closed this Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants