Closed (works as designed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
request processing system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2016 at 07:45 UTC
Updated:
27 Jan 2017 at 15:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kalistos commentedComment #4
aditya.n commented@kalistos, since most of your patch fails said 'Failed asserting that 405 is identical to 406' hence just for that I am rolling a patch which will throw a 405 status instead of 406.
P.S I am not sure if it is safe to use other exception handler.
Comment #6
wim leersWhy should this not throw a 406 for the HTML format? AFAICT this is entirely correct. Feel free to reopen, but then please at least include a justification/explanation, and even better would be a test showing why it should work differently.