OLD | NEW |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 package main | 5 package main |
6 | 6 |
7 func init() { | 7 func init() { |
8 addTestCases(httputilTests, httputil) | 8 addTestCases(httputilTests, httputil) |
9 } | 9 } |
10 | 10 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 httputil.NewChunkedWriter(nil) | 113 httputil.NewChunkedWriter(nil) |
114 httputil.NewClientConn(nil, nil) | 114 httputil.NewClientConn(nil, nil) |
115 httputil.NewProxyClientConn(nil, nil) | 115 httputil.NewProxyClientConn(nil, nil) |
116 httputil.NewServerConn(nil, nil) | 116 httputil.NewServerConn(nil, nil) |
117 httputil.NewSingleHostReverseProxy(nil) | 117 httputil.NewSingleHostReverseProxy(nil) |
118 http.Get("") | 118 http.Get("") |
119 } | 119 } |
120 `, | 120 `, |
121 }, | 121 }, |
122 } | 122 } |
OLD | NEW |