Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add SetCookieJar method #69

Merged
merged 2 commits into from
Apr 29, 2017
Merged

add SetCookieJar method #69

merged 2 commits into from
Apr 29, 2017

Conversation

lrita
Copy link
Contributor

@lrita lrita commented Apr 28, 2017

  • allow user override default CookieJar in resty client

@codecov
Copy link

codecov bot commented Apr 28, 2017

Codecov Report

Merging #69 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #69      +/-   ##
=========================================
+ Coverage   96.78%   96.8%   +0.01%     
=========================================
  Files          11      11              
  Lines         902     907       +5     
=========================================
+ Hits          873     878       +5     
  Misses         15      15              
  Partials       14      14
Impacted Files Coverage Δ
client.go 95.74% <100%> (+0.04%) ⬆️
default.go 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97effac...cca7b20. Read the comment docs.

  * allow user override default CookieJar in resty client
Copy link
Member

@jeevatkm jeevatkm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lrita for the PR.

default.go Outdated
@@ -89,6 +89,11 @@ func SetHeaders(headers map[string]string) *Client {
return DefaultClient.SetHeaders(headers)
}

// SetCookieJa sets custom http.CookieJar. See `Client.SetCookieJar` for more information.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one typo error in godoc SetCookieJa => SetCookieJar.

@jeevatkm jeevatkm assigned jeevatkm and lrita and unassigned jeevatkm Apr 29, 2017
@jeevatkm jeevatkm merged commit d2d648a into go-resty:master Apr 29, 2017
@jeevatkm jeevatkm modified the milestone: v0.12 Milestone May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants