blob: cc0baa8197fece7709917962d63eb58e6145e84c [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001// 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
David K. Bainbridgebd6b2882021-08-26 13:31:02 +00005//go:build !go1.11
Zack Williamse940c7a2019-08-21 14:25:39 -07006// +build !go1.11
7
8package http2
9
10import (
11 "net/http/httptrace"
12 "net/textproto"
13)
14
15func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool { return false }
16
17func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) {}
18
19func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error {
20 return nil
21}