Skip to content

Commit 4b07a7b

Browse files
committed
Python: Add missing QLDoc for requests
Also fix links
1 parent f37d177 commit 4b07a7b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

python/ql/lib/semmle/python/frameworks/Requests.qll

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ private import semmle.python.frameworks.Stdlib
2020
*
2121
* See
2222
* - https://pypi.org/project/requests/
23-
* - https://docs.python-requests.org/en/latest/
23+
* - https://requests.readthedocs.io/en/latest/
2424
*/
2525
private module Requests {
26+
/**
27+
* An outgoing HTTP request, from the `requests` library.
28+
*
29+
* See https://requests.readthedocs.io/en/latest/api/#requests.request
30+
*/
2631
private class OutgoingRequestCall extends HTTP::Client::Request::Range, API::CallNode {
2732
string methodName;
2833

@@ -82,7 +87,7 @@ private module Requests {
8287
/**
8388
* Provides models for the `requests.models.Response` class
8489
*
85-
* See https://docs.python-requests.org/en/latest/api/#requests.Response.
90+
* See https://requests.readthedocs.io/en/latest/api/#requests.Response.
8691
*/
8792
module Response {
8893
/** Gets a reference to the `requests.models.Response` class. */

0 commit comments

Comments
 (0)