You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
hi, also why search params for conditional operations are passed in header for create and in query params for update and delete ? Why it's not consistent ?
The text was updated successfully, but these errors were encountered:
[15/6/8 下午10:55:42] James Agnew: I raised this as a concern on the list back when I implemented the new transactions, and this was Grahame's response:
[15/6/8 下午10:55:46] James Agnew: "well, we couldn't do the conditional post as a URL - it violates the letter and spirit of HTTP. It would pretty much be, see this URL: post to anything but this. That's a pretty big violation.
We could have done the other two the same way, but it really did seem much more convenient and natural to do them as PUT/DELETE to a URL. If people think that consistency is better than simplicity, and prefer to have a custom header instead, I wouldn't really object "
[15/6/8 下午10:56:20] James Agnew: I figured I'd wait to see if others felt the same way before thinking about it again
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: