Skip to content

Commit

Permalink
doc: fix put - patch typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lucagiove committed Apr 3, 2023
1 parent 3ac7f46 commit 0fb17ff
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 21 deletions.
49 changes: 31 additions & 18 deletions doc/RequestsLibrary.html

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions src/RequestsLibrary/RequestsKeywords.py
@@ -1,10 +1,11 @@
import requests
import robot
from robot.api.deco import keyword
from robot.libraries.BuiltIn import BuiltIn

from RequestsLibrary import log
from RequestsLibrary.compat import urljoin
from RequestsLibrary.utils import is_file_descriptor, warn_if_equal_symbol_in_url_session_less
from robot.api.deco import keyword
from robot.libraries.BuiltIn import BuiltIn


class RequestsKeywords(object):
Expand Down Expand Up @@ -275,7 +276,7 @@ def session_less_head(self, url,
def session_less_patch(self, url, data=None, json=None,
expected_status=None, msg=None, **kwargs):
"""
Sends a PUT request.
Sends a PATCH request.
The endpoint used to send the request is the ``url`` parameter, while its body
can be passed using ``data`` or ``json`` parameters.
Expand Down

0 comments on commit 0fb17ff

Please sign in to comment.