- Sort Score
- Result 10 results
- Languages All
Results 2101 - 2110 of 2,709 for option (0.04 sec)
-
docs/zh/docs/tutorial/cors.md
即使它们都在 `localhost` 中,但是它们使用不同的协议或者端口,所以它们都是不同的「源」。 ## 步骤 假设你的浏览器中有一个前端运行在 `http://localhost:8080`,并且它的 JavaScript 正在尝试与运行在 `http://localhost` 的后端通信(因为我们没有指定端口,浏览器会采用默认的端口 `80`)。 然后,浏览器会向后端发送一个 HTTP `OPTIONS` 请求,如果后端发送适当的 headers 来授权来自这个不同源(`http://localhost:8080`)的通信,浏览器将允许前端的 JavaScript 向后端发送请求。 为此,后端必须有一个「允许的源」列表。 在这种情况下,它必须包含 `http://localhost:8080`,前端才能正常工作。 ## 通配符 也可以使用 `"*"`(一个「通配符」)声明这个列表,表示全部都是允许的。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.5K bytes - Viewed (0) -
.github/workflows/lock.yml
name: 'Lock Threads' on: schedule: - cron: '0 0 * * *' workflow_dispatch: permissions: issues: write concurrency: group: lock jobs: action: runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v3 with: github-token: ${{ github.token }} issue-inactive-days: '365' exclude-any-issue-labels: 'do-not-close'
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 30 03:27:43 UTC 2022 - 447 bytes - Viewed (0) -
docs_src/request_files/tutorial003.py
): return {"filenames": [file.filename for file in files]} @app.get("/") async def main(): content = """ <body> <form action="/files/" enctype="multipart/form-data" method="post"> <input name="files" type="file" multiple> <input type="submit"> </form> <form action="/uploadfiles/" enctype="multipart/form-data" method="post"> <input name="files" type="file" multiple> <input type="submit"> </form> </body>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 913 bytes - Viewed (0) -
docs_src/request_files/tutorial003_an.py
): return {"filenames": [file.filename for file in files]} @app.get("/") async def main(): content = """ <body> <form action="/files/" enctype="multipart/form-data" method="post"> <input name="files" type="file" multiple> <input type="submit"> </form> <form action="/uploadfiles/" enctype="multipart/form-data" method="post"> <input name="files" type="file" multiple> <input type="submit"> </form> </body>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 987 bytes - Viewed (0) -
docs/en/docs/advanced/response-cookies.md
And as the `Response` can be used frequently to set headers and cookies, **FastAPI** also provides it at `fastapi.Response`. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
src/buildall.bash
# flag portability issues in builders named "misc-compile" or "all-compile". # As of CL 464955, the build system uses make.bash -compile-only instead, # so this script no longer runs in any automated fashion. # # Options: # -e: stop at first failure if [ ! -f run.bash ]; then echo 'buildall.bash must be run from $GOROOT/src' 1>&2 exit 1 fi sete=false if [ "$1" = "-e" ]; then sete=true shift fi
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Apr 23 17:45:23 UTC 2024 - 2.1K bytes - Viewed (0) -
bin/diff_yaml.py
parser.add_argument("new") parser.add_argument("--ignore-namespace", action="store_true", default=False, help="Ignore namespace during comparison") parser.add_argument("--ignore-labels", action="store_true", default=False, help="Ignore resource labels during comparison") parser.add_argument("--ignore-annotations", action="store_true", default=False,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Mar 03 16:14:57 UTC 2021 - 4.5K bytes - Viewed (0) -
.github/workflows/arm-ci.yml
permissions: contents: read jobs: build: # Don't do this in forks, and if labeled, only for 'kokoro:force-run' if: github.repository == 'tensorflow/tensorflow' && (github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'kokoro:force-run')) runs-on: [self-hosted, linux, ARM64] strategy: matrix: pyver: ['3.10'] steps:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Nov 01 08:40:10 UTC 2024 - 2.2K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java
import org.junit.jupiter.api.io.TempDir; /** * Local UT. */ @Disabled( "The tests reuse properties from the JVM being launched, thus may lead to failures depending on which options are used") public class DefaultLocalMavenInvokerTest extends MavenInvokerTestSupport<MavenOptions, MavenInvokerRequest<MavenOptions>> { @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
import org.codelibs.fess.dict.synonym.SynonymItem; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.RenderDataUtil; import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.response.ActionResponse; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 19.5K bytes - Viewed (0)