schttp 5.0.1
schttp: ^5.0.1 copied to clipboard
A simple HTTP client supporting a cache.
5.0.1 #
- A doc comment for
SCacheClient. lints 5.
5.0.0 #
- Added
SCacheClient - Removed
forceCacheandforceBinCache; useSCacheClientinstead - Everything now uses
bomto figure out the charset if it isn't provided directly - All
headersgiven are now respected (HttpHeaders.setinstead ofHttpHeaders.add) - The caching helpers now also get the
headers - Use
testedfor testing
4.1.0 #
- Added support for custom
headerstogetBinandgetBinUri
4.0.0 #
- A better API for
postandpostUri readCacheandwriteCachenow default totrueingetBinandgetBinUri- Missing
ttls now get passed onto theget cachefunctions, so you can handle them yourself - Added
getPostCacheandsetPostCacheto also outsource the id generation - Adjusted the caching APIs to operate on
Uris instead ofStrings for urls - Changed the charset matching behavior to make more sense for most use-cases
3.3.0 #
getBinCache,setBinCacheandforceBinCachefor opt-in binary cachingdefaultCharsetandforcedCharsetfor better charset matching (useful for dealing with weird servers)
3.2.1 #
- Switched from
dart:iotouniversal_ioto support Web apps
3.2.0 #
- Added support for custom
headerstogetandgetUri
3.1.0 #
- Added
forceCacheto force caching even though some library might not want you to
3.0.0 #
- Added support for Proxies and custom User Agents
- Made
getCacheandsetCachenamed parameters instead of positional ones - Added
getBinandgetBinUrifor binary data
2.0.0 #
- Renamed
gettogetUri - Renamed
posttopostUri - Added
get - Added
post
1.1.0 #
- Made
getCacheandsetCachenon-nullable (if this breaks your code, your code's wrong) - Added readCache and writeCache parameters to disable caching dynamically
1.0.0-nullsafety.0 #
- Null-safety
0.2.0 #
- Support for using US-ASCII and Latin-1 when the server sends it.
0.1.0 #
- Initial release: copied from Amplessimus, can GET and POST text with caching