janhommes / o.js

o.js - client side oData lib.
https://janhommes.github.io/o.js/example/
MIT License
241 stars 58 forks source link

Batch requests fail when the response code differs from 200 #162

Closed jcmonteiro closed 2 months ago

jcmonteiro commented 3 months ago

The server I connect to responds with 202 instead of 200. Since the response is successful, I'd assume it should be parsed in OBatch.fetch

janhommes commented 2 months ago

Included in release 2.0.1