针对除了Get以外的请求
package main
import (
"net/http"
"strings"
)
func main(){
reader := strings.NewReader("hello")
req,_ := http.NewRequest("POST","http://www.abc.com",reader)
client := http.Client{
}
client.Do(req) // 第一次会请求成功
client.Do(req