Skip to content

Commit

Permalink
fix content mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkgos committed Sep 17, 2021
1 parent 5c979a0 commit ed87974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions request.go
Expand Up @@ -607,8 +607,8 @@ func (r *Request) AddRetryCondition(condition RetryConditionFunc) *Request {
// Scopes pass current request instance to arguments `func(*Request) *Request`,
// which could be used to add parameters dynamically
// func TransferContentType(r *Request) *Request {
// return r.SetHeader("Content-Type", "application/json").
// SetHeader("Accept", "application/json")
// return r.SetHeader("Content-Type", "application/json").
// SetHeader("Accept", "application/json")
// }
//
// func PageParam(page, size int) func (r *Request) *Request {
Expand Down

0 comments on commit ed87974

Please sign in to comment.