Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wfe: Handle empty JSON to /acct like POST-as-GET
ACME clients can make an empty request to /acme/acct for their reg object. wfe.Account handles a truly empty request correctly, but has routed empty JSON objects to updateAccount, even though an update is not appropriate. This only happened to work because UpdateRegistration's impl takes an entire Registration and returns it even if unchanged. This preserves ACMEv1 backwards compatibility when UpdateRegistration is simplified.
- Loading branch information