ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

Database fails on POST without body #737

Closed dvstans closed 3 years ago

dvstans commented 3 years ago

Apparently the latest version(s) of ArangoDB changed how POST requests without bodies are handled. All DataFed posts without a body are now failing with a "decode" error from the DB; however, using curl from the command line to post the exact same request succeeds. It could be that the Core post code is not setting something to indicate there is no body?

dvstans commented 3 years ago

This is something wrong in libcurl - now have to send an empty body if none is given.