- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for urlpkg (0.51 sec)
-
src/cmd/go/internal/web/bootstrap.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:00:34 UTC 2022 - 691 bytes - Viewed (0) -
src/cmd/go/internal/web/http.go
res.Body = hookCloser{ ReadCloser: body, afterClose: release, } return res, err } var ( fetched *urlpkg.URL res *http.Response err error ) if url.Scheme == "" || url.Scheme == "https" { secure := new(urlpkg.URL) *secure = *url secure.Scheme = "https" res, err = fetch(secure) if err == nil { fetched = secure } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 10 17:34:27 UTC 2023 - 9.7K bytes - Viewed (0) -
src/cmd/go/internal/bug/bug.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package bug implements the “go bug” command. package bug import ( "bytes" "context" "fmt" "io" urlpkg "net/url" "os" "os/exec" "path/filepath" "regexp" "runtime" "strings" "cmd/go/internal/base" "cmd/go/internal/cfg" "cmd/go/internal/envcmd" "cmd/go/internal/web" "cmd/go/internal/work"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 5.7K bytes - Viewed (0) -
src/go/build/vendor_test.go
listCmd := testenv.Command(t, goBin, "list", "std", "cmd") out, err := listCmd.Output() if err != nil { t.Fatal(err) } for _, fullPkg := range strings.Split(string(out), "\n") { pkg, found := strings.CutPrefix(fullPkg, "vendor/") if !found { _, pkg, found = strings.Cut(fullPkg, "/vendor/") if !found { continue } } if !isAllowed(pkg) { t.Errorf(`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 16:29:14 UTC 2024 - 1.9K bytes - Viewed (0) -
docs_src/custom_docs_ui/tutorial001.py
openapi_url=app.openapi_url, title=app.title + " - Swagger UI", oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url, swagger_js_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js", swagger_css_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css", ) @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False) async def swagger_ui_redirect():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 1.1K bytes - Viewed (0) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py
def test_swagger_ui_html(client: TestClient): response = client.get("/docs") assert response.status_code == 200, response.text assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" in response.text assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" in response.text def test_swagger_ui_oauth2_redirect_html(client: TestClient): response = client.get("/docs/oauth2-redirect")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
## Custom CDN for JavaScript and CSS Let's say that you want to use a different <abbr title="Content Delivery Network">CDN</abbr>, for example you want to use `https://unpkg.com/`. This could be useful if for example you live in a country that restricts some URLs. ### Disable the automatic docs The first step is to disable the automatic docs, as by default, those use the default CDN.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/de/docs/how-to/custom-docs-ui-assets.md
## Benutzerdefiniertes CDN für JavaScript und CSS Nehmen wir an, Sie möchten ein anderes <abbr title="Content Delivery Network">CDN</abbr> verwenden, zum Beispiel möchten Sie `https://unpkg.com/` verwenden. Das kann nützlich sein, wenn Sie beispielsweise in einem Land leben, in dem bestimmte URLs eingeschränkt sind. ### Die automatischen Dokumentationen deaktivieren
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 9.2K bytes - Viewed (0)