Boost logo

Boost :

From: Julien Blanc (julien.blanc_at_[hidden])
Date: 2022-08-24 09:49:39

Le 2022-08-24 10:03, Andrzej Krzemienski via Boost a écrit :
> śr., 24 sie 2022 o 01:37 Vinnie Falco via Boost <boost_at_[hidden]>
> napisał(a):

> This convinces me even further that I might want a type like http_url
> with
> a tighter invariant:
> 1. The port is an optional int
> 2. The query part doesn't have duplicate keys.

Unless i'm mistaken, it is perfectly legal to have duplicate keys in the
query part, even for the http/https scheme. And IIRC that's been (and
probably still is) used by several web frameworks to represent arrays in
GET request. So that would not fit for an http_url invariant.


Boost list run by bdawes at, gregod at, cpdaniel at, john at