Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 855 for 400 (0.01 sec)

  1. docs_src/dependencies/tutorial006_an_py39.py

    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 633 bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

     * core properties defined in {@link org.eclipse.aether.artifact.ArtifactProperties}.
     *
     * @see org.eclipse.aether.artifact.ArtifactProperties
     * @since 4.0.0
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    public final class MavenArtifactProperties {
        /**
         * A boolean flag indicating whether the artifact presents some kind of bundle that physically includes its
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/pom.xml

    <?xml version="1.0"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    	<modelVersion>4.0.0</modelVersion>
    	<artifactId>fess-crawler-opensearch</artifactId>
    	<packaging>jar</packaging>
    	<name>Fess Crawler Elasticsearch</name>
    	<parent>
    		<groupId>org.codelibs.fess</groupId>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

     * <p>
     * Note: this component should kick-in last regarding relocations.
     *
     * @since 4.0.0
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Singleton
    @Named(DistributionManagementArtifactRelocationSource.NAME)
    @Priority(5)
    @Deprecated(since = "4.0.0")
    public final class DistributionManagementArtifactRelocationSource implements MavenArtifactRelocationSource {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/config/openapi/openapi-user.yaml

                              type: string
                              example: "10.0"
                            mimetype:
                              type: string
                              example: "text/html"
            '400':
              $ref: '#/components/responses/BadRequest'
            '401':
              $ref: '#/components/responses/Unauthorized'
            '404':
              $ref: '#/components/responses/NotFound'
            '500':
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    @needs_py39
    def test_login_incorrect_username(client: TestClient):
        response = client.post("/token", data={"username": "foo", "password": "secret"})
        assert response.status_code == 400, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    /**
     *
     * @since 4.0.0
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class TransformerException extends Exception {
    
        public TransformerException(Exception e) {
            super(e);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSourceTransformer.java

     *
     * The {@link #transform(Path, TransformerContext, Model)} method uses a Path on purpose, to ensure the
     * local pom is the original source.
     *
     * @since 4.0.0
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelSourceTransformer {
        /**
         *
         * @param pomFile the pom file, cannot be null
         * @param context the context, cannot be null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. docs_src/dependencies/tutorial012_an.py

    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 756 bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCacheFactory.java

    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Default implementation of {@link ModelCacheFactory}.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Singleton
    @Named
    @Deprecated(since = "4.0.0")
    public class DefaultModelCacheFactory implements ModelCacheFactory {
        @Override
        public ModelCache createCache(RepositorySystemSession session) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top