-1

This question helps me a little bit about convention, but I want to ask what are they in practice.

For example:

  • Which http header name to send device specific information like deviceId?

  • Which http header name to send device type? (e.g.: tablet, mobile, etc.)

  • Which http header name to send device os?

I did not see any complete information about these topic.

Community
  • 1
  • 1
oko
  • 1,295
  • 1
  • 14
  • 30

1 Answers1

0

I don't think there are headers that tell you the device or OS. Some of the information you want can be extracted from the User-Agent header.

For screen sizes there can be headers too, like UA-pixels, but they cannot really be trusted (no header can be, actually).

GolezTrol
  • 114,394
  • 18
  • 182
  • 210
  • I know there is no default support, Instead of, I am asking what people are using (custom headers) to carry these informations and their variations. – oko Jul 05 '15 at 21:35
  • And that is exactly the question I answered. There is no separate header that tells you the OS. – GolezTrol Jul 05 '15 at 21:37