-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return effective content type in JSON API. #3289
Conversation
c77048c
to
b20c55f
Compare
One thing to note is that content-encoding could fall in a similar scenario. It might make more sense to return the delegate's mime type and content encoding, and perhaps create a separate field called direct/envelope/self (ask @casey for better nomenclature suggestions) which would have fields content_type and content_encoding that are the raw values in directly in the delegating inscription's envelope. |
b20c55f
to
e08044a
Compare
e08044a
to
70a12e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This reverts commit 63ff8e9.
For inscriptions with delegates, the content type of the underlying delegate should be exposed. Fixes #3055.