Perry Mitchell

Results 711 comments of Perry Mitchell

I'd be happy to support such features, under the condition that the API is clear and concise and that tests are provided alongside. I'd happy accept a PR that covers...

Thanks for reporting this - I'd like to make a few things clear in terms of the position of this library: * Prototype pollution/modification is bad and should be avoided...

There is not, but I'd happily accept a PR adding this as an optional feature.

I'd absolutely be open to this.. it was the eventual intention. I'd happily accept a PR. I'd get to it eventually but not sure how long that might be 😅

I had planned to switch to fetch over axios/XHR, so I wouldn't rule this out. If you feel like contributing I would consider a PR that: * Switches axios =>...

@lazka Hmm, I wasn't aware that anyone had tried to use a file object to upload some data :sweat_smile: - But it makes sense to me. You could simply `const...

@ashil5834 Please add an example of where you think it should fail.

Ok, so that example (while mixing promises and callbacks) doesn't exactly indicate a potential failure. The promise should fail if there's a permissions issue. Try using async/await notation a bit...

> the browser tells that it could not set the unsafe header Content-Length Then it didn't set the header - therefore it can't be the reason it succeeded. That's why...

Thanks! It seems like [SabreDAV supports this](https://sabre.io/dav/http-patch/), though I'm not sure about other WebDAV servers. I'd accept a PR for this.