From a2dd9d83a1702ed47ac7125c152e33e15718e905 Mon Sep 17 00:00:00 2001 From: Gustavo Henke Date: Sat, 8 Mar 2014 23:51:19 -0300 Subject: [PATCH] Fix link to Node Buffer API --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4e25f8..4120538 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Note that if you want your request body to be JSON with the `Content-Type: appli Also you can use `json()` and `postJson()` methods. * `parser` A function that will be called on the returned data. Use any of predefined `restler.parsers`. See parsers section below. Defaults to `restler.parsers.auto`. * `encoding` The encoding of the request body. Defaults to `"utf8"`. -* `decoding` The encoding of the response body. For a list of supported values see [Buffers](http://nodejs.org/docs/latest/api/buffers.html#buffers). Additionally accepts `"buffer"` - returns response as `Buffer`. Defaults to `"utf8"`. +* `decoding` The encoding of the response body. For a list of supported values see [Buffers](http://nodejs.org/api/buffer.html#buffer_buffer). Additionally accepts `"buffer"` - returns response as `Buffer`. Defaults to `"utf8"`. * `headers` A hash of HTTP headers to be sent. Defaults to `{ 'Accept': '*/*', 'User-Agent': 'Restler for node.js' }`. * `username` Basic auth username. Defaults to empty. * `password` Basic auth password. Defaults to empty.