Skip to content

Commit cae65bc

Browse files
authored
feat: add redaxios.head() alias (#60)
1 parent e624733 commit cae65bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export default (function create(/** @type {Options} */ defaults) {
8181
/** @public @type {BodylessMethod} */
8282
redaxios.delete = (url, config) => redaxios(url, config, 'delete');
8383

84+
/** @public @type {BodylessMethod} */
85+
redaxios.head = (url, config) => redaxios(url, config, 'head');
86+
8487
/** @public @type {BodylessMethod} */
8588
redaxios.options = (url, config) => redaxios(url, config, 'options');
8689

0 commit comments

Comments
 (0)