Home | History | Annotate | Download | only in http

Lines Matching refs:POST

505 			return c.Post(url, "text/plain", bodyfn())
597 req, _ = NewRequest("POST", cst.ts.URL, io.MultiReader(
755 req, _ := NewRequest("POST", cst.ts.URL, strings.NewReader(reqBody))
1059 req, _ := NewRequest("POST", cst.ts.URL, body)
1317 req, err := NewRequest("POST", cst.ts.URL, testErrorReader{t})
1381 res, err := cst.c.Post(cst.ts.URL, "text/plain", countCloseReader{&closes, strings.NewReader("hello")})
1384 t.Fatal("expected an error to be returned from Post")