This question evaluates proficiency in HTTP networking, asynchronous and parallel programming (promises/futures), deduplication and order preservation, and robust error handling for I/O operations.
You are given a list of URL strings. For each URL, send an HTTP GET request and return the responses.
Return a list of objects:
url
: the requested URL
status
: HTTP status code (or an error indicator if the request fails)
body
: response body as text (or an error message)