Skip to content

MissingConnectPort

[Source]

A CONNECT request-target lacks the required port.

RFC 9112 §3.2 defines authority-form = uri-host ":" port, and RFC 9110 §9.3.6 requires a CONNECT request-target to carry the host and port of the tunnel destination. A target with no port — whether the colon is absent (example.com) or the port is empty (example.com:) — does not satisfy the grammar and is a 400. Distinct from InvalidURI, which covers RFC 3986 structural parse failure: a portless authority parses fine under RFC 3986 and fails only the HTTP authority-form requirement.

primitive val MissingConnectPort

Constructors

create

[Source]

new val create()
: MissingConnectPort val^

Returns


Public Functions

string

[Source]

fun box string()
: String iso^

Returns


eq

[Source]

fun box eq(
  that: MissingConnectPort val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: MissingConnectPort val)
: Bool val

Parameters

Returns