$_SERVER['CONTENT_TYPE'] is part of the CGI/1.1 spec. But for some reason the built-in PHP web server does things slightly different and provides the Content-Type header under $_SERVER['HTTP_CONTENT_TYPE'].

Services should support the built-in PHP web server. Attached patch fixes this.

services-server-content-type-cgi-version.patch653 bytesdixon_
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch services-server-content-type-cgi-version.patch. Unable to apply patch. See the log in the details link for more information. View
Members fund testing for the Drupal project. Drupal Association Learn more


ygerasimov’s picture

Status: Needs review » Fixed

Committed. Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.