Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for http2encodeHeaders (0.33 sec)

  1. src/net/http/h2_bundle.go

    	enc, buf := ctx.HeaderEncoder()
    	buf.Reset()
    
    	if w.httpResCode != 0 {
    		http2encKV(enc, ":status", http2httpCodeString(w.httpResCode))
    	}
    
    	http2encodeHeaders(enc, w.h, w.trailers)
    
    	if w.contentType != "" {
    		http2encKV(enc, "content-type", w.contentType)
    	}
    	if w.contentLength != "" {
    		http2encKV(enc, "content-length", w.contentLength)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top