Using decorator to set http_status.
Setting bool values for reboot_required.