Commit 2a52a4b
committed
deps: Update http to 1.6.0, from 1.5.0
Changelog:
https://pub.dev/packages/http/changelog#160
One breaking change which now omits `charset` parameter for all
media types except for `text` and some `application/xml` types:
https://github.com/dart-lang/http/blob/a22386e9c/pkgs/http/lib/src/request.dart#L18-L31
dart-lang/http#1798
That breaks some of our tests which expect `charset=utf-8` being
present in the `Content-Type` header, so this commit includes a fix
for those tests, simply removing that expectation.
The default charset still remains `utf-8`:
https://github.com/dart-lang/http/blob/a22386e9c/pkgs/http/lib/src/request.dart#L1791 parent 2a09601 commit 2a52a4b
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | | - | |
| 512 | + | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments