- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for serveFile (0.08 sec)
-
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) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
doc/godebug.md
defaults to `x509keypairleaf=1`. Previous versions default to `x509keypairleaf=0`. 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
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 28 14:46:33 UTC 2024 - 17.2K bytes - Viewed (0)