Indentation converted to spaces
Unnecessary check removed from httpinterface