pub fn normalize_request(request: &mut Request)Expand description
Normalizes the Request interface.
This function applies the following normalization rules:
- The URL is truncated to 2048 characters.
 - The query string and fragment are extracted into dedicated fields.
 - The method is normalized to uppercase.
 - The data is parsed as JSON or urlencoded and put into the 
datafield. - The 
Content-Typeheader is parsed and put into theinferred_content_typefield. - The 
Cookieheader is parsed and put into thecookiesfield.