gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/net/http2/not_go111.go (about)

     1  // Copyright 2018 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !go1.11
     6  // +build !go1.11
     7  
     8  package http2
     9  
    10  import (
    11  	"gitee.com/ks-custle/core-gm/gmhttp/httptrace"
    12  	"net/textproto"
    13  )
    14  
    15  func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool { return false }
    16  
    17  func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) {}
    18  
    19  func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error {
    20  	return nil
    21  }