CenterForDigitalHumanities / TinyNode

TinyThings in NodeJS
0 stars 1 forks source link

Add `Location` Header #88

Open thehabes opened 4 months ago

thehabes commented 4 months ago

The RERUM API states that update and overwrite requests will contain a Location header whose value is the @id of the object generated by the RERUM update.

At this time, the response to the TinyNode /update and /overwrite do not include a Location header. TinyNode does not promise such headers will be present on requests, but it would be nice to throughput as much of the RERUM functionality as is appropriate, and the Location header should be there.

Note that the TinyNode /create endpoint response DOES contain a Location header.