- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for serveDirectory (0.11 sec)
-
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
} if (path == null) { // TODO: send bad request error throw AssertionError() } 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) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0)