QLformatting

This commit is contained in:
Kevin Stubbings
2024-09-03 15:54:06 -07:00
parent bd2564ee44
commit 6efb3c69ef

View File

@@ -84,8 +84,10 @@ module Bottle {
}
}
module Header {
API::Node instance() { result = bottle().getMember("response").getMember("headers") }
/** Provides models for the `bottle.headers` module */
module Headers {
/** Gets a reference to the `bottle.headers` module. */
API::Node headers() { result = bottle().getMember("response").getMember("headers") }
/** A dict-like write to a response header. */
class HeaderWriteSubscript extends Http::Server::ResponseHeaderWrite::Range, DataFlow::Node {
@@ -94,7 +96,7 @@ module Bottle {
HeaderWriteSubscript() {
exists(API::Node holder |
holder = instance() and
holder = headers() and
this = holder.asSource() and
value = holder.getSubscriptAt(name)
)