not_go111.go 458 B

1234567891011121314151617
  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. // +build !go1.11
  5. package http2
  6. import "net/textproto"
  7. func traceHasWroteHeaderField(trace *clientTrace) bool { return false }
  8. func traceWroteHeaderField(trace *clientTrace, k, v string) {}
  9. func traceGot1xxResponseFunc(trace *clientTrace) func(int, textproto.MIMEHeader) error {
  10. return nil
  11. }