Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ServeFile (0.07 sec)

  1. 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)
  2. 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)
  3. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top