Closed jansule closed 6 years ago
totally correct. do we need the dl_filepath information at all? apart from that, I can only reproduce this with docker
The filepath should not be exposed and I don't see where it would be needed.
me neither, I'm pretty sure it has come through only accidentally from here: https://github.com/o2r-project/o2r-shipper/blob/c4b2d27750492bb484beb8d4722716ab98533518/shipper.py#L353
When retrieving shipment metadata the response contains an internal filepath
dl_filepath
. This should not be send to the client. Example response ofapi/v1/shipment/<shipmentId>
: