wo_http 0.1.4
wo_http: ^0.1.4 copied to clipboard
Opinionated HTTP toolkit for Flutter with interceptors, retry, auth refresh, typed results, and multi-client support.
Changelog #
0.1.4 #
- Fixed disabled logging so explicitly provided default logging interceptors are skipped when
enableLoggingisfalse. - Added coverage for
WoDataClientFactorylogging interceptor filtering.
0.1.3 #
- Added automatic Content-Type inference for
WoUploadFilebased on common image and audio extensions. - Integrated inferred
contentTypeintoWoDefaultHttpApiClientmultipart uploads. - Added tests for
WoUploadFilecontent-type logic.
0.1.2 #
- Added
retryOnlyGettoWoDataClientDefinitionwith defaulttrue. - Added
retryableStatusCodestoWoDataClientDefinitionwith default{0, 408, 429, 500, 502, 503, 504}. - Wired factory retry configuration into
WoDefaultRetryHttpInterceptorfor per-client retry policy.
0.1.1 #
- Apply error adapter only for HTTP status codes below
500. - Return a generic server message for
5xxresponses.
0.1.0 #
- Initial public release of
wo_http. - Added
WoDefaultHttpApiClientwith typed result wrappers. - Added request/response/error interceptor pipeline.
- Added default retry and auth refresh interceptors.
- Added multi-client factory and lightweight data registry.
- Added multipart upload support and default error adapter.