Akamai Interview Question

How does a web server know that the HTTP request was from a mobile or desktop?