Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1621 - 1630 of 2,546 for context (0.04 seconds)

  1. tests/test_strict_content_type_app_level.py

        return data
    
    
    client_default = TestClient(app_default)
    client_lax = TestClient(app_lax)
    
    
    def test_default_strict_rejects_no_content_type():
        response = client_default.post("/items/", content='{"key": "value"}')
        assert response.status_code == 422
    
    
    def test_default_strict_accepts_json_content_type():
        response = client_default.post("/items/", json={"key": "value"})
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         * to the target URL or serves file content directly if configured.
         *
         * @param form the go form containing document ID and tracking parameters
         * @return action response for redirection or content streaming
         * @throws IOException if an I/O error occurs during content retrieval
         */
        @Execute
        public ActionResponse index(final GoForm form) throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java

                public void onPhaseComplete(String phase) {
                    events.add("complete:" + phase);
                }
    
                @Override
                public void onChunk(String content, boolean done) {
                    events.add("chunk:" + content + ":" + done);
                }
    
                @Override
                public void onError(String phase, String errorMessage) {
                    events.add("error:" + phase + ":" + errorMessage);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/OsddHelper.java

         *
         * @param encoding the encoding
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
         * Sets the content type.
         *
         * @param contentType the content type
         */
        public void setContentType(final String contentType) {
            this.contentType = contentType;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch_edit.jsp

            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="keyMatch"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. docs/en/mkdocs.yml

        primary: teal
        accent: amber
        toggle:
          icon: material/lightbulb-outline
          name: Switch to system preference
      features:
      - content.code.annotate
      - content.code.copy
      - content.footnote.tooltips
      - content.tabs.link
      - content.tooltips
      - navigation.footer
      - navigation.indexes
      - navigation.instant
      - navigation.instant.prefetch
      - navigation.instant.progress
      - navigation.path
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. tests/test_sse.py

            yield c
    
    
    def test_async_generator_with_model(client: TestClient):
        response = client.get("/items/stream")
        assert response.status_code == 200
        assert response.headers["content-type"] == "text/event-stream; charset=utf-8"
        assert response.headers["cache-control"] == "no-cache"
        assert response.headers["x-accel-buffering"] == "no"
    
        lines = response.text.strip().split("\n")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/SourceSinkFactory.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A test factory for byte or char sources or sinks. In addition to creating sources or sinks, the
     * factory specifies what content should be expected to be read from a source or contained in a sink
     * given the content data that was used to create the source or that was written to the sink.
     *
     * <p>A single {@code SourceSinkFactory} implementation generally corresponds to one specific way of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/custom-response.md

    メインの `Response` クラスで、他のすべてのレスポンスはこれを継承しています。
    
    直接返すことができます。
    
    以下のパラメータを受け付けます。
    
    * `content` - `str` または `bytes`
    * `status_code` - `int` のHTTPステータスコード
    * `headers` - 文字列の `dict`
    * `media_type` - メディアタイプを示す `str`。例: `"text/html"`
    
    FastAPI(実際にはStarlette)は自動的に Content-Length ヘッダーを含めます。また、`media_type` に基づいた Content-Type ヘッダーを含め、テキストタイプには charset を追加します。
    
    {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  10. src/main/webapp/js/login.js

    $(function() {
      var $firstInput = $('input[type="text"],select,textarea', ".login-box,section.content").first();
      var $errorInput = $(".form-group .has-error").first().next("input,select,textarea");
    
      if ($errorInput.length) {
        $errorInput.focus();
      } else {
        $firstInput.focus();
      }
    
      $("section.content input").on("keypress", function(e) {
        if (e.which === 13) {
          var $submitButton = $("input#submit, button#submit");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:12:50 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top