Debian Codegraph @

examples/templates/index.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8"/>
5 <title>aioquic</title>
6 <link rel="stylesheet" href="/style.css"/>
7 </head>
8 <body>
9 <h1>Welcome to aioquic</h1>
10 <p>
11 This is a test page for <a href="https://github.com/aiortc/aioquic/">aioquic</a>,
12 a QUIC and HTTP/3 implementation written in Python.
13 </p>
14 {% if request.scope["http_version"] == "3" %}
15 <p>
16 Congratulations, you loaded this page using HTTP/3!
17 </p>
18 {% endif %}
19 <h2>Available endpoints</h2>
20 <ul>
21 <li><strong>GET /</strong> returns the homepage</li>
22 <li><strong>GET /NNNNN</strong> returns NNNNN bytes of plain text</li>
23 <li><strong>POST /echo</strong> returns the request data</li>
24 <li>
25 <strong>CONNECT /ws</strong> runs a WebSocket echo service.
26 You must set the <em>:protocol</em> pseudo-header to <em>"websocket"</em>.
27 </li>
28 <li>
29 <strong>CONNECT /wt</strong> runs a WebTransport echo service.
30 You must set the <em>:protocol</em> pseudo-header to <em>"webtransport"</em>.
31 </li>
32 </ul>
33 </body>
34 </html>