|
@ -153,7 +153,7 @@ func Request(req *http.Request) ([]byte, error) { |
|
|
log.Errorf("illegal request") |
|
|
log.Errorf("illegal request") |
|
|
return nil, errors.New("illegal request") |
|
|
return nil, errors.New("illegal request") |
|
|
} |
|
|
} |
|
|
log.Infof("%v", req) |
|
|
|
|
|
|
|
|
//log.Infof("%v", req)
|
|
|
resp, err := client.Do(req) |
|
|
resp, err := client.Do(req) |
|
|
if nil == resp { |
|
|
if nil == resp { |
|
|
log.Info("none response received") |
|
|
log.Info("none response received") |
|
|