content_disposition 0.1.0
content_disposition: ^0.1.0 copied to clipboard
Cross-platform parser for the HTTP Content-Disposition header. Pure Dart, no dart:io, with RFC 6266 filename and filename* (RFC 5987) support.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add content_dispositionWith Flutter:
$ flutter pub add content_dispositionThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
content_disposition: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:content_disposition/content_disposition.dart';