You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. httpx has APIs that are really similar to requests. Currently, in B113 (request_without_timeout), bandit only checks that timeouts are set in requests, but not in httpx.
Describe the solution you'd like
Additionally to checking requests in B113, bandit could also check for requests without timeout in httpx.
Describe alternatives you've considered
Implementing a new rule, but since support for httpx has been added in #861, it would probably be more consistent to update the existing B113 rather than implementing a new rule.
Additional context
Implementation is in #1060, if you think that this would be useful to add.
Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
httpx has APIs that are really similar to requests. Currently, in B113 (
request_without_timeout
),bandit
only checks that timeouts are set inrequests
, but not inhttpx
.Describe the solution you'd like
Additionally to checking
requests
inB113
,bandit
could also check for requests without timeout inhttpx
.Describe alternatives you've considered
Implementing a new rule, but since support for
httpx
has been added in #861, it would probably be more consistent to update the existingB113
rather than implementing a new rule.Additional context
Implementation is in #1060, if you think that this would be useful to add.
Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.
The text was updated successfully, but these errors were encountered: