vadymmarkov / Malibu

:surfer: Malibu is a networking library built on promises
https://vadymmarkov.github.io
Other
414 stars 39 forks source link

Update os info #43

Closed onmyway133 closed 8 years ago

onmyway133 commented 8 years ago

Since operatingSystemVersionString is localized, it is not good to be used in user agent

Version 9.1 (Build 13B143)

The operating system version string is human readable, localized, and is appropriate for displaying to the user. This string is not appropriate for parsing

This fixes that by constructing os info, without build number due to lack of official API, so it will be like iOS 9.1.0

vadymmarkov commented 8 years ago

@onmyway133 👍