Merge pull request #707 from spongehah/golib/net/textproto

lib/net/textproto: patch Dial
This commit is contained in:
xushiwei
2024-08-15 20:58:14 +08:00
committed by GitHub
5 changed files with 369 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
package main
import "net/textproto"
func main() {
h := make(textproto.MIMEHeader)
h.Set("host", "www.example.com")
println(h.Get("Host"))
}
/* Expected output:
www.example.com
*/