From 688bbb1baffe4ee2f53c82a089aecddaa2d1cac1 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 4 Oct 2011 06:22:27 +0000 Subject: [PATCH] NSEDoc for http-cors. --- scripts/http-cors.nse | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/http-cors.nse b/scripts/http-cors.nse index 272faf425..2188a1444 100644 --- a/scripts/http-cors.nse +++ b/scripts/http-cors.nse @@ -1,5 +1,10 @@ description = [[ Tests an http server for Cross-Origin Resource Sharing. + +Cross-Origin Resource Sharing is a way for domains to explicitly opt in +to having certain methods invoked by another domain. The script works by +setting the Access-Control-Request-Method header field for certain +enumerated methods in OPTIONS requests, and checking the responses. ]] ---