Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,636 for _context (0.46 seconds)

  1. .github/workflows/label-approved.yml

      workflow_dispatch:
    
    permissions:
      pull-requests: write
    
    jobs:
      label-approved:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        steps:
        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v6
        - name: Set up Python
          uses: actions/setup-python@v6
          with:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/custom-response.md

    主要的 `Response` 類別,其他回應皆繼承自它。
    
    你也可以直接回傳它。
    
    它接受以下參數:
    
    - `content` - `str` 或 `bytes`。
    - `status_code` - `int` 類型的 HTTP 狀態碼。
    - `headers` - 由字串組成的 `dict`。
    - `media_type` - 描述 media type 的 `str`。例如 `"text/html"`。
    
    FastAPI(實際上是 Starlette)會自動包含 Content-Length 標頭。也會根據 `media_type`(並為文字型別附加 charset)包含 Content-Type 標頭。
    
    {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. .github/workflows/latest-changes.yml

            required: false
            default: 'false'
    
    jobs:
      latest-changes:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          # pin to actions/checkout@v5 for compatibility with latest-changes
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 14:58:32 GMT 2025
    - 1.4K bytes
    - Click Count (1)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryFactory.java

    import org.apache.maven.cling.invoker.LookupContext;
    import org.jline.console.CommandRegistry;
    
    public interface ShellCommandRegistryFactory {
        CommandRegistry createShellCommandRegistry(LookupContext context);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.action.admin.cluster.node.stats.NodesStatsResponse;
    import org.opensearch.common.xcontent.XContentFactory;
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.monitor.jvm.JvmStats;
    import org.opensearch.monitor.jvm.JvmStats.BufferPool;
    import org.opensearch.monitor.jvm.JvmStats.Classes;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. docs_src/additional_responses/tutorial003_py310.py

        "/items/{item_id}",
        response_model=Item,
        responses={
            404: {"model": Message, "description": "The item was not found"},
            200: {
                "description": "Item requested by ID",
                "content": {
                    "application/json": {
                        "example": {"id": "bar", "value": "The bar tenders"}
                    }
                },
            },
        },
    )
    async def read_item(item_id: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 837 bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

        /**
         * Method interpolatedTrimmed.
         *
         * @param value a value object.
         * @param context a context object.
         * @return String
         */
        private String interpolatedTrimmed(String value, String context) {
            return getTrimmedValue(contentTransformer.transform(value, context));
        } // -- String interpolatedTrimmed( String, String )
    
        /**
         * Method nextTag.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/duplicatehost/admin_duplicatehost_details.jsp

            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="duplicateHost"/>
        </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
    - 4.4K bytes
    - Click Count (0)
  9. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

          return new MockResponse()
              .setStatus("HTTP/1.1 404")
              .addHeader("content-type: text/plain; charset=utf-8")
              .setBody("NOT FOUND: " + path);
        } catch (IOException e) {
          return new MockResponse()
              .setStatus("HTTP/1.1 500")
              .addHeader("content-type: text/plain; charset=utf-8")
              .setBody("SERVER ERROR: " + e);
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            if (count <= 0) {
                return;
            }
    
            final String content = getHtmlContent(count);
    
            final File indexFile = new File(dir, "index.html");
            indexFile.deleteOnExit();
            FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8"));
    
            for (int i = 1; i <= 10; i++) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 5.5K bytes
    - Click Count (0)
Back to Top