Skip to content

Commit 399b4e2

Browse files
committed
fix: leftover code from http1 copy-pasta
1 parent f4be3a2 commit 399b4e2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/targets/php/http2.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ module.exports = function (source, options) {
2828
code.push(null)
2929
}
3030

31-
if (!~helpers.methods.indexOf(source.method.toUpperCase())) {
32-
code.push(util.format("HttpRequest::methodRegister('%s');", source.method))
33-
}
34-
3531
code.push('$client = new http\\Client;')
3632
code.push('$request = new http\\Client\\Request;')
3733
code.push(null)

0 commit comments

Comments
 (0)