eclipse-basyx / basyx-java-server-sdk

MIT License
59 stars 46 forks source link

[BUG] Wrong HTTP-Statuscode On Thumbnail Upload #359

Closed geso02 closed 2 months ago

geso02 commented 3 months ago

When uploading a thumbnail, the return value should be a 204 (No Content) status code. However, a 200 (OK) status code is being returned

See:

https://github.com/eclipse-basyx/basyx-java-server-sdk/blob/main/basyx.aasrepository/basyx.aasrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/http/AasRepositoryApiHTTPController.java#L202

aaronzi commented 3 months ago

Hi Gerhard, good find! If possible, please open a PR with a fix for this :)