Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
routing system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Dec 2012 at 16:08 UTC
Updated:
28 Sep 2014 at 10:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
scor commentedThis patch include the mimeparse library as well as a new Mimeparse subsystem in core/lib/Drupal/Core/Mimeparse.php where I've added some logic to adapt mimeparse to our needs (in particular preserving the quality factors along with the MIME types). The default conneg and the MIME type partial matcher have been adapted to use this new library.
setting to needs review to see what the testbot says.
Comment #3
Crell commentedThis should be static::, not self::. self:: probably should never be used anymore.
Comment #4
Crell commentedComment #5
scor commentedComment #6
scor commentedaddressed crell's comment in #3.
Comment #8
wamilton commentedPoking testbot for a new list of broken stuff.
Comment #9
wamilton commented6: 1857138_6_dedicated_conneg.patch queued for re-testing.
Comment #11
wamilton commentedA reroll with composer cruft... fingers crossed.
Comment #12
Crell commentedLet's get #2026431: Make ContentNegotiation a "internal" service, used only by the router, so that core or contrib can implement real negotiation in first, as that gives us more leeway here.
Comment #14
Crell commentedWe're going with a stack approach: #2331919: Implement StackNegotiation