LampCMS development and php tips

Announcements and articles about this site development and stuff like that

Return code 200 but empty body
Fri Oct 30 2009
Some web servers handle the If-Modified-Since request header incorrectly.
When a web server receives this header it must examine the value of this header and return the page only if the content has been modified since the time specified in the header.

The correct way is to return the code 304, meaning 'not modified'

Some servers will return the http response code 200 which means 'OK', but will just not send any response body. This is not the correct behaviour but unfortumately quite common.