Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ServeContent (0.11 sec)

  1. src/net/http/fs.go

    // request includes an If-Modified-Since header, ServeContent uses
    // modtime to decide whether the content needs to be sent at all.
    //
    // The content's Seek method must work: ServeContent uses
    // a seek to the end of the content to determine its size.
    //
    // If the caller has set w's ETag header formatted per RFC 7232, section 2.3,
    // ServeContent uses it to handle requests using If-Match, If-None-Match, or If-Range.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. src/internal/trace/traceviewer/mmu.go

    	}
    	return func(w http.ResponseWriter, r *http.Request) {
    		switch r.FormValue("mode") {
    		case "plot":
    			mmu.HandlePlot(w, r)
    			return
    		case "details":
    			mmu.HandleDetails(w, r)
    			return
    		}
    		http.ServeContent(w, r, "", time.Time{}, strings.NewReader(templMMU))
    	}
    }
    
    var utilFlagNames = map[string]trace.UtilFlags{
    	"perProc":    trace.UtilPerProc,
    	"stw":        trace.UtilSTW,
    	"background": trace.UtilBackground,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top