Make set_status_header() a dummy under CLI

Close #3605
2 files changed