server handles first line of request(only GET)