... #lowframe Documents Packages The Project Help Blog Play The Go Programming Language package main import "fmt" func main() { fmt.Println("Hello, 世界") } Run Format Share 1 // Copyright 2009 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 // HTTP server. See RFC 2616. 6 7 package http 8 9 import ( 10 "bufio" 11 "crypto/tls" 12 "errors" 13 "fmt" 14 "io" 15 "io/ioutil" 16 "log" 17 "net" 18 "net/url" 19 "os" 20 "path" 21 "runtime" 22 "strconv" 23 "strings" 24 "sync" 25 "sync/atomic" 26 "time" 27 ) 28 29 // Errors introduced by the HTTP server. 30 var ( 31 ErrWriteAfterFlush = errors.New("Conn.Write called after Flush") 32 ErrBodyNotAllowed = errors.New("http: request method or response status code does not allow body") 33 ErrHijacked ...