- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,600 for that (0.04 sec)
-
docs/en/docs/advanced/security/http-basic-auth.md
`secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`. To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8. Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`.
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-26 16:01 - 4.8K bytes - Viewed (0) -
docs/en/docs/async.md
### Is concurrency better than parallelism? Nope! That's not the moral of the story. Concurrency is different than parallelism. And it is better on **specific** scenarios that involve a lot of waiting. Because of that, it generally is a lot better than parallelism for web application development. But not for everything. So, to balance that out, imagine the following short story:
Registered: 2024-11-03 07:19 - Last Modified: 2024-08-28 23:33 - 23.5K bytes - Viewed (0) -
common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto
// // The value of this field can be more than 100, implying that this // priority level can borrow a number of seats that is greater than // its own nominal concurrency limit (NominalCL). // When this field is left `nil`, the limit is effectively infinite. // +optional optional int32 borrowingLimitPercent = 4; } // NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the
Registered: 2024-11-06 22:53 - Last Modified: 2024-03-11 18:43 - 19.4K bytes - Viewed (0) -
mockwebserver/README.md
HttpUrl baseUrl = server.url("/v1/chat/"); // Exercise your application code, which should make those HTTP requests. // Responses are returned in the same order that they are enqueued. Chat chat = new Chat(baseUrl); chat.loadMore(); assertEquals("hello, world!", chat.messages()); chat.loadMore(); chat.loadMore(); assertEquals("" + "hello, world!\n" + "sup, bra?\n"
Registered: 2024-11-01 11:42 - Last Modified: 2023-12-17 15:34 - 5K bytes - Viewed (0) -
common-protos/k8s.io/api/policy/v1beta1/generated.proto
// seLinux is the strategy that will dictate the allowable labels that may be set. optional SELinuxStrategyOptions seLinux = 10; // runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. optional RunAsUserStrategyOptions runAsUser = 11; // RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.
Registered: 2024-11-06 22:53 - Last Modified: 2024-03-11 18:43 - 19.6K bytes - Viewed (0) -
docs/en/docs/alternatives.md
Routes are declared in a single place, using functions declared in other places (instead of using decorators that can be placed right on top of the function that handles the endpoint). This is closer to how Django does it than to how Flask (and Starlette) does it. It separates in the code things that are relatively tightly coupled.
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-20 19:20 - 23.2K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
You probably want to test the external provider once, but not necessarily call it for every test that runs. In this case, you can override the dependency that calls that provider, and use a custom dependency that returns a mock user, only for your tests. ### Use the `app.dependency_overrides` attribute
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 2.9K bytes - Viewed (0) -
LICENSE
you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid
Registered: 2024-11-03 00:10 - Last Modified: 2016-01-18 20:25 - 25.8K bytes - Viewed (0) -
licenses/github.com/hashicorp/go-multierror/LICENSE
a. any file in Source Code Form that results from an addition to, deletion from, or modification of the contents of Covered Software; or b. any new file in Source Code Form that contains any Covered Software. 1.11. “Patent Claims” of a Contributor means any patent claim(s), including without limitation, method, process, and apparatus claims, in any patent Licensable by such Contributor that
Registered: 2024-11-06 22:53 - Last Modified: 2019-10-26 02:47 - 15.6K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
We also verify that we have a user with that username, and if not, we raise that same exception we created before. {* ../../docs_src/security/tutorial005_an_py310.py hl[47,117:128] *} ## Verify the `scopes` We now verify that all the scopes required, by this dependency and all the dependants (including *path operations*), are included in the scopes provided in the token received, otherwise raise an `HTTPException`.
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-29 11:02 - 13.1K bytes - Viewed (0)