bug fixed: http test failed due to previous change in logic, corrected devMode -> APC relaional logic