Skip to content

Commit

Permalink
Merge pull request #30 from dpastoor/patch-1
Browse files Browse the repository at this point in the history
fix missing quotes in proxy doc
  • Loading branch information
h2non authored Jul 26, 2017
2 parents 449f35f + e5f3d8c commit 306092e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func main() {
cli := gentleman.New()

// Define a list of HTTP proxies to be used
cli.Use(proxy.Set([]string{"http://proxy:3128", http://proxy2:3128}))
cli.Use(proxy.Set([]string{"http://proxy:3128", "http://proxy2:3128"}))

// Perform the request
res, err := cli.Request().URL("http://httpbin.org/headers").Send()
Expand Down

0 comments on commit 306092e

Please sign in to comment.