Skip to content

Commit 7f70ec1

Browse files
Flexible version of send HTTP request (#1110)
* Flexible version of send HTTP request * Fix lint errors
1 parent 94e855b commit 7f70ec1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

communication/http/client/send-http-request.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ rule:
3131
- api: winhttp.WinHttpConnect
3232
- and:
3333
- match: send data on socket
34-
- or:
35-
- string: /^(GET|POST|PUT|PATCH|HEAD|DELETE)\s+\/\S*\s+HTTP\/\d+(\.\d+)?/i
34+
- and:
35+
- string: /^(GET|POST|PUT|PATCH|HEAD|DELETE)/i
36+
- string: /HTTP\/1\.\d/i
3637
- and:
3738
- format: dotnet
3839
- or:

0 commit comments

Comments
 (0)