From 0540769677a8966fc6f665b758714c6eceaaa9c8 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 19 Oct 2015 10:13:45 -0400 Subject: [PATCH] specified that uri must be uppercase --- lib/ansible/modules/network/basics/uri.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/network/basics/uri.py b/lib/ansible/modules/network/basics/uri.py index ff3d59b87e..7e65518023 100644 --- a/lib/ansible/modules/network/basics/uri.py +++ b/lib/ansible/modules/network/basics/uri.py @@ -44,7 +44,6 @@ options: - HTTP or HTTPS URL in the form (http|https)://host.domain[:port]/path required: true default: null - aliases: [] dest: description: - path of where to download the file to (if desired). If I(dest) is a directory, the basename of the file on the remote server will be used. @@ -73,7 +72,7 @@ options: version_added: "2.0" method: description: - - The HTTP method of the request or response. + - The HTTP method of the request or response. It MUST be uppercase. required: false choices: [ "GET", "POST", "PUT", "HEAD", "DELETE", "OPTIONS", "PATCH", "TRACE", "CONNECT", "REFRESH" ] default: "GET"