aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/httptest
AgeCommit message (Expand)Author
5 daysnet/http: add support for running HTTP tests against HTTP/3Nicholas S. Husin
2025-10-17all: remove unnecessary loop variable copies in testsTobias Klauser
2025-10-15net/http/httptest: record failed ResponseWriter writesDamien Neil
2025-10-08net/http/httptest: check whether response bodies are allowedSean Liao
2025-08-23net/http/httptest: redirect example.com requests to serverSean Liao
2025-02-11net/http/httptest: match net/http ContentLength behavior for http.NoBodySean Liao
2025-02-04net: use strings.SplitSeq and bytes.SplitSeqapocelipes
2024-05-10net/http/httptest: add comment to Server.Client() about Server.URLAlireza Ghasemi
2024-03-18net/http/httptest: close res.Body in testguoguangwu
2024-03-11net/http/httptest: add NewRequestWithContextKevin Burke
2024-01-10net: add available godoc linkcui fliter
2023-11-06net/http/httptest: remove unnecessary creation of http.TransportZeke Lu
2023-09-05all: use ^TestName$ regular pattern for invoking a single testDmitri Shuralyov
2022-04-11net/http/httptest: allow multiple fields be present in one Trailer fieldMaxime Soulé
2022-04-11all: gofmt main repoRuss Cox
2022-03-25net/http/httptest: fix race in Server.CloseMaisem Ali
2021-06-10net/http: remove test-only private key from production binariesDamien Neil
2021-04-14net/http/httptest: panic on non-3 digit (XXX) status code in Recorder.WriteHe...ian woolf
2021-03-25net/http/httptest: wait for user ConnState hooksDamien Neil
2020-10-20all: update references to symbols moved from io/ioutil to ioRuss Cox
2020-05-31net/http: reject HTTP/1.1 Content-Length with sign in responsePaschalis Tsilias
2020-05-06net/http: use ASCII space trimming throughoutFilippo Valsorda
2019-10-18net/http/httptest: add EnableHTTP2 to ServerEmmanuel T Odeke
2019-05-20net/http/httptest: update docs, remove old inaccurate sentenceBrad Fitzpatrick
2019-04-24net/http: export Header.Clone, reduce its allocations, use it everywhereBrad Fitzpatrick
2019-03-11all: move internal/x to vendor/golang.org/x and revendor using 'go mod vendor'Bryan C. Mills
2018-12-14net/http/httptest: don't register a flag unless it looks like it's in useBrad Fitzpatrick
2018-11-29vendor/golang_org/x: move to internal/xBryan C. Mills
2018-07-20net/http/httptest: guarantee ResponseRecorder.Result returns a non-nil bodyJack
2018-06-10net/http/httptest: deprecate ResponseRecorder.HeaderMapCaleb Spare
2018-05-12net/http/httptest: table-test using named subtestsPierre Prinetti
2018-04-16net/http: omit forbidden Trailer headers from responseDavid Url
2018-03-26all: use strings.Builder instead of bytes.Buffer where appropriateBrad Fitzpatrick
2018-02-20net/http: use RFC 723x as normative reference in docsDavid Url
2017-06-30net/http/httptest: allow creation of Server manuallyJoe Tsai
2017-06-26net/http/httptest: close client connections in separate goroutinesYasha Bubnov
2017-05-23net/http/httptest: make ResponseRecorder.Result.Status match http.TransportBrad Fitzpatrick
2017-03-27net/http/httptest: don't panic on Close of user-constructed Server valueBrad Fitzpatrick
2017-03-08net/http: use httptest.Server Client in testsJohan Brandhorst
2017-03-03net/http/httptest: add Client and Certificate methods to ServerJohan Brandhorst
2016-11-29net/http/httptest: fix typo in doc commentMichal Bohuslávek
2016-11-28net/http, net/http/httptest: cross-reference the two NewRequest funcsBrad Fitzpatrick
2016-11-12net/http/httptest: remove workaround on Plan 9David du Colombier
2016-11-01net/http, net/http/httptest: make http2's TrailerPrefix work for http1Brad Fitzpatrick
2016-10-26net/http/httptest: doc tweaksBrad Fitzpatrick
2016-10-26net/http/httptest: add more docs on ResponseRecord fieldsBrad Fitzpatrick
2016-09-21net/http/httptest: fill ContentLength in recorded ResponseThomas de Zeeuw
2016-09-01crypto/tls: add Config.CloneBrad Fitzpatrick
2016-08-23net/http/httptest: updated example to use Result()Dhaivat Pandit
2016-06-27net/http/httptest: show usage of httptest.NewRequest in exampleKonstantin Shaposhnikov