Added docstring to parse_request()