go-graphite / carbonapi

http.NewRequest request send to http:// URLs GO-S1028
Security
Major
5 months agoa year old
Does not encrypt traffic with TLS, use HTTPS instead: http://127.0.0.1/render
113		},
114	}
115	logger := zapwriter.Logger("test")
116	r, _ := http.NewRequest("GET", "http://127.0.0.1/render", nil)117	for _, tt := range tests {
118		t.Run(tt.name, func(t *testing.T) {
119			duration := time.Second * time.Duration(tt.until-tt.from)