func (c *HTTPClient) ClientFor(path string) Client {
	if c.AllowInsecure(path) {
		return c.insecure
	}
	return c.secure
}
ClientFor returns the HTTPClient client to use for this rawURL.
package vcs
import (
	"crypto/tls"
	"fmt"
	"net/http"
	"time"
	"github.com/rvflash/goup/internal/path"
)
const https = "https"
func NewHTTPClient(timeout time.Duration, insecurePaths string) *HTTPClient {
	return &HTTPClient{
		insecure:      newInsecureHTTPClient(timeout),
		secure:        newSecureHTTPClient(timeout),
		insecurePaths: insecurePaths,
	}
}
type HTTPClient struct {
	secure,
	insecure *http.Client
	insecurePaths string
}