On 01/07/2018 03:37 PM, Jörn Heissler wrote:
> * 
> https://ietf-wg-acme.github.io/acme/draft-ietf-acme-acme.html#rfc.section.7.3
>   says that when an account was created, "The server returns this
>   account object".
> 
>   Should this be the same response that a subsequent POST (empty update,
>   §7.3.3) to the account URL should yield?

Yes.

> 
>   - The example skips the "orders" key which is required (§7.1.2).

Whoops, that should be there (though dereferencing the orders URL will
get an empty list).

>   - In the example there's a "Link" header. What's that for?

It's a holdover from when almost every response had a link to the
directory. It should be removed.

> * If the account already exists, what should be returned in the body?
>   Nothing? Or the full account object?

This is answered under 7.3.1. Finding an Account URL Given a Key, but
the name probably doesn't make that clear.

> * If the account already exists and "onlyReturnExisting" was specified,
>   what should be returned in the body?

Empty body, I think. This should be added to 7.3.1.

> * What happens when the account already exists and I send e.g. different
>   "contact" addresses than there are in the existing account? Will my
>   account be updated?

Yep.

> * Should it be allowed to send "onlyReturnExisting" along with other
>   information, or should those be mutually exclusive?

I think these should be mutually exclusive. Would you send a PR with the
changes discussed above?

_______________________________________________
Acme mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/acme

Reply via email to