[SSC] Fix stupid if else clause - replace by dict.get(name, default). DRY out form handling from http_handler to separate them.