Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 2,233 for _interval (0.05 sec)

  1. docs/ja/docs/advanced/custom-response.md

    # カスタムレスポンス - HTML、ストリーム、ファイル、その他のレスポンス
    
    デフォルトでは、**FastAPI** は `JSONResponse` を使ってレスポンスを返します。
    
    [レスポンスを直接返す](response-directly.md){.internal-link target=_blank}で見たように、 `Response` を直接返すことでこの挙動をオーバーライドできます。
    
    しかし、`Response` を直接返すと、データは自動的に変換されず、ドキュメントも自動生成されません (例えば、生成されるOpenAPIの一部としてHTTPヘッダー `Content-Type` に特定の「メディアタイプ」を含めるなど) 。
    
    しかし、*path operationデコレータ* に、使いたい `Response` を宣言することもできます。
    
    *path operation関数* から返されるコンテンツは、その `Response` に含まれます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.ProjectBuildingRequest;
    import org.apache.maven.properties.internal.EnvironmentUtils;
    import org.apache.maven.properties.internal.SystemProperties;
    import org.apache.maven.repository.internal.MavenWorkspaceReader;
    import org.apache.maven.repository.legacy.metadata.DefaultMetadataResolutionRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. internal/etag/etag.go

    	"crypto/hmac"
    	"crypto/md5"
    	"encoding/base64"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/sio"
    )
    
    // ETag is a single S3 ETag.
    //
    // An S3 ETag sometimes corresponds to the MD5 of
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.authenticator
    
    import java.io.IOException
    import java.net.Authenticator
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import okhttp3.Credentials
    import okhttp3.Dns
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
      return directories.flatMap {
        it.listFiles().orEmpty().filter { f -> f.isFile }.toList()
      }
    }
    
    internal class MainTestProvider : SimpleProvider() {
      override fun arguments(): List<Any> {
        val mainFiles = mainFiles()
        return mainFiles.map {
          val suffix = it.path.replace("${prefix}samples/guide/src/main/java/", "")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/BufferCacheImpl.java

     */
    
    package jcifs.smb;
    
    
    import java.util.Arrays;
    
    import jcifs.BufferCache;
    import jcifs.Configuration;
    
    
    /**
     * Cache for reusable byte buffers
     * 
     * @internal
     */
    public class BufferCacheImpl implements BufferCache {
    
        private final Object[] cache;
        private final int bufferSize;
        private int freeBuffers = 0;
    
    
        /**
         * 
         * @param cfg
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 24 11:40:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. docs/fr/docs/advanced/additional-status-codes.md

    (la documentation de l'API), car FastAPI n'a aucun moyen de savoir à l'avance ce que vous allez renvoyer.
    
    Mais vous pouvez documenter cela dans votre code, en utilisant : [Réponses supplémentaires dans OpenAPI](additional-responses.md){.internal-link target=_blank}....
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/response-cookies.md

    Você também pode criar cookies ao retornar uma `Response` diretamente no seu código.
    
    Para fazer isso, você pode criar uma resposta como descrito em [Retornando uma Resposta Diretamente](response-directly.md){.internal-link target=_blank}.
    
    Então, defina os cookies nela e a retorne:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import java.lang.reflect.Field;
    
    import org.eclipse.aether.RepositoryEvent;
    import org.eclipse.aether.RepositoryEvent.EventType;
    import org.eclipse.aether.artifact.DefaultArtifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top