-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[POC] Content negotiation implementation. #5711
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
efcbab1
[HttpFoundation] Added content negociation headers support to request.
jfsimon 5fb2601
[HttpFoundation] Added tests.
jfsimon 020914b
[routing] Added acceptances to request context.
jfsimon 8c02e8a
[http-foundation] Moved accept headers parsing to dedicated class.
jfsimon 532720a
[routing] Added negotiation to UrlMatcher.
jfsimon b01c9d5
[http-foundation] Fixed error.
jfsimon 88c5761
[http-foundation] Repaired broken tests.
jfsimon aeaeb02
[routing] Fixed content negotiation basic implementation.
jfsimon cf6ff20
[http-kernel] Added 406 http exception handler.
jfsimon 94e2df2
[routing] Added '_negotiation' parameter.
jfsimon 215dcbe
[http-foundation] Fixed docblock.
jfsimon f7651ef
Cleaned code.
jfsimon c98fb8f
[http-kernel] Added content negotiation listener.
jfsimon 88e1d39
[framework-bundle] Registered content negotiation listener as service.
jfsimon 875ba49
[routing] Removed content negotiation logic from routing.
jfsimon 5504c20
[http-foundation] Added negotiation foundation.
jfsimon 472d587
Fixed CS.
jfsimon f926cbb
[http-foundation] Added Vary header support.
jfsimon 9d310df
[routing] Removed handlers from context.
jfsimon cf73c2c
[http-kernel] Reimplemented basic negotiation.
jfsimon 6a39b9b
Fixed various errors.
jfsimon 790562d
[framework-bundle] Updated content_negotiation_listener definition.
jfsimon 0773c3c
[http-kernel] Fixed listener.
jfsimon 13cf246
[http-foundation] Added base content class.
jfsimon 6ecf6bb
[routing] Removed wrong code & added simple negotiation process to ur…
jfsimon e23df7c
[http-foundation] Added visibility to interface methods.
jfsimon d3166b4
[http-kernel] Removed previously introduced negotiation.
jfsimon 936ff9c
[routing] Updated matcher negotiator implementation.
jfsimon d570a59
[http-kernel] Added matcher negotiator builder.
jfsimon f98203e
Fixed errors & bad implementations.
jfsimon 94fce2b
Fixed typo.
jfsimon 2de69fe
Improved accept header parser.
jfsimon 4071d7e
Fixed CS.
jfsimon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed typo.
- Loading branch information
commit 94fce2b8f6e444ff68a7dde9753944cb7cfeffa7
There are no files selected for viewing
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
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.
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.
or this must be $variant
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.
it's $content :)