Skip to content

[FEAT] Support for HTTP/2.0+ #542

Description

@NatoBoram

What would you like?

For this app to support HTTP/2.0+.

Additionally, please set a User-Agent, currently this app is using a very generic Dart/3.12 (dart:io).

Why do you want this?

I'm experimenting with blocking HTTP/1.1 since bots mostly use that. This app is not having it.

Which platforms?

  • Android
  • iOS

Examples

Log from my reverse-proxy:

{
	"level": "info",
	"ts": 1782805292.826928,
	"logger": "http.log.access.open-webui.example.org",
	"msg": "handled request",
	"request": {
		"remote_ip": "104.20.26.136",
		"remote_port": "52466",
		"client_ip": "104.20.26.136",
		"proto": "HTTP/1.1",
		"method": "GET",
		"host": "open-webui.example.org",
		"uri": "/health",
		"headers": {
			"Accept-Encoding": ["gzip"],
			"User-Agent": ["Dart/3.12 (dart:io)"]
		},
		"tls": {
			"resumed": false,
			"version": 772,
			"cipher_suite": 4867,
			"proto": "",
			"server_name": "open-webui.example.org",
			"ech": false
		}
	},
	"bytes_read": 0,
	"user_id": "",
	"duration": 0.000058038,
	"size": 0,
	"status": 426,
	"resp_headers": {
		"Strict-Transport-Security": ["max-age=63072000"],
		"Connection": ["Upgrade"],
		"Upgrade": ["HTTP/3.0"],
		"Server": ["Caddy"],
		"Alt-Svc": ["h3=\":443\"; ma=2592000"]
	}
}

How important is this to you?

Can't work without it. If this app had a unique User-Agent, then it would be possible to whitelist it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions