copying httparty