updated with some HTTPie helper functions