File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/experimental/semmle/python Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1110,7 +1110,7 @@ module Http {
1110
1110
/** Provides a class for modeling bulk header writes on HTTP responses. */
1111
1111
module ResponseHeaderBulkWrite {
1112
1112
/**
1113
- *sets multiple headers in an HTTP response using a dict.
1113
+ * A data-flow node that sets multiple headers in an HTTP response using a dict.
1114
1114
*
1115
1115
* Extend this class to model new APIs. If you want to refine existing API models,
1116
1116
* extend `ResponseHeaderBulkWrite` instead.
Original file line number Diff line number Diff line change @@ -217,14 +217,14 @@ class SqlEscape extends DataFlow::Node instanceof SqlEscape::Range {
217
217
}
218
218
219
219
/** Provides classes for modeling HTTP Header APIs. */
220
- deprecated module HeaderDeclaration {
220
+ module HeaderDeclaration {
221
221
/**
222
222
* A data-flow node that collects functions setting HTTP Headers.
223
223
*
224
224
* Extend this class to model new APIs. If you want to refine existing API models,
225
225
* extend `HeaderDeclaration` instead.
226
226
*/
227
- abstract deprecated class Range extends DataFlow:: Node {
227
+ abstract class Range extends DataFlow:: Node {
228
228
/**
229
229
* Gets the argument containing the header name.
230
230
*/
@@ -242,8 +242,10 @@ deprecated module HeaderDeclaration {
242
242
*
243
243
* Extend this class to refine existing API models. If you want to model new APIs,
244
244
* extend `HeaderDeclaration::Range` instead.
245
+ *
246
+ * Exists as `Http::Server::ResponseHeaderWrite` in the main concepts library.
245
247
*/
246
- deprecated class HeaderDeclaration extends DataFlow:: Node instanceof HeaderDeclaration:: Range {
248
+ class HeaderDeclaration extends DataFlow:: Node instanceof HeaderDeclaration:: Range {
247
249
/**
248
250
* Gets the argument containing the header name.
249
251
*/
You can’t perform that action at this time.
0 commit comments