Fix doc - no setBodyEnocoding anymore
authorRyan Dahl <ry@tinyclouds.org>
Tue, 12 Apr 2011 00:30:33 +0000 (17:30 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Tue, 12 Apr 2011 00:30:36 +0000 (17:30 -0700)
Thanks Frederic. Closes GH-859.

doc/api/http.markdown

index 10a0f9d..500347d 100644 (file)
@@ -136,7 +136,7 @@ Emitted when a piece of the message body is received.
 Example: A chunk of the body is given as the single
 argument. The transfer-encoding has been decoded.  The
 body chunk is a string.  The body encoding is set with
-`request.setBodyEncoding()`.
+`request.setEncoding()`.
 
 ### Event: 'end'