Commit c9ccb9cc authored by astaxie's avatar astaxie

Merge pull request #389 from 1fei/master

Update httplib.go
parents e4816718 0269a669
......@@ -90,7 +90,7 @@ func (b *BeegoHttpRequest) Header(key, value string) *BeegoHttpRequest {
}
func (b *BeegoHttpRequest) SetCookie(cookie *http.Cookie) *BeegoHttpRequest {
b.req.Header.Add("Set-Cookie", cookie.String())
b.req.Header.Add("Cookie", cookie.String())
return b
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment