Pregunta de entrevista de Akamai

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