Adjust set and get to send no Content-Type

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-10-03 20:57:40 +02:00
parent 2d712d39dc
commit 6eb213a545
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ import (
//GetData will perform the request and write the results on the provided writer
func GetData(host, id, path string, wr io.Writer) error {
url := host + "/handlers/" + id + path
return http.Get(url, nil, wr)
return http.Get(url, "", nil, wr)
}