If database connection problems occur, drupal shows an error page. For some specific problems the HTTP status code is correctly set to "503 Service Unavailable". But unfortunately some error pages are still returned with "200 OK". I attached a patch to fix this issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drumm’s picture

Status: Needs review » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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