-
Notifications
You must be signed in to change notification settings - Fork 6
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
Confirm service does not accept absent body #45
Comments
@ahggns, have you tried adding content type?
|
Ah yeah that does it, I was hoping that was what was wrong with palantir/conjure-python#16 :/ |
@qinfchen it seems that python's requests library doesn't send a body in the POST when the
|
null
body
@ahggns According to the wire spec:
I think it's reasonable to force the client to send On the other hand, I'm concerned that the the spec also accepts (even recommends) sending an empty body, which doesn't seem to be valid JSON:
Specifically, it sounds incorrect to me that we MUST send I agree that the verification server doesn't currently take this into account, and it should, but we should flesh out the spec to be consistent with what's valid JSON and what's not, before doing that. |
The confirm endpoints for the optional test should accept a plain
null
body, butThe text was updated successfully, but these errors were encountered: