As of D5, Drupal always sends out HTTP/1.1 responses, regardless of which version the client is using. This was changed by http://drupal.org/node/104693

This causes problems with some proxies like squid that send 1.0 requests. Random hex numbers appear at the top of some error pages.

Wordpress had the same problem before: http://trac.wordpress.org/ticket/3886

We should try to respond with the same version or less. Using $_SERVER['SERVER_PROTOCOL'] would work but I think error pages may be cached for anonymous users, so switching back to 1.0 would probably be required.

Comments

tr’s picture

Status: Active » Closed (duplicate)

This has already been fixed in Drupal 7 and Drupal 8 by #208793: Stop hardcoding the HTTP protocol version. A backport of the fix for Drupal 6 is pending review. Drupal 5 will not be fixed at this point, since it is now unsupported.