context.Orion-LD icon indicating copy to clipboard operation
context.Orion-LD copied to clipboard

Orion-ld should return the Location of a new entity encoded as described in RFC 3986

Open jicarretero opened this issue 1 year ago • 0 comments

When I post a new entity to the context broker, it returns in the Location header the relative path to the entity: /ngsi-ld/v1/entities/<uri_for_entity> -- As the entity name can contain reserved characters in RFC 3986, so it could be nice to encode the characters accordingly -- Basically:

! # $ & ' ( ) * + , / : ; = ? @ [ ]
%21 %23 %24 %26 %27 %28 %29 %2A %2B %2C %2F %3A %3B %3D %3F %40 %5B %5D %20

jicarretero avatar Jan 11 '24 12:01 jicarretero