Closed (works as designed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
rest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2015 at 17:54 UTC
Updated:
3 Feb 2016 at 12:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
isholgueras commentedI've tested almost every functionality in content negotiation for REST Export. I've checked the code that I think is a related code and everything work well. So I removed only the @todo line.
Correct me if I'm wrong.
Comment #2
novitsh commentedIf indeed the TODO is not relevant anymore, than the patch provided in #1 is good to go.
Comment #3
Jaesin commentedI think the comment is saying to remove the if statement when content negotiation has improved to the point where
$this->setContentType($this->view->getRequest()->getRequestFormat())works without it. Meaning that a rest request should not return "html" in the first place unless there was a "html" serializer :(.Comment #4
wim leersAgreed with #3. This @todo is still relevant.