Fix typo
Refactor http accessors for more simplified access