- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for serveFile (0.06 seconds)
-
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
} val file = File(baseDirectory.toString() + path) if (file.isDirectory) { serveDirectory(stream, file.listFiles()!!) } else if (file.exists()) { serveFile(stream, file) } else { send404(stream, path) } } catch (e: IOException) { Platform.get().log("Failure serving Http2Stream: " + e.message, Platform.INFO, null) } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 6.4K bytes - Click Count (0) -
doc/godebug.md
defaults to `x509keypairleaf=1`. Previous versions default to `x509keypairleaf=0`. This setting will be removed in Go 1.27. Go 1.23 changed [`net/http.ServeContent`](/pkg/net/http#ServeContent), [`net/http.ServeFile`](/pkg/net/http#ServeFile), and [`net/http.ServeFS`](/pkg/net/http#ServeFS) to remove Cache-Control, Content-Encoding, Etag, and Last-Modified headers when serving an error. This behavior is controlled by
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Dec 03 00:18:09 GMT 2025 - 24.7K bytes - Click Count (0) -
api/go1.txt
pkg net/http, func RedirectHandler(string, int) Handler pkg net/http, func Serve(net.Listener, Handler) error pkg net/http, func ServeContent(ResponseWriter, *Request, string, time.Time, io.ReadSeeker) pkg net/http, func ServeFile(ResponseWriter, *Request, string) pkg net/http, func SetCookie(ResponseWriter, *Cookie) pkg net/http, func StatusText(int) string pkg net/http, func StripPrefix(string, Handler) Handler
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)