return request.isGet() || request.isDelete() ? new GetSender(request)
: new PostSender(request);
}
public static Sender create(Request request, int timeout) {
Sender sender = request.isGet() || request.isDelete() ? new GetSender(request)
: new PostSender(request);
return sender.setTimeout(timeout);
}