Flexible version of send HTTP request (#1110)

* Flexible version of send HTTP request

* Fix lint errors
This commit is contained in:
Saniya Fatima 2026-01-30 23:10:47 +05:30 committed by GitHub
parent 94e855bebc
commit 7f70ec18ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,8 +31,9 @@ rule:
- api: winhttp.WinHttpConnect
- and:
- match: send data on socket
- or:
- string: /^(GET|POST|PUT|PATCH|HEAD|DELETE)\s+\/\S*\s+HTTP\/\d+(\.\d+)?/i
- and:
- string: /^(GET|POST|PUT|PATCH|HEAD|DELETE)/i
- string: /HTTP\/1\.\d/i
- and:
- format: dotnet
- or: