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.
| Comment | File | Size | Author |
|---|---|---|---|
| database_http_return_codes_on_connection_issues.patch | 3.96 KB | mkalkbrenner |
Comments
Comment #1
drummCommitted to 5.x.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.