Currently, boost_get_http_status only looks at a single header to determine the HTTP status of the returned page. This can lead to non 200 pages being cached. Attached is a patch to make boost_get_http_status more thorough to determine the response.

This is useful should a module determine a 500 or 400 series.

CommentFileSizeAuthor
#2 boost-status-1.patch871 byteshalcyonCorsair
boost-status.patch856 bytesJosh Waihi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

Status: Active » Needs review
halcyonCorsair’s picture

FileSize
871 bytes

Regex made more specific, patch attached.

mikeytown2’s picture

Version: 6.x-1.18 » 6.x-1.x-dev
Status: Needs review » Fixed

thanks & committed!

Status: Fixed » Closed (fixed)

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