simply http test
clarify logic with comment