Skip to content

Commit

Permalink
docs: curl(url, opts) add parameter introduction (#1351) (#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyj1991 authored and popomore committed Aug 24, 2017
1 parent 4daf497 commit 4994543
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/egg.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ class EggApplication extends EggCore {
* - auth {String} - `username:password` used in HTTP Basic Authorization.
* - followRedirect {Boolean} - follow HTTP 3xx responses as redirects. defaults to false.
* - gzip {Boolean} - let you get the res object when request connected, default false. alias customResponse
* - nestedQuerystring {Boolean} - urllib default use querystring to stringify form data which don't
* support nested object, will use qs instead of querystring to support nested object by set this option to true.
* - more options see https://www.npmjs.com/package/urllib
* @return {Object}
* - status {Number} - HTTP response status
* - headers {Object} - HTTP response seaders
Expand Down

0 comments on commit 4994543

Please sign in to comment.