deduplicating basic http requests