add checkout for empty request and https url