func (r *Response) GetHeader(name string) []string {
	headers := r.GetHeaders()
	for k, v := range headers {
		if strings.ToLower(name) == strings.ToLower(k) {
			return v
		}
	}
	return nil
}
GetHeader get response header
package goz
import (
	"net"
	"net/http"
	"strings"
	"github.com/tidwall/gjson"
)
type Response struct {
	resp *http.Response
	req  *http.Request
	body []byte
	err  error
}
type ResponseBody []byte
func (r ResponseBody) String() string {
	return string(r)
}
func (r ResponseBody) Read(length int) []byte {
	if length > len(r) {
		length = len(r)
	}
	return r[:length]
}
func (r ResponseBody) GetContents() string {
	return string(r)
}
func (r *Response) GetRequest() *http.Request {
	return r.req
}
func (r *Response) GetBody() (ResponseBody, error) {
	return ResponseBody(r.body), r.err
}
func (r *Response) GetParsedBody() (*gjson.Result, error) {
	pb := gjson.ParseBytes(r.body)
	return &pb, nil
}
func (r *Response) GetStatusCode() int {
	return r.resp.StatusCode
}
func (r *Response) GetReasonPhrase() string {
	status := r.resp.Status
	arr := strings.Split(status, " ")
	return arr[1]
}
func (r *Response) IsTimeout() bool {
	if r.err == nil {
		return false
	}
	netErr, ok := r.err.(net.Error)
	if !ok {
		return false
	}
	if netErr.Timeout() {
		return true
	}
	return false
}
func (r *Response) GetHeaders() map[string][]string {
	return r.resp.Header
}