- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,367 for rhtml (0.02 seconds)
-
docs/en/docs/advanced/custom-response.md
{* ../../docs_src/response_model/tutorial001_01_py310.py ln[15:17] hl[16] *} ## HTML Response { #html-response } To return a response with HTML directly from **FastAPI**, use `HTMLResponse`. * Import `HTMLResponse`. * Pass `HTMLResponse` as the parameter `response_class` of your *path operation decorator*.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/zh/docs/advanced/templates.md
/// /// tip | 提示 通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。 /// /// note | 技术细节 您还可以使用 `from starlette.templating import Jinja2Templates`。 **FastAPI** 的 `fastapi.templating` 只是为开发者提供的快捷方式。实际上,绝大多数可用响应都直接继承自 Starlette。`Request` 与 `StaticFiles` 也一样。 /// ## 编写模板 { #writing-templates } 编写模板 `templates/item.html`,代码如下: ```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3K bytes - Click Count (0) -
README.md
Fess also contains a Crawler, which can crawl documents on a [web server](https://fess.codelibs.org/15.5/admin/webconfig-guide.html), [file system](https://fess.codelibs.org/15.5/admin/fileconfig-guide.html), or [Data Store](https://fess.codelibs.org/15.5/admin/dataconfig-guide.html) (such as a CSV or database). Many file formats are supported including (but not limited to): Microsoft Office, PDF, and zip.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Feb 14 03:19:23 GMT 2026 - 7.8K bytes - Click Count (2) -
src/archive/zip/testdata/readme.zip
is the source code repository for the Go programming language. For documentation about how to install and use Go, visit http://golang.org/ or load doc/install.html in your web browser. After installing Go, you can view a nicely formatted doc/install.html by running godoc --http=:6060 and then visiting http://localhost:6060/doc/install.html. Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file. -- Binary Distribution Notes If you have just...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Sat Jul 11 14:36:33 GMT 2015 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java
final FessConfig fessConfig = createFessConfigWithResponseHeaders("*=X-Def:def\ntext/html=X-Html:htmlval"); FessActionAdjustmentProvider provider = new FessActionAdjustmentProvider(fessConfig); final Map<String, String> headerMap = new HashMap<>(); provider.adjustActionResponseHeaders("text/html", (k, v) -> headerMap.put(k, v)); assertEquals(2, headerMap.size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
// ========= /** * Get the HTML response for the dictionary index page. * @return The HTML response. */ protected HtmlResponse asDictIndexHtml() { return redirect(AdminDictAction.class); } private HtmlResponse asListHtml(final String dictId) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.1K bytes - Click Count (0) -
docs_src/websockets_/tutorial002_an_py310.py
from fastapi import ( Cookie, Depends, FastAPI, Query, WebSocket, WebSocketException, status, ) from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <form action="" onsubmit="sendMessage(event)">
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 2.8K bytes - Click Count (0) -
docs_src/websockets_/tutorial002_py310.py
from fastapi import ( Cookie, Depends, FastAPI, Query, WebSocket, WebSocketException, status, ) from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <form action="" onsubmit="sendMessage(event)">
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
assertEquals(exp, transformer.decodeUrlAsName(url, false)); url = "http://example.com/index.html"; exp = "http://example.com/index.html"; assertEquals(exp, transformer.decodeUrlAsName(url, false)); url = "http://example.com/" + encodeUrl("テスト ") + ".html"; exp = "http://example.com/テスト .html"; assertEquals(exp, transformer.decodeUrlAsName(url, false)); url = "file://C++.doc";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.4K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java
assertNotNull(accessResult2); accessResult2.setMimeType("text/html"); dataService.update(accessResult2); final AccessResult accessResult3 = dataService.getAccessResult("id1", "http://www.id1.com/"); assertNotNull(accessResult3); assertEquals("text/html", accessResult3.getMimeType()); dataService.delete("id1");
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 15.7K bytes - Click Count (0)