MCPcopy
hub / github.com/arduino/Arduino / options

Function options

arduino-core/src/processing/app/i18n/python/requests/api.py:58–66  ·  view source on GitHub ↗

Sends a OPTIONS request. Returns :class:`Response` object. :param url: URL for the new :class:`Request` object. :param \*\*kwargs: Optional arguments that ``request`` takes.

(url, **kwargs)

Source from the content-addressed store, hash-verified

56
57
58def options(url, **kwargs):
59 """Sends a OPTIONS request. Returns :class:`Response` object.
60
61 :param url: URL for the new :class:`Request` object.
62 :param \*\*kwargs: Optional arguments that ``request`` takes.
63 """
64
65 kwargs.setdefault('allow_redirects', True)
66 return request('options', url, **kwargs)
67
68
69def head(url, **kwargs):

Callers

nothing calls this directly

Calls 2

requestFunction · 0.85
setdefaultMethod · 0.80

Tested by

no test coverage detected