How to parse HTTP Accept* headers using aws-sdk-cpp [closed]

  amazon-web-services, c++, http-headers

Context: Building an AWS Lambda.

I am currently using the aws-sdk-cpp to build my AWS lambda. I’d like to control the behavior of my AWS Lambda based on the HTTP "Accept:" headers (I can deal with Accept-Encoding, Accept-Charset later on).

Is there a function in the toolkit that can help me parse HTTP Accept: headers. It should handle multi-values mime-types and qvalue. For example:

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Source: Windows Questions C++