simplified HTTP mock, removed redundant syntax artifacts