handle empty body on get request.