We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4890f commit 5f6cda0Copy full SHA for 5f6cda0
lib/src/command/lish.dart
@@ -5,7 +5,6 @@
5
import 'dart:async';
6
7
import 'package:http/http.dart' as http;
8
-import 'package:http_parser/http_parser.dart' as http_parser;
9
10
import '../ascii_tree.dart' as tree;
11
import '../command.dart';
@@ -88,9 +87,7 @@ class LishCommand extends PubCommand {
88
87
request.followRedirects = false;
89
request.files.add(new http.MultipartFile.fromBytes(
90
'file', packageBytes,
91
- filename: 'package.tar.gz',
92
- contentType: new http_parser.MediaType('application', 'gzip')));
93
-
+ filename: 'package.tar.gz'));
94
var postResponse =
95
await http.Response.fromStream(await client.send(request));
96
0 commit comments