Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isPrettyPrint (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/negotiate.go

    	}
    	return runtime.SerializerInfo{}, NewUnsupportedMediaTypeError(supported)
    }
    
    // isPrettyPrint returns true if the "pretty" query parameter is true or if the User-Agent
    // matches known "human" clients.
    func isPrettyPrint(req *http.Request) bool {
    	// DEPRECATED: should be part of the content type
    	if req.URL != nil {
    		// avoid an allocation caused by parsing the URL query
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 10 10:53:34 UTC 2019
    - 9.5K bytes
    - Viewed (0)
Back to top