Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
$_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.
Comment | File | Size | Author |
---|---|---|---|
services-server-content-type-cgi-version.patch | 653 bytes | dixon_ | |
Comments
Comment #1
ygerasimov CreditAttribution: ygerasimov commentedCommitted. Thanks