Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addFastCGIEnvToContext (0.18 sec)

  1. src/net/http/fcgi/child.go

    	env, _ := r.Context().Value(envVarsContextKey{}).(map[string]string)
    	return env
    }
    
    // addFastCGIEnvToContext reports whether to include the FastCGI environment variable s
    // in the http.Request.Context, accessible via ProcessEnv.
    func addFastCGIEnvToContext(s string) bool {
    	// Exclude things supported by net/http natively:
    	switch s {
    	case "CONTENT_LENGTH", "CONTENT_TYPE", "HTTPS",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top