Golang Golang 中 net/http 包使用方法之 http.Header 一、说明 http.Header 结构包含请求头信息,官方定义如下,其实就是一个 map[string][]string 结构: [crayon-6859a14f03e5b321137197/] 二、常用方... 08 月 24 日958评论golang net/http 阅读全文
Golang Golang 中 net/http 包使用方法之 http.Response 一、说明 http.Response 是我们请求服务器之后得到的响应数据,结构如下: [crayon-6859a14f043d7546267327/] 其中常用的属性说明如下: Status:响应状态,... 08 月 24 日3,598评论golang net/http 阅读全文