Remove Request 'uri' and add Query shorthands #13

Closed
opened 2026-04-29 07:24:37 +02:00 by c.fahner · 2 comments
Owner

Since the information that was intended to be stored in the request URI is already contained within the :scheme, :authority and :path pseudo-headers, this property is no longer necessary. This may also have consequences for the Uri type itself (is it used anywhere else?).

Query arguments should be accessed using the Structured interface on the :path header. A utility class Message\Query should be introduced analogous to #6 and #12.

Since the information that was intended to be stored in the request URI is already contained within the `:scheme`, `:authority` and `:path` pseudo-headers, this property is no longer necessary. This may also have consequences for the `Uri` type itself (is it used anywhere else?). Query arguments should be accessed using the `Structured` interface on the `:path` header. A utility class `Message\Query` should be introduced analogous to #6 and #12.
c.fahner added this to the v0.2 milestone 2026-04-29 07:24:37 +02:00
Author
Owner

Note: update the README when done.

Note: update the README when done.
c.fahner changed title from Remove Request 'uri' property to Remove Request 'uri' and add Query shorthands 2026-04-30 16:30:19 +02:00
Author
Owner

Name should be QueryArgs to be consistent with BodyArgs from #12.

Name should be `QueryArgs` to be consistent with `BodyArgs` from #12.
c.fahner stopped working 2026-05-01 07:01:15 +02:00
6 minutes 21 seconds
c.fahner stopped working 2026-05-06 16:48:27 +02:00
31 minutes 4 seconds
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 37 minutes 25 seconds
c.fahner
37 minutes 25 seconds
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
slendium/http#13
No description provided.