glpi-project / node-module-glpi

Node client to interact with GLPI API REST
https://glpi-project.github.io/node-module-glpi/
GNU General Public License v3.0
8 stars 9 forks source link

Problems with status 300 #24

Open Gianfranco97 opened 7 years ago

Gianfranco97 commented 7 years ago

I'm submitting a...

Current behavior

Currently a small problem arises when making a request that responds with a redirect (a response with status 300), since it is returned as it is received, without making the additional request to the indicated location. The api of the node core does not handle these behaviors by default when making a request, this I have to do it completely manually or use a third-party library (which I was avoiding).