// SetQuery sets the whole request query func (r *request) SetQuery(q map[string]string) Request { r.query = array.CloneMap(q) return r }
// SetHeaders sets the whole request headers func (r *request) SetHeaders(h map[string]string) Request { r.headers = array.CloneMap(h) return r }