responseEncodingAccepted
Passes the request to the inner route if the request accepts the argument encoding. Otherwise, rejects the request with an UnacceptedResponseEncodingRejection(encoding).
Signature
def responseEncodingAccepted(encoding: HttpEncoding): Directive0
Description
This directive is the building block for encodeResponse to reject unsupported encodings.