Closed uiri closed 8 years ago
LGTM, thanks (I was wondering whether these should be in backticks, as you've done in the commit message, but can see arguments either way, so will leave it for now - feel free to follow up if you want to change that).
Some of the metadata service endpoints explicitly specify a Content-Type of
text/plain; charset=us-ascii
. For most other endpoints, the ACE validator expects a Content-Type ofapplication/json
.The one exception is the HMAC verify endpoint which makes no mention of its Content-Type nor even the contents of its response body. The current implementation in
rkt
sets the Content-Type totext/plain; charset=us-ascii
which is now reflected in the spec.