Update HttpResponse.getBodyAsJSONObject to support "application/[something]+json" Content-Type headers

Issue #443 resolved
Yavor Vasilev created an issue

Trying to parse a JWK set with

JWKSet retrievedJWKSet = JWKSet.parse(httpResponse.getBodyAsJSONObject());

currently produces

com.nimbusds.oauth2.sdk.ParseException: The HTTP Content-Type header must be application/json, received application/jwk-set+json

Comments (1)

  1. Log in to comment