removed deprecated HEADER_* from examples (#21395)
Even though the documentation says that HEADER_* parameter is deprecated, the examples still show its usage.
This commit is contained in:
parent
5f01cd4402
commit
2505d56401
1 changed files with 4 additions and 2 deletions
|
@ -196,14 +196,16 @@ EXAMPLES = '''
|
|||
method: POST
|
||||
body: "name=your_username&password=your_password&enter=Sign%20in"
|
||||
status_code: 302
|
||||
HEADER_Content-Type: "application/x-www-form-urlencoded"
|
||||
headers:
|
||||
Content-Type: "application/x-www-form-urlencoded"
|
||||
register: login
|
||||
|
||||
- uri:
|
||||
url: https://your.form.based.auth.example.com/dashboard.php
|
||||
method: GET
|
||||
return_content: yes
|
||||
HEADER_Cookie: "{{login.set_cookie}}"
|
||||
headers:
|
||||
Cookie: "{{login.set_cookie}}"
|
||||
|
||||
- name: Queue build of a project in Jenkins
|
||||
uri:
|
||||
|
|
Loading…
Reference in a new issue