aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/fs_test.go
AgeCommit message (Expand)Author
4 daysnet/http: run tests for HTTP/3 where it can already passNicholas S. Husin
2025-10-17all: remove unnecessary loop variable copies in testsTobias Klauser
2025-03-05net/http: make http.FileServer return 404 when a path is invalid/unsafeGrégoire Lodi
2024-07-25net: use slices and maps to clean up testsapocelipes
2024-06-18net/http: keep Content-Encoding in Error, add GODEBUG for ServeContentDamien Neil
2024-05-15net/http, reflect: rename Test function namesJes Cok
2024-05-09net/http: remove misleading response headers on errorRuss Cox
2024-03-15net/http: revert header changes in ErrorRuss Cox
2024-03-06net/http: remove misleading response headers on errorMitar
2024-02-27net/http: prevent redirect loop in serveFile if "/" is a normal fileMauri de Souza Meneguzzo
2024-02-24net/http: make FileServer look good on mobileMax 👨🏽‍💻 Coplan
2023-11-15net/http: don't set length for non-range encoded content requestsDamien Neil
2023-11-06net/http: set/override Content-Length for encoded range requestsMitar
2023-09-05all: use ^TestName$ regular pattern for invoking a single testDmitri Shuralyov
2023-08-22net/http: use testenv.Command instead of exec.Command in testsBryan C. Mills
2023-08-07net/http: add ServeFileFS, FileServerFS, NewFileTransportFSMauri de Souza Meneguzzo
2023-07-24Revert "net/http: use Copy in ServeContent if CopyN not needed"Damien Neil
2023-05-04all: add String for fs.{FileInfo,DirEntry} implementationsIan Lance Taylor
2023-04-06net/http: add tests covering non-GET methods for file servingDamien Neil
2023-04-06Revert "net/http: FileServer method check + minimal OPTIONS implementation"Damien Neil
2023-03-09net/http: use Copy in ServeContent if CopyN not neededLeo Antunes
2022-12-06os, net/http: avoid escapes from os.DirFS and http.Dir on WindowsDamien Neil
2022-11-04net/http: ignore ranges if the content is empty in serveContentJorropo
2022-10-07net/http: refactor tests to run most in HTTP/1 and HTTP/2 modesDamien Neil
2022-09-07net/http: use strings.Buildercuiweixie
2022-08-29net/http: FileServer method check + minimal OPTIONS implementationPascal S. de Kloe
2022-07-11net/http: remove Content-Encoding in writeNotModifiedMitar
2022-01-10net/http: map FS Open errors just like DirJonathan Amsterdam
2021-12-13all: gofmt -w -r 'interface{} -> any' srcRuss Cox
2021-04-16net/http: using errors.Is in fs error detectionPeng Gao
2021-04-07net/http: replace os.MkdirTemp with T.TempDirianwoolf
2021-04-05all: update references to symbols moved from io/ioutil to ioKimMachineGun
2020-12-09all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTempRuss Cox
2020-10-20all: update references to symbols moved from io/ioutil to ioRuss Cox
2020-10-20net/http: add FS to convert fs.FS to FileSystemRuss Cox
2020-10-20all: update references to symbols moved from os to io/fsRuss Cox
2020-09-02net/http: reject negative suffix-length Range:bytes=--N with 416 status codeEmmanuel T Odeke
2020-09-01net/http: refactor ResponseWriter.ReadFrom to permit splice on LinuxPaul Forgey
2020-06-29net/http: fix panic with If-None-Match value in http.ServeContentMarcus Weiner
2019-11-08net/http: relax TestLinuxSendfile, trace all system calls, match n64:sendfileBrad Fitzpatrick
2019-08-28net/http: don't panic serving dir in ServeFile with empty Request.URL.PathBrad Fitzpatrick
2019-01-23net/url, net/http: reject control characters in URLsBrad Fitzpatrick
2018-03-06net/http: correct subtle transposition of offset and whence in testas
2018-01-02net/http: relax the matching of strace output in testCaio Marcelo de Oliveira Filho
2017-11-15net/http: don't set Content-Type with empty body automaticallyTw
2017-08-09net/http: check If-Range header when request method is HEADJoe Kyo
2017-06-08net/http: enable TestLinuxSendfile on mips64Vladimir Stefanovic
2017-04-06net/http: fix ineffective break in etag scanningDaniel Martí
2017-03-24net/http: Fix TestLinuxSendfile without strace permissionsKenny Grant
2017-03-08net/http: use httptest.Server Client in testsJohan Brandhorst