Metadata posts raise exception when 204 not return
Closed this issue · 3 comments
SPlanzer commented
As per the below, When making a metadata post request via the python client an exception is raised each time. This is because the set method ensures all responses are of the 204 status code. The actual response returned is a 200. This also an issue as data has been created and a 201 would be desirable.
This gist can be used to see a 200 is returned
python-client/koordinates/metadata.py
Lines 34 to 35 in e0a6f9e
hamishcampbell commented
SPlanzer commented
@hamishcampbell - Thanks a lot. I will test from source.
SPlanzer commented
Thanks @hamishcampbell Changes are exactly as I expect. - Closed