3xx http codes should be treated as errors #613
Labels
Feature Request
Request for new functionality to be added to the driver.
semver-minor
This issue does not require any backwards-incompatible changes to address.
I found out, that during saving documents, the documents weren't saved, even no error was thrown.
Infrastructure:
Arango database is hosted behind the nginx load balancer. Nginx issues certificates and forces https by redirection.
Current behavior:
When arangojs receives 308 response, it doesn't throw an error, even the request hasn't been fulfilled. This behavior is really dangerous because it is easily missed.
Expected behavior
The client should throw an error.
The text was updated successfully, but these errors were encountered: