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

protocol v2: Version in headers #45

Open
robhaswell opened this issue Feb 2, 2015 · 1 comment
Open

protocol v2: Version in headers #45

robhaswell opened this issue Feb 2, 2015 · 1 comment

Comments

@robhaswell
Copy link
Contributor

@progrium has proposed, via email, including the version number of the API in the HTTP headers. This would mean that the adapter is capable of determining the protocol without already having to know the protocol.

The downside is that this is a breaking change, but we would only need to break it once (hah).

👍 from me.

@binocarlos
Copy link
Contributor

👍 Although this is a breaking change - it feels more naturally like a header i.e. meta-data equivalent to the Content-type header

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