We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3fab4 commit 27a7133Copy full SHA for 27a7133
modules/http.util.md
@@ -45,6 +45,12 @@ print(http_util.dict_to_query({foo = "bar"; baz = "qux"})) --> "baz=qux&foo=bar"
45
### `resolve_relative_path(orig_path, relative_path)` <!-- --> {#http.util.resolve_relative_path}
46
47
48
+### `is_safe_method(method)` <!-- --> {#http.util.is_safe_method}
49
+
50
+Returns a boolean indicating if the passed string `method` is a "safe" method.
51
+See [RFC 7231 section 4.2.1](https://tools.ietf.org/html/rfc7231#section-4.2.1) for more information.
52
53
54
### `scheme_to_port` <!-- --> {#http.util.scheme_to_port}
55
56
Map from schemes (as strings) to default ports (as integers).
0 commit comments