Modularize private _handle_http_429