Page MenuHomeDevCentral

Allow _documents.xml to define a status code
Open, Needs TriagePublic

Description

Currently, to serve a 503, we need to act at webserver level, or to add a <noheader /> block in _documents.xml to avoid site HTML header to be printed before we send the HTTP headers:

+ <!-- TEMPORARY FOR THE 503 -->
+ <noheader />
+ <nofooter />

Instead, we should get the possibility to send HTTP headers through _document.xml.