Github user mike-tr-adamson commented on the pull request: https://github.com/apache/incubator-tinkerpop/pull/291#issuecomment-211403744 @PommeVerte I'm not sure what prepending it or adding it makes any difference to the negotiation. I prepended it so it was (potentially) the first element in the payload that could be checked without having to read the whole payload. As you said, it was a choice. I believe that the RFC says that a negotiation can happen after authentication but that doesn't provide any real protection against downgrade. I'd prefer that this sort of protection was left to 3rd party implementations in the form of additional authorization checks against mechanism usage.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---