Fix #1799: Modules shouldn't change http status code