From 2029c307094184d38f9a85763bc5054ee9ca7c7d Mon Sep 17 00:00:00 2001 From: Vsevolod Strukchinsky Date: Sun, 26 Apr 2015 20:34:06 +0500 Subject: [PATCH] resort options in readme --- readme.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index 6baf91a..f8aab5d 100644 --- a/readme.md +++ b/readme.md @@ -54,13 +54,6 @@ Type: `object` Any of the [`http.request`](http://nodejs.org/api/http.html#http_http_request_options_callback) options. -###### encoding - -Type: `string`, `null` -Default: `'utf8'` - -Encoding to be used on `setEncoding` of the response data. If null, the body is returned as a Buffer. - ###### body Type: `string`, `Buffer`, `ReadableStream` @@ -69,6 +62,13 @@ _This option and stream mode are mutually exclusive._ Body, that will be sent with `POST` request. If present in `options` and `options.method` is not set - `options.method` will be set to `POST`. +###### encoding + +Type: `string`, `null` +Default: `'utf8'` + +Encoding to be used on `setEncoding` of the response data. If null, the body is returned as a Buffer. + ###### json Type: `Boolean`