Use protocol media for response negotiation. - #58
Open
samuel-williams-shopify wants to merge 1 commit into
Open
Conversation
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
2 times, most recently
from
August 2, 2026 06:40
b934153 to
e06d671
Compare
samuel-williams-shopify
changed the base branch from
v3-protocol-application
to
protocol-application-documentation
August 2, 2026 06:40
Base automatically changed from
protocol-application-documentation
to
v3-protocol-application
August 2, 2026 06:42
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 06:43
e06d671 to
62a0493
Compare
samuel-williams-shopify
force-pushed
the
v3-protocol-application
branch
from
August 2, 2026 06:47
1e5e8f7 to
40765bc
Compare
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 06:47
62a0493 to
d6bb714
Compare
samuel-williams-shopify
force-pushed
the
v3-protocol-application
branch
from
August 2, 2026 06:49
40765bc to
a541b90
Compare
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 06:50
d6bb714 to
5fe6dbc
Compare
samuel-williams-shopify
force-pushed
the
v3-protocol-application
branch
from
August 2, 2026 06:59
a541b90 to
54401ae
Compare
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 07:01
5fe6dbc to
4abf015
Compare
samuel-williams-shopify
force-pushed
the
v3-protocol-application
branch
from
August 2, 2026 07:04
54401ae to
9742a6f
Compare
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 07:04
4abf015 to
62c2d2d
Compare
samuel-williams-shopify
force-pushed
the
v3-protocol-application
branch
from
August 2, 2026 07:08
9742a6f to
8e45dcf
Compare
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 07:08
62c2d2d to
354c39f
Compare
samuel-williams-shopify
force-pushed
the
v3-protocol-application
branch
from
August 2, 2026 07:17
8e45dcf to
c858f56
Compare
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 07:18
354c39f to
ae62280
Compare
samuel-williams-shopify
force-pushed
the
v3-protocol-application
branch
from
August 2, 2026 07:29
c858f56 to
94f4951
Compare
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 07:29
ae62280 to
9e8da11
Compare
samuel-williams-shopify
force-pushed
the
v3-protocol-application
branch
9 times, most recently
from
August 2, 2026 12:10
1d4e4e5 to
7507d70
Compare
samuel-williams-shopify
force-pushed
the
protocol-media-negotiation
branch
from
August 2, 2026 12:20
9e8da11 to
4a751ab
Compare
olleolleolle
reviewed
Aug 3, 2026
| media_types = accept.media_ranges.sort | ||
| else | ||
| media_types = [Handlers::Passthrough::WILDCARD] | ||
| end |
Contributor
There was a problem hiding this comment.
Minor: Ooh, opportunity to assign from media_types once, from the if-as-expression.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary.
Protocol::Media::Map,Type, andRangefor response negotiation.Protocol::HTTP::Header::Accept.protocol-mediaas a runtime dependency.This PR is stacked on #57 and will be rebased onto
mainafter #57 merges.Verification.