core-wg / href

Other
2 stars 0 forks source link

path [""] == path [] is special to HTTP/CoAP; we should not mandate that #22

Closed cabo closed 2 years ago

cabo commented 2 years ago

This should now be covered by #23

chrysn commented 2 years ago

Brief note on the theme of "maybe we should have done it that way in CoAP as well", because I'm just coming across it: If we had, "Location-Path: /" could be distinguished from not having a Location-Path at all. (Not that it'd be a typical outcome of a POST action, but hey, if the server knows the client will be interacting with a resource a lot, that could be a good short name to use).

Read: I'm growing more and more fond of this.

cabo commented 2 years ago

On 2022-01-24, at 10:19, chrysn @.***> wrote:

"maybe we should have done it that way in CoAP as well”

Indeed. We were trying to emulate HTTP here, and maybe that was a wart we didn’t need to copy. But that is water under the bridge...

Grüße, Carsten