def get_request_line(fp):
    """
        Get a line, possibly preceded by a blank.
    """
    line = fp.readline()
    if line == b"\r\n" or line == b"\n":
        # Possible leftover from previous message
        line = fp.readline()
    return line