• Etienne CHAMPETIER's avatar
    ZP-790 improve output buffer / response handling. · 6608627e
    Etienne CHAMPETIER authored
    Released under the Affero GNU General Public License (AGPL) version 3.
    
    clean output buffer when handling exception (else we send garbage)
    send Content-Length when posible
    remove Content-Type header when Content-Length = 0
    use ob_end_flush() instead of a temp variable
    factor end of response code in ZPush::FinishResponse()
    6608627e
zpush.php 36.7 KB