i am writing an experimental asynchronous web server. i am wondering about the standard / 'best' way to decode HTTP requests in python?
basically what reading from the socket gives me is a bytes representation of the incoming request raw data; how can i turn these into standard datatypes like dictionaries, lists of values, and so on? is there a good general tutorial how to do this and what to be on the watchout for (especially regarding encodings and browser specifics)?