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 {
11101110 /** Provides a class for modeling bulk header writes on HTTP responses. */
11111111 module ResponseHeaderBulkWrite {
11121112 /**
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.
11141114 *
11151115 * Extend this class to model new APIs. If you want to refine existing API models,
11161116 * 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 {
217217}
218218
219219/** Provides classes for modeling HTTP Header APIs. */
220- deprecated module HeaderDeclaration {
220+ module HeaderDeclaration {
221221 /**
222222 * A data-flow node that collects functions setting HTTP Headers.
223223 *
224224 * Extend this class to model new APIs. If you want to refine existing API models,
225225 * extend `HeaderDeclaration` instead.
226226 */
227- abstract deprecated class Range extends DataFlow:: Node {
227+ abstract class Range extends DataFlow:: Node {
228228 /**
229229 * Gets the argument containing the header name.
230230 */
@@ -242,8 +242,10 @@ deprecated module HeaderDeclaration {
242242 *
243243 * Extend this class to refine existing API models. If you want to model new APIs,
244244 * extend `HeaderDeclaration::Range` instead.
245+ *
246+ * Exists as `Http::Server::ResponseHeaderWrite` in the main concepts library.
245247 */
246- deprecated class HeaderDeclaration extends DataFlow:: Node instanceof HeaderDeclaration:: Range {
248+ class HeaderDeclaration extends DataFlow:: Node instanceof HeaderDeclaration:: Range {
247249 /**
248250 * Gets the argument containing the header name.
249251 */
You can’t perform that action at this time.
0 commit comments