def _read_request_line_dict(line):
    """Return a dict containing the method and uri for a request line"""

    # Split the line into words.
    words = line.split(" ")
    method = "GET"
    # If the line contains only one word, assume the line is the URI.
    if len(words) == 1:
        uri = words[0]
    else:
        method = words[0]
        uri = words[1]

    return {
        "method": method,
        "uri": uri
    }