pocketbase / dart-sdk

PocketBase Dart SDK
https://pub.dev/packages/pocketbase
MIT License
511 stars 51 forks source link

Fix: send ClientException if target server replies with 301 or 308 #60

Closed gOATiful closed 3 months ago

gOATiful commented 3 months ago

Handles #59.

The fix might not be up to the HTTP standard, but the caller should be able to act upon receiving 301 Moved Permanently or 308 Permanent Redirect

ganigeorgiev commented 3 months ago

I don't think the suggested proposal is OK. I'll think a little more on it after the refactoring as there also new APIs related to the new batch operations.