Skip to content

Commit a88d078

Browse files
committed
Add support for HTTPie
1 parent 446bba4 commit a88d078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/util/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const { Readable } = require('stream');
22

33
const isCommandline = (userAgent) => {
4-
return (userAgent.search(/curl|wget/i) !== -1);
4+
return (userAgent.search(/curl|wget|httpie/i) !== -1);
55
};
66

77
const getStream = (req, res) => {

0 commit comments

Comments
 (0)