From e58fdaf50fdd71f069cedffb94c681be6f204b2d Mon Sep 17 00:00:00 2001 From: Adrien Castex Date: Sat, 8 Jul 2017 16:11:55 +0200 Subject: [PATCH] Added a note to the README of the 'Custom Method' example --- examples/v2/customMethod/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/v2/customMethod/README.md b/examples/v2/customMethod/README.md index 15c05f6b..aa816a4d 100644 --- a/examples/v2/customMethod/README.md +++ b/examples/v2/customMethod/README.md @@ -6,3 +6,5 @@ This example focus on the `TRACE` method, to send to a remote user all actions t It uses the headers `Trace-Depth`, `Trace-Separator` and `Trace-Method` to customize the answer and the observed resources. The `ts` file and the `js` file are the same thing. The `js` file displays the example in JavaScript while the `ts` file displays the example in TypeScript. + +Note : The methods which can be added are limited to [the supported methods](https://nodejs.org/api/http.html#http_http_methods) in the `http` module.