- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 203 for getPost (0.07 seconds)
-
docs_src/custom_request_and_route/tutorial001_py39.py
from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 967 bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java
*/ public abstract class DslReference { /** * The root of the DSL documentation. This is the source of the DSL XML currently. */ public abstract DirectoryProperty getRoot(); /** * The stylesheet directory used by the DSL reference documentation. */ public abstract DirectoryProperty getStylesheetDirectory(); /**Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.9K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial001_an_py310.py
from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1015 bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
// IPv6 literals. HostAndPort parsedHost = HostAndPort.fromString(specifier); Preconditions.checkArgument(!parsedHost.hasPort()); String host = parsedHost.getHost(); // Try to interpret the specifier as an IP address. Note we build // the address rather than using the .is* methods because we want to // use InetAddresses.toUriString to convert the result to a string inCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
RepositorySystemSession session) throws PluginResolutionException { return resolveInternal(plugin, pluginArtifact, dependencyFilter, repositories, session) .getRoot(); } private DependencyResult resolveInternal( Plugin plugin, Artifact pluginArtifact, DependencyFilter dependencyFilter,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 15:32:43 GMT 2025 - 12.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java
this.document = document; stack.addFirst(document.createElement("root")); } List<Element> getElements() { List<Element> elements = new ArrayList<Element>(); for (Node node = stack.getLast().getFirstChild(); node != null; node = node.getNextSibling()) { elements.add((Element) node); } return elements; } public void appendChild(String text) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.8K bytes - Click Count (0) -
cmd/api-router.go
type objectAPIHandlers struct { ObjectAPI func() ObjectLayer } // getHost tries its best to return the request host. // According to section 14.23 of RFC 2616 the Host header // can include the port number if the default value of 80 is not used. func getHost(r *http.Request) string { if r.URL.IsAbs() { return r.URL.Host } return r.Host }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 23.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
* consider using {@code collection.getLast()} instead. * * @return the last element of {@code iterable} * @throws NoSuchElementException if the iterable is empty */ @ParametricNullness public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) { // TODO(kevinb): Support a concurrently modified collection?Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
r.mu.Lock() defer r.mu.Unlock() getDst := func(n int) []byte { if cap(dst) < n { return make([]byte, n) } return dst[:n] } if r.w == r.r { if r.isFull { buf := getDst(r.size) copy(buf, r.buf[r.r:]) copy(buf[r.size-r.r:], r.buf[:r.w]) return buf } return nil } if r.w > r.r { buf := getDst(r.w - r.r) copy(buf, r.buf[r.r:r.w])
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java
private AuthScope getAuthScope() { if (StringUtil.isBlank(getHostname())) { return AuthScope.ANY; } int p; if (getPort() == null) { p = AuthScope.ANY_PORT; } else { p = getPort(); } String r = getAuthRealm(); if (StringUtil.isBlank(r)) { r = AuthScope.ANY_REALM; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Mon Nov 24 04:23:08 GMT 2025 - 6K bytes - Click Count (0)