The extended protocol uses the qs library to parse x-www-form-urlencoded data. The main advantage of qs is that it uses a very powerful serialization / deserialization algorithm that can serialize any json-like data structure.
But web browsers usually do not use this protocol because x-www-form-urlencoded was designed to serialize flat html forms. Although, this can come in handy if you are going to send rich data structures using ajax.
querystring` library provides a basic serialization / deserialization algorithm that is used by all web browsers to serialize form data. This basic algorithm is much simpler than advanced, but limited to flat data structures.
Both algorithms work exactly the same with flat data.
source share