issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"dart-lang",
"http"
] | Dear all,
In my flutter app, I am fetching .bin file which is a purely binary file from Amazon S3 bucket.
but not able to process request.body because it is in (_OneByteString) format. When tried to save in List<int>, it throws an exception.
Please let us know how to handle .bin files data from flutter HTTP pa... | Unable to process .bin file from the server | https://api.github.com/repos/dart-lang/http/issues/273/comments | 1 | 2019-05-04T11:10:22Z | 2019-05-06T08:50:01Z | https://github.com/dart-lang/http/issues/273 | 440,311,969 | 273 |
[
"dart-lang",
"http"
] | When i download image from server, i want followRedirects, but throw exception on some unique redirects url. How could i intercept every redirect? Like Interceptor and NetworkInterceptor in okhttp. | Listen to redirect | https://api.github.com/repos/dart-lang/http/issues/271/comments | 1 | 2019-04-28T17:33:03Z | 2019-04-29T08:36:10Z | https://github.com/dart-lang/http/issues/271 | 438,080,689 | 271 |
[
"dart-lang",
"http"
] | How to fix the error?
I have been used The Library => **web_socket_channel: ^1.0.12** ([Library Link](https://pub.dartlang.org/packages/web_socket_channel#-readme-tab-))
Error Output
> WebSocketChannelException: WebSocketChannelException: HttpException: Connection closed before full header was received, uri = h... | Header Error => Connection closed before full header was received. | https://api.github.com/repos/dart-lang/http/issues/1596/comments | 6 | 2019-04-26T23:00:47Z | 2025-01-22T16:04:43Z | https://github.com/dart-lang/http/issues/1596 | 2,804,778,258 | 1,596 |
[
"dart-lang",
"http"
] | # enviroment
* windows 10
* dart 2.2.1
* http 0.12.0+2
# code
```dart
import 'package:http/http.dart' as http;
void test() async {
final url = 'http://webpac.ksml.edu.tw/maintain/bookDetailAssdataAjax.do?id=1283659&viewDetailType=Details';
final ret = await http.get(url);// hang here
print(ret.sta... | http.get hang no response | https://api.github.com/repos/dart-lang/http/issues/270/comments | 14 | 2019-04-21T14:42:48Z | 2020-02-05T16:54:41Z | https://github.com/dart-lang/http/issues/270 | 435,516,319 | 270 |
[
"dart-lang",
"http"
] | I use custom User-Agent to pass app version/distribution info to the server, and encountered an issue today.
The User-Agent configured in request headers will become the default one(ie: `Dart/2.2 (dart:io)`) after redirect.
Here is a [reproduce gist](https://gist.github.com/dolphinxx/aeb312dada9134110a8b2b41f6e811d0) | Custom User-Agent lost after redirect | https://api.github.com/repos/dart-lang/http/issues/268/comments | 2 | 2019-04-19T16:39:06Z | 2019-04-20T01:20:13Z | https://github.com/dart-lang/http/issues/268 | 435,235,312 | 268 |
[
"dart-lang",
"http"
] | Is there any way to use badCertificateCallback with this package? I am using an api for get/post requests and it throws error "CERTIFICATE_VERIFY_FAILED" when I use http package post or get method, but when HttpClient is used with badCertificateCallback method set to true api responds properly. How can I use http pack... | CERTIFICATE_VERIFY_FAILED | https://api.github.com/repos/dart-lang/http/issues/267/comments | 8 | 2019-04-12T11:23:25Z | 2020-10-28T10:01:27Z | https://github.com/dart-lang/http/issues/267 | 432,518,007 | 267 |
[
"dart-lang",
"http"
] | The Code is:
void _requestArticleIDList () async {
var url = 'https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty';
var response = await http.get(url);
if (response.statusCode != 200 ) {
return;
}
}
The Result I Get
E/flutter ( 5470): [ERROR:flutte... | http.get : SocketException | https://api.github.com/repos/dart-lang/http/issues/264/comments | 4 | 2019-04-09T11:02:23Z | 2019-04-12T12:17:18Z | https://github.com/dart-lang/http/issues/264 | 430,904,916 | 264 |
[
"dart-lang",
"http"
] | How to reconnect when the client is offline? | How to reconnect when the client is offline? | https://api.github.com/repos/dart-lang/http/issues/1595/comments | 0 | 2019-04-08T09:06:42Z | 2025-01-22T16:04:43Z | https://github.com/dart-lang/http/issues/1595 | 2,804,778,216 | 1,595 |
[
"dart-lang",
"http"
] | How to reconnect when the client is offline? | How to reconnect when the client is offline? | https://api.github.com/repos/dart-lang/http/issues/1594/comments | 0 | 2019-04-08T09:06:29Z | 2025-01-22T16:04:41Z | https://github.com/dart-lang/http/issues/1594 | 2,804,778,185 | 1,594 |
[
"dart-lang",
"http"
] | How to reconnect when the client is offline? | How to reconnect when the client is offline? | https://api.github.com/repos/dart-lang/http/issues/1593/comments | 0 | 2019-04-08T09:06:04Z | 2025-01-22T16:04:31Z | https://github.com/dart-lang/http/issues/1593 | 2,804,777,768 | 1,593 |
[
"dart-lang",
"http"
] | How to reconnect when the client is offline? | How to reconnect when the client is offline? | https://api.github.com/repos/dart-lang/http/issues/1592/comments | 0 | 2019-04-08T09:05:56Z | 2025-01-22T16:04:31Z | https://github.com/dart-lang/http/issues/1592 | 2,804,777,754 | 1,592 |
[
"dart-lang",
"http"
] | How to reconnect when the client is offline? | How to reconnect when the client is offline? | https://api.github.com/repos/dart-lang/http/issues/1591/comments | 0 | 2019-04-08T09:05:47Z | 2025-01-22T16:04:30Z | https://github.com/dart-lang/http/issues/1591 | 2,804,777,738 | 1,591 |
[
"dart-lang",
"http"
] | How to reconnect when the client is offline? | How to reconnect when the client is offline? | https://api.github.com/repos/dart-lang/http/issues/1590/comments | 0 | 2019-04-08T09:05:35Z | 2025-01-22T16:04:30Z | https://github.com/dart-lang/http/issues/1590 | 2,804,777,717 | 1,590 |
[
"dart-lang",
"http"
] | How to reconnect when the client is offline? | How to reconnect when the client is offline? | https://api.github.com/repos/dart-lang/http/issues/1589/comments | 2 | 2019-04-08T09:05:26Z | 2025-01-22T16:04:46Z | https://github.com/dart-lang/http/issues/1589 | 2,804,777,703 | 1,589 |
[
"dart-lang",
"http"
] | A tcp-socket can be closed in one direction (the client can close one direction after it is done sending the request, and still listen for more response).
We should support this in package:http2.
Currently this program:
```dart
import 'dart:io';
import 'dart:async';
import 'dart:isolate';
import 'package:http2... | Support for half-open connections | https://api.github.com/repos/dart-lang/http/issues/1358/comments | 0 | 2019-04-01T13:59:30Z | 2024-10-18T09:08:00Z | https://github.com/dart-lang/http/issues/1358 | 2,596,930,658 | 1,358 |
[
"dart-lang",
"http"
] | In the pub repo, it shows no WEB tag. But it has `HtmlWebSocketChannel` class. Does it mean it supports angulardart? Thanks.

Btw, I don't know why it removes `headers` argume... | Does it support angulardart? If yes, why no WEB tag in pub repo? | https://api.github.com/repos/dart-lang/http/issues/1588/comments | 2 | 2019-03-26T06:46:49Z | 2025-01-22T16:04:29Z | https://github.com/dart-lang/http/issues/1588 | 2,804,777,673 | 1,588 |
[
"dart-lang",
"http"
] | If i make a long time post with MultipartRequest class i get a SocketException after 70 seconds
Setting timeouts have no effect.
**Exception:**
SocketException: OS Error: Software caused connection abort, errno = 103, address = 192.168.1.1, port = 54136
**Codesnippet:**
```
final Uri url = ......
Multipa... | SocketException after long time POST | https://api.github.com/repos/dart-lang/http/issues/262/comments | 14 | 2019-03-22T14:28:41Z | 2024-11-11T13:48:33Z | https://github.com/dart-lang/http/issues/262 | 424,236,746 | 262 |
[
"dart-lang",
"http"
] | Unexpected response caching | https://api.github.com/repos/dart-lang/http/issues/260/comments | 1 | 2019-03-18T14:12:37Z | 2019-03-19T09:55:45Z | https://github.com/dart-lang/http/issues/260 | 422,240,011 | 260 | |
[
"dart-lang",
"http"
] | Throws ClientExeption if I try connecting to localhost '10.0.2.2' but works fine with other urls | https://api.github.com/repos/dart-lang/http/issues/259/comments | 3 | 2019-03-16T12:36:36Z | 2019-04-16T23:07:22Z | https://github.com/dart-lang/http/issues/259 | 421,802,900 | 259 | |
[
"dart-lang",
"http"
] | I have not been able to implement a multiplatform websocket with this package. I see no code examples to assist in the process. The only thing I can figure is that we're supposed to create a platform specific socket channel and pass it to WebSocketChannel.
It's basically gone like this so far:
1) Oh hey, I'm goi... | Provide concrete example of multiplatform websocket | https://api.github.com/repos/dart-lang/http/issues/1587/comments | 2 | 2019-03-15T22:35:18Z | 2025-01-22T16:04:29Z | https://github.com/dart-lang/http/issues/1587 | 2,804,777,651 | 1,587 |
[
"dart-lang",
"http"
] | When building an app in release mode, the INTERNET permission needs to be added to the AndroidManifest.xml under `android/app/src/main/`
It already exists in `android/app/src/`, but it also needs to go in the main manifest.
`<uses-permission android:name="android.permission.INTERNET" />` | Documentation Update Needed | https://api.github.com/repos/dart-lang/http/issues/258/comments | 2 | 2019-03-15T17:54:09Z | 2019-03-17T02:01:27Z | https://github.com/dart-lang/http/issues/258 | 421,637,970 | 258 |
[
"dart-lang",
"http"
] | It would be nice if the library would support gzip content encoding out of the box the same way the HTTP1 Dart library does. | Support automatic gzip compression | https://api.github.com/repos/dart-lang/http/issues/1357/comments | 2 | 2019-03-12T20:21:18Z | 2024-10-18T09:08:00Z | https://github.com/dart-lang/http/issues/1357 | 2,596,930,652 | 1,357 |
[
"dart-lang",
"http"
] | I'm not sure if this is an issue with 'http' package or am I do something wrong.
```
Dart version 2.2.1 (build 2.2.1-dev.1.0 2fb6cd9f5f)
http: 0.12.0+1
```
```
[✓] Flutter (Channel dev, v1.3.9, on Mac OS X 10.13.6 17G65, locale en-RU)
• Flutter version 1.3.9 at /Users/wish/projects/study/flutter
• Fra... | TimeoutException on http:// requests | https://api.github.com/repos/dart-lang/http/issues/254/comments | 4 | 2019-03-12T06:45:54Z | 2019-03-16T11:45:10Z | https://github.com/dart-lang/http/issues/254 | 419,826,426 | 254 |
[
"dart-lang",
"http"
] | If I turn the internet off before I make a request it does not throw an error or return an error response code. Just hangs. | No error when internet offline | https://api.github.com/repos/dart-lang/http/issues/253/comments | 3 | 2019-03-11T15:16:22Z | 2021-07-15T22:41:00Z | https://github.com/dart-lang/http/issues/253 | 419,525,437 | 253 |
[
"dart-lang",
"http"
] | I need to send post request with `cp1251` encoding
I've extended `Encoding` class with following code
```dart
import 'dart:convert';
class Cp1251 extends Encoding {
@override
Converter<List<int>, String> get decoder => Cp1251Decoder();
@override
Converter<String, List<int>> get encoder => Cp1251En... | Can't use custom encoding | https://api.github.com/repos/dart-lang/http/issues/252/comments | 1 | 2019-03-07T14:59:36Z | 2021-02-04T21:04:02Z | https://github.com/dart-lang/http/issues/252 | 418,355,050 | 252 |
[
"dart-lang",
"http"
] | like this
```dart
// getAlpnProtocols as List<String>
if (context.getAlpnProtocols.contains('h2')) {
final server = await MultiProtocolHttpServer.bind(address, port ?? 443, context);
// code ...
} else {
final server = await HttpServer.bindSecure(address, port ?? 443, context);
// code ...
}``` | How to check if ALPN contains h2? | https://api.github.com/repos/dart-lang/http/issues/1356/comments | 1 | 2019-03-01T06:39:42Z | 2024-10-18T09:07:59Z | https://github.com/dart-lang/http/issues/1356 | 2,596,930,634 | 1,356 |
[
"dart-lang",
"http"
] | hi. Is the http request executed by default in main isolate?
| isolate | https://api.github.com/repos/dart-lang/http/issues/247/comments | 1 | 2019-02-26T02:01:54Z | 2019-04-11T00:53:14Z | https://github.com/dart-lang/http/issues/247 | 414,394,019 | 247 |
[
"dart-lang",
"http"
] | https://stackoverflow.com/questions/54844472/flutter-dart-http-connection-issue | Connection closed before full header was received | https://api.github.com/repos/dart-lang/http/issues/246/comments | 1 | 2019-02-23T18:05:18Z | 2019-07-24T19:50:15Z | https://github.com/dart-lang/http/issues/246 | 413,720,676 | 246 |
[
"dart-lang",
"http"
] | Hi Dartlang 'http' Module Maintainers,
Thanks for making this module. I'm using it in a new app. The app needs to know why a request failed so it can display an appropriate message to the user:
- Network problems: dns lookup failure, socket timeout, etc.
- Server error: malformed HTTP response, TLS negotiation fai... | Document exceptions thrown | https://api.github.com/repos/dart-lang/http/issues/245/comments | 4 | 2019-02-21T07:39:57Z | 2021-08-18T16:55:13Z | https://github.com/dart-lang/http/issues/245 | 412,787,460 | 245 |
[
"dart-lang",
"http"
] | Good evening.
Is it currently possible to intercept requests or set default request headers? Or even register our own Clients that extend BaseClient?
It's really helpful when there is a giant codebase, and refactor it for a new header would be very costful 😅
Best regards,
freitzzz | Intercept requests / Default request headers | https://api.github.com/repos/dart-lang/http/issues/244/comments | 1 | 2019-02-19T19:30:00Z | 2019-02-23T20:23:29Z | https://github.com/dart-lang/http/issues/244 | 412,087,349 | 244 |
[
"dart-lang",
"http"
] | I use Flutter 1.0 latest http package, the code get info from my REST API, it get some data from DB.
when some field contain chinese chars, the response body become garbage,
but if I use Postman to test the REST API, the data in response body is correct.
```
var response = await http.post(
constAWSAPIG... | the response body become garbage if include Chinese chars in the response body | https://api.github.com/repos/dart-lang/http/issues/243/comments | 2 | 2019-02-17T22:07:01Z | 2019-02-26T22:05:02Z | https://github.com/dart-lang/http/issues/243 | 411,241,281 | 243 |
[
"dart-lang",
"http"
] | In this example in first line we extends BaseClient with http namespace,
but later we use StreamedResponse and BaseRequest without namespace.
So I think it's better to add http prefix to them too.
```
class UserAgentClient extends http.BaseClient {
final String userAgent;
final http.Client _inner;
UserAg... | Readme improvement | https://api.github.com/repos/dart-lang/http/issues/242/comments | 0 | 2019-02-06T16:49:07Z | 2019-02-06T16:51:11Z | https://github.com/dart-lang/http/issues/242 | 407,329,336 | 242 |
[
"dart-lang",
"http"
] | It will not work in repeating headers like "set-cookie". | The type of BaseResponse.headers should not be Map<String, String>. | https://api.github.com/repos/dart-lang/http/issues/241/comments | 1 | 2019-02-06T11:11:51Z | 2019-05-28T19:39:41Z | https://github.com/dart-lang/http/issues/241 | 407,185,079 | 241 |
[
"dart-lang",
"http"
] | From the README:
> The easiest way to use this library is via the top-level functions, although they currently only work on platforms where dart:io is available
Following works just fine on the web now:
```dart
import 'package:http/http.dart' show get;
Future<void> main() async
{
final response = await g... | README out of date? | https://api.github.com/repos/dart-lang/http/issues/240/comments | 1 | 2019-02-04T14:14:00Z | 2019-03-06T20:34:18Z | https://github.com/dart-lang/http/issues/240 | 406,347,916 | 240 |
[
"dart-lang",
"http"
] | https://github.com/dart-lang/http/blob/7df1d6942fbfdf8ffdf8cfeebeadb97e3898afa2/test/multipart_test.dart#L32
e.g
`
request.fields['tags'] = 'foo';
request.fields['tags'] = 'bar';
`
| MultipartRequest dosen’t post field array to server? | https://api.github.com/repos/dart-lang/http/issues/239/comments | 0 | 2019-02-02T13:13:27Z | 2019-02-07T11:18:43Z | https://github.com/dart-lang/http/issues/239 | 405,982,002 | 239 |
[
"dart-lang",
"http"
] | Sometimes it is necessary to post arrays formatted as arrayname[]value&
eg foo[1,2,3] becomes foo[]=1&foo[]2&foo[]3
I cant seem to find any way this would be possible with dart http though. | Format Arrays in Body | https://api.github.com/repos/dart-lang/http/issues/238/comments | 1 | 2019-02-01T17:39:37Z | 2019-03-06T18:20:08Z | https://github.com/dart-lang/http/issues/238 | 405,803,127 | 238 |
[
"dart-lang",
"http"
] | I have problem getting full data using http plugin. In https://pub.dartlang.org/packages/http#-example-tab- I try to test it but print shows less data than when I paste https://www.googleapis.com/books/v1/volumes?q={http} into safari I get more data.
How can I get full data using "var url = "https:"?
```
var... | cannot get full data on (Await the http get response) | https://api.github.com/repos/dart-lang/http/issues/237/comments | 1 | 2019-01-31T08:12:43Z | 2019-06-11T17:55:21Z | https://github.com/dart-lang/http/issues/237 | 405,126,879 | 237 |
[
"dart-lang",
"http"
] | I am making a simple http request, and when I do, the program either throws the exception `SocketException: Reading from a closed socket`, or it just quietly hangs and never returns. Here is what my code looks like:
```
void main() async {
const url = 'https://example.com';
final client = http.Client();
va... | SocketException: Reading from a closed socket | https://api.github.com/repos/dart-lang/http/issues/236/comments | 15 | 2019-01-29T02:02:57Z | 2024-12-29T14:26:33Z | https://github.com/dart-lang/http/issues/236 | 404,088,931 | 236 |
[
"dart-lang",
"http"
] | I'm trying to upload a image file using MultipartRequest, it dosen't seem to work. I checked using postman, api seem to work fine. Not sure whats wrong with the MultipartRequest.
My Code:
```dart
Future<List<String>> uploadImage(SubmitData data, String token) async {
String path = data.imageFile;
if (Pla... | MultipartRequest dosen't work | https://api.github.com/repos/dart-lang/http/issues/235/comments | 3 | 2019-01-28T17:37:33Z | 2024-04-26T05:21:02Z | https://github.com/dart-lang/http/issues/235 | 403,928,268 | 235 |
[
"dart-lang",
"http"
] | Dart:io package gives us the badCertificateCallback. Need to include the same for http.Client by implementing the same in the IOClient class. | Need to expose badCertificateCallback for IOClient/http.client | https://api.github.com/repos/dart-lang/http/issues/234/comments | 3 | 2019-01-27T10:20:37Z | 2019-04-24T06:40:07Z | https://github.com/dart-lang/http/issues/234 | 403,535,736 | 234 |
[
"dart-lang",
"http"
] | I was successfully able to call my localhost url: `http://localhost:3030/ping` on iOS, but the same code threw and error on Android:
My code
```
String thisUrl = 'http://localhost:3030/ping';
try {
var response = await http.get(thisUrl);
} catch(err) {
Scaffold.of(context).showSnackBa... | Not working for localhost URLs on Android | https://api.github.com/repos/dart-lang/http/issues/233/comments | 5 | 2019-01-24T22:59:56Z | 2019-07-30T17:39:05Z | https://github.com/dart-lang/http/issues/233 | 402,933,456 | 233 |
[
"dart-lang",
"http"
] | null | message loss | https://api.github.com/repos/dart-lang/http/issues/1586/comments | 0 | 2019-01-24T14:19:17Z | 2025-01-22T16:04:28Z | https://github.com/dart-lang/http/issues/1586 | 2,804,777,637 | 1,586 |
[
"dart-lang",
"http"
] | One of the things that's super convenient during development is to print cURL requests.
Having that option to add a cURL logger could help speed up development by a certain factor. Being able to just run the cURL in your terminal is really an awesome thing. | Option to print cURL request | https://api.github.com/repos/dart-lang/http/issues/232/comments | 0 | 2019-01-23T18:49:18Z | 2019-01-23T18:49:18Z | https://github.com/dart-lang/http/issues/232 | 402,380,334 | 232 |
[
"dart-lang",
"http"
] | Hello everyone i cann't solve that http issue for serveral day.Please help me.

pubspec.yaml
] Dart Error: Unhandled exception:
Invalid argument(s): No host specified in URI logout.cgi?RequestFile=html/logout.html
#0 _HttpClient._openUrl (dart:_http/http_impl.dart:2121:9)
#1 _HttpClient.postUrl (dart:_http/http_impl.dart:2061:49)
... | No host specified in URI logout.cgi?RequestFile=html/logout.html | https://api.github.com/repos/dart-lang/http/issues/230/comments | 2 | 2019-01-19T19:58:06Z | 2019-04-16T23:43:42Z | https://github.com/dart-lang/http/issues/230 | 401,029,446 | 230 |
[
"dart-lang",
"http"
] | The below link doesn't work.
https://pub.dartlang.org/documentation/http/latest/http.browser_client/BrowserClient-class.html
| Link broken for BrowserClient class | https://api.github.com/repos/dart-lang/http/issues/229/comments | 4 | 2019-01-18T16:08:19Z | 2019-04-16T23:09:13Z | https://github.com/dart-lang/http/issues/229 | 400,789,008 | 229 |
[
"dart-lang",
"http"
] | This is the first request my app executes in order to log in the user. On android, every request works fine but, for some reason, on iOS they don't seem to be executed, the function keeps awaiting the response. I already have set up the developer options on the simulator to allow HTTP Services. I have also tested the c... | Flutter - http requests won't execute on iOS | https://api.github.com/repos/dart-lang/http/issues/228/comments | 6 | 2019-01-18T15:16:36Z | 2019-09-20T22:09:14Z | https://github.com/dart-lang/http/issues/228 | 400,767,213 | 228 |
[
"dart-lang",
"http"
] | Field value containing a non English character is invalid like 'Pétange'.
If changed to 'Petange' is OK.
Any idea ?
` Map<String, String> _headers = {
'authorization': basicAuth,
'Entity': 'Pétange',
};
http.Response _result =
await _webUtils.get(_url, headers: _headers).then((d... | FormatException with non-ASCII header field value in request | https://api.github.com/repos/dart-lang/http/issues/227/comments | 21 | 2019-01-14T11:07:54Z | 2022-08-27T00:17:22Z | https://github.com/dart-lang/http/issues/227 | 398,840,994 | 227 |
[
"dart-lang",
"http"
] | The documentation in the README suggests that a Client instance can be reused to issue multiple requests to the same server. However, is it safe to use a single client to send the requests concurrently (not in a sense with isolates, but as shown in the below example)?
```
var client = Client();
var responses = Lis... | Client sending multiple requests concurrently | https://api.github.com/repos/dart-lang/http/issues/226/comments | 1 | 2019-01-14T08:28:21Z | 2019-06-18T17:21:04Z | https://github.com/dart-lang/http/issues/226 | 398,787,755 | 226 |
[
"dart-lang",
"http"
] | Below is code and it wont never reach the print(response) statement. Im not getting any errors
```
class LocationBloc {
BehaviorSubject<List<UserLocation>> _typeaheadResults = new BehaviorSubject(seedValue: null);
Stream<List<UserLocation>> get typeaheadResults => _typeaheadResults;
StreamController... | http get does not return | https://api.github.com/repos/dart-lang/http/issues/224/comments | 2 | 2019-01-11T09:32:51Z | 2019-01-14T12:36:16Z | https://github.com/dart-lang/http/issues/224 | 398,204,203 | 224 |
[
"dart-lang",
"http"
] | Documentation doesn't explain how to respond to ping event on server side.
ws.pong() and ws.send('pong) didn't work. | Responding to ping event | https://api.github.com/repos/dart-lang/http/issues/1585/comments | 5 | 2019-01-09T16:07:07Z | 2025-01-22T16:04:28Z | https://github.com/dart-lang/http/issues/1585 | 2,804,777,624 | 1,585 |
[
"dart-lang",
"http"
] | Couldn't find a way to add support for SSL pinning or SecurityContext, is it possible to add? | Support for SSL pinning or SecurityContext | https://api.github.com/repos/dart-lang/http/issues/223/comments | 6 | 2019-01-07T14:11:24Z | 2021-05-12T00:11:49Z | https://github.com/dart-lang/http/issues/223 | 396,501,775 | 223 |
[
"dart-lang",
"http"
] | There's no way to use a custom DNS server, or manually use another IP address to connect to a server. | Use custom DNS server? | https://api.github.com/repos/dart-lang/http/issues/222/comments | 5 | 2019-01-06T04:03:01Z | 2022-03-02T09:26:02Z | https://github.com/dart-lang/http/issues/222 | 396,225,826 | 222 |
[
"dart-lang",
"http"
] | void _submitApplyGuider(BuildContext context, viewModel) async {
var token = await Helpers.getSharedPrefs('token');
Map<String, String> headers = {
"Authorization": "Bearer $token",
"Content-Type": "multipart/form-data"
};
var uri = Uri.parse(settings.baseUrl + "/update-introduce");
... | Upload file audio and video not working | https://api.github.com/repos/dart-lang/http/issues/221/comments | 2 | 2019-01-05T02:27:32Z | 2019-06-18T17:21:46Z | https://github.com/dart-lang/http/issues/221 | 396,124,385 | 221 |
[
"dart-lang",
"http"
] | Hello!
I'm not sure is an issue of this library but it could be so here it is what I'm stuck in:
I'm using https://pub.dartlang.org/packages/stomp as a communication protocol but using web_socket_channel as websocket library because theirs have problems in Flutter.
With no authentication everything seems to wo... | Possible issue with headers and authentication | https://api.github.com/repos/dart-lang/http/issues/1584/comments | 3 | 2018-12-18T17:37:40Z | 2025-01-22T16:04:27Z | https://github.com/dart-lang/http/issues/1584 | 2,804,777,605 | 1,584 |
[
"dart-lang",
"http"
] | Hi,
We are adding gzip in header, but we are getting the response with same speed i.e.., with or without header no speed changes in response.
"Content-Encoding": "gzip",
"Accept-Encoding": "gzip, deflate",
| No Speed deference observed with gzip parameter | https://api.github.com/repos/dart-lang/http/issues/220/comments | 2 | 2018-12-18T13:29:14Z | 2019-05-28T19:37:12Z | https://github.com/dart-lang/http/issues/220 | 392,156,925 | 220 |
[
"dart-lang",
"http"
] | Hi, just wonder if there an alternative way to detection disconnection of channel, I wanna something like:
```
if (channel.disConnect) {....}
```
is there anyway to do this? (I should do it when user refresh...... do not need listen to stream....) | How to detect channel disconnected (can not listen cause message will duplicated) | https://api.github.com/repos/dart-lang/http/issues/1624/comments | 37 | 2018-12-18T13:24:37Z | 2025-01-22T16:05:51Z | https://github.com/dart-lang/http/issues/1624 | 2,804,780,797 | 1,624 |
[
"dart-lang",
"http"
] | Hi, just wonder if there an alternative way to detection disconnection of channel, I wanna something like:
```
if (channel.disConnect) {....}
```
is there anyway to do this? (I should do it when user refresh...... do not need listen to stream....) | How to detect channel disconnected (can not listen cause message will duplicated) | https://api.github.com/repos/dart-lang/http/issues/1620/comments | 37 | 2018-12-18T13:24:37Z | 2025-01-22T16:05:30Z | https://github.com/dart-lang/http/issues/1620 | 2,804,780,053 | 1,620 |
[
"dart-lang",
"http"
] | When I searched for some issues, I found that middleware was often mentioned, but there was no such thing on the master branch.
What are the considerations for placing middleware on an experimental branch rather than a master?
And I observed that the experimental branch hasn't been merged into master for more than a ... | Middleware is not on the master branch, but on the experimental branch. | https://api.github.com/repos/dart-lang/http/issues/217/comments | 2 | 2018-12-11T07:15:34Z | 2018-12-12T00:34:27Z | https://github.com/dart-lang/http/issues/217 | 389,625,725 | 217 |
[
"dart-lang",
"http"
] | Copied from https://github.com/flutter/flutter/issues/21076
`IOWebSocketChannel.connect` suffers from the problem described here:
https://www.dartlang.org/guides/libraries/futures-error-handling#potential-problem-failing-to-register-error-handlers-early
When I use `connect` with a URL that can't be resolved (e... | some errors can't be handled in IOWebSocketChannel.connect | https://api.github.com/repos/dart-lang/http/issues/1619/comments | 10 | 2018-12-06T18:31:08Z | 2025-01-22T16:05:30Z | https://github.com/dart-lang/http/issues/1619 | 2,804,780,040 | 1,619 |
[
"dart-lang",
"http"
] | 
I used the guidelines of [jwt.io](https://jwt.io/), and with other client services works...
I'm working in Flutter, and using the 'Authorization' header, the compiler gives me this error.
Can someone ... | Authorization Header Problem | https://api.github.com/repos/dart-lang/http/issues/216/comments | 1 | 2018-11-29T14:50:11Z | 2019-09-10T11:45:54Z | https://github.com/dart-lang/http/issues/216 | 385,771,907 | 216 |
[
"dart-lang",
"http"
] | I make janus client webrtc library.
Janus websocket-server must have 'janus-protocol' protocol property.
I pass arguments to protocols, but could not connect to server.
Janus websocket-server close the connection.
In io.dart, does not pass protocols parameter to WebSocket.connect()
| How to use protocols? | https://api.github.com/repos/dart-lang/http/issues/1618/comments | 0 | 2018-11-28T11:39:30Z | 2025-01-22T16:05:29Z | https://github.com/dart-lang/http/issues/1618 | 2,804,780,022 | 1,618 |
[
"dart-lang",
"http"
] | ## Steps to Reproduce
I am trying to use flutter to display the result of this post in a widget,
and I can't figure out what it thinks is type
`List<dynamic>`
<img width="465" alt="screen shot 2018-11-17 at 10 08 22 pm" src="https://user-images.githubusercontent.com/6640284/49084551-cbaebd00-f21d-11e8-99a8-090741... | type 'List<dynamic>' is not a subtype of type 'String' in type cast | https://api.github.com/repos/dart-lang/http/issues/215/comments | 1 | 2018-11-27T13:25:42Z | 2018-12-06T23:33:23Z | https://github.com/dart-lang/http/issues/215 | 384,793,562 | 215 |
[
"dart-lang",
"http"
] | on dartpub and on this readme.md they reference
https://pub.dartlang.org/documentation/web_socket_channel/latest/io/IOWebSocketChannel-class.html
and
https://pub.dartlang.org/documentation/web_socket_channel/latest/html/HtmlWebSocketChannel-class.html
both of which are 404s.
| Documentation bug: 404s for supporting links | https://api.github.com/repos/dart-lang/http/issues/1617/comments | 2 | 2018-11-19T22:58:19Z | 2025-01-22T16:05:29Z | https://github.com/dart-lang/http/issues/1617 | 2,804,780,007 | 1,617 |
[
"dart-lang",
"http"
] | Not really sure whether this is an issue with the Dart VM or the `http` package.
I've recently upgraded my Flutter installation which ships with Dart 2.1 ( specifically `version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297`).
When calling `http.get` I get
```
type 'OSError' is not a subtype of type 'bool' of 'functio... | type 'OSError' is not a subtype of type 'bool' of 'function result' | https://api.github.com/repos/dart-lang/http/issues/214/comments | 3 | 2018-11-18T17:04:05Z | 2018-11-18T22:32:48Z | https://github.com/dart-lang/http/issues/214 | 381,979,075 | 214 |
[
"dart-lang",
"http"
] | Is there a plan to add TLS 1.2 support to this library? | TLS 1.2 Support | https://api.github.com/repos/dart-lang/http/issues/213/comments | 4 | 2018-11-11T11:42:45Z | 2019-10-14T21:58:36Z | https://github.com/dart-lang/http/issues/213 | 379,514,663 | 213 |
[
"dart-lang",
"http"
] | It only supports content-type and file-name field, if I want to add an extra field( say size), there is no way to do that:
var mpFile = new http.MultipartFile('file-upload', stream, length,
filename: basename(imageFile.path),
contentType: MediaType(fType.item1, fType.item2),
... | MultipartFile doesn't support content-disposition customization | https://api.github.com/repos/dart-lang/http/issues/212/comments | 1 | 2018-11-06T00:07:50Z | 2018-11-06T10:07:26Z | https://github.com/dart-lang/http/issues/212 | 377,636,687 | 212 |
[
"dart-lang",
"http"
] | If the client side cancels a stream and the server side sends more data at the same time, the client reacts incorrectly to the incoming data frames.
From https://github.com/grpc/grpc-dart/issues/131#issuecomment-432718640:
With the following events:
* client calls a method that streams results
* server starts... | Issue with race of cancelling data on client side and sending data on server side | https://api.github.com/repos/dart-lang/http/issues/1355/comments | 1 | 2018-10-29T11:18:37Z | 2024-10-18T09:07:58Z | https://github.com/dart-lang/http/issues/1355 | 2,596,930,609 | 1,355 |
[
"dart-lang",
"http"
] | I tried to use a websocket connection to handle the communication between my webserver (written in Rust with actix_web) and my flutter application. Unfortunately it does not work and i really don't know why.
If i try to connect to my server with [`IOWebSocketChannel.connect`](https://github.com/pythoneer/flutter_act... | does not work with actix_web | https://api.github.com/repos/dart-lang/http/issues/1616/comments | 5 | 2018-10-28T12:58:16Z | 2025-01-22T16:05:29Z | https://github.com/dart-lang/http/issues/1616 | 2,804,779,985 | 1,616 |
[
"dart-lang",
"http"
] | How to monitor the download progress when downloading files?
:octocat: [From gitme iOS](http://flutterchina.club/app/gm.html) | How to monitor the download progress when downloading files? | https://api.github.com/repos/dart-lang/http/issues/211/comments | 2 | 2018-10-25T00:34:02Z | 2018-10-25T05:52:42Z | https://github.com/dart-lang/http/issues/211 | 373,728,090 | 211 |
[
"dart-lang",
"http"
] | how to use http.StreamedRequest to download file? | how to use http.StreamedRequest to download file? | https://api.github.com/repos/dart-lang/http/issues/210/comments | 9 | 2018-10-24T01:56:40Z | 2021-11-25T09:12:00Z | https://github.com/dart-lang/http/issues/210 | 373,272,267 | 210 |
[
"dart-lang",
"http"
] | ### How To ?
"keep alive connections" and "connection pooling" and "caching middleware"
Hi there,
any suggestions on how can I implement the above properly? | "keep alive connections" and "connection pooling" and "caching middleware" | https://api.github.com/repos/dart-lang/http/issues/209/comments | 4 | 2018-10-20T08:16:53Z | 2018-10-29T16:39:22Z | https://github.com/dart-lang/http/issues/209 | 372,187,521 | 209 |
[
"dart-lang",
"http"
] | I want to send a request to my machine using an ip address... Please take this unnecessary exception out so I can send a request. Thanks. | FormatException: Scheme not starting with alphabetic character | https://api.github.com/repos/dart-lang/http/issues/208/comments | 3 | 2018-10-13T21:23:54Z | 2021-05-01T08:07:40Z | https://github.com/dart-lang/http/issues/208 | 369,842,764 | 208 |
[
"dart-lang",
"http"
] | Hi,
is it possible to get the **raw** response (`string` / `byte[]`) which is not already handled / consumed anyway? | Getting raw response | https://api.github.com/repos/dart-lang/http/issues/207/comments | 9 | 2018-10-09T21:58:41Z | 2018-10-18T13:54:33Z | https://github.com/dart-lang/http/issues/207 | 368,415,158 | 207 |
[
"dart-lang",
"http"
] | The method http.delete just accept url and headers, can you put a body parameter ? | Send a body on delete method | https://api.github.com/repos/dart-lang/http/issues/206/comments | 15 | 2018-10-09T21:06:55Z | 2021-11-25T13:40:32Z | https://github.com/dart-lang/http/issues/206 | 368,398,212 | 206 |
[
"dart-lang",
"http"
] | I'm using Dart Http in a Flutter app to download large files from a server.
Sometimes the user may want to cancel the request (so that the download is stopped)
The problem is that there is no way to cancel a `Future` in dart. Even when converted to a `Stream` which can be cancelled, the download will still contin... | Cancellable requests | https://api.github.com/repos/dart-lang/http/issues/204/comments | 7 | 2018-10-04T15:56:12Z | 2021-05-06T19:22:22Z | https://github.com/dart-lang/http/issues/204 | 366,858,812 | 204 |
[
"dart-lang",
"http"
] | i wrote it here: https://stackoverflow.com/questions/52552002/flutter-http-post-never-returns-a-response
but TLDR;
```
print("before");
http.Response res = await http.post(url, body:data);
print("after");
```
code never reaches the `print("after");`
but my server does get the HTTP POST request..
pl... | http.post does not return | https://api.github.com/repos/dart-lang/http/issues/203/comments | 3 | 2018-09-28T15:29:18Z | 2018-09-28T19:21:20Z | https://github.com/dart-lang/http/issues/203 | 364,937,922 | 203 |
[
"dart-lang",
"http"
] | Date parsing fails on the input: `Thu, 19 Jul 2018 01:06:14 MSK`
(original issue https://github.com/dart-lang/pub-dartlang-dart/issues/1651) | Date parsing fails | https://api.github.com/repos/dart-lang/http/issues/1330/comments | 2 | 2018-09-26T10:12:42Z | 2024-10-18T09:02:43Z | https://github.com/dart-lang/http/issues/1330 | 2,596,917,894 | 1,330 |
[
"dart-lang",
"http"
] | Hi.
I've been trying to implement the http interceptor exactly as you've explained to another person in #89 .
I've created my own inherited class and updated `send` function. In any case (with using my own class or just running httpClient.get), where httpClient is `new Client();`,
Running this command:
```
h... | Why is errorStatus 400+ considered a success? | https://api.github.com/repos/dart-lang/http/issues/202/comments | 4 | 2018-09-26T10:03:42Z | 2018-09-26T18:37:42Z | https://github.com/dart-lang/http/issues/202 | 363,949,493 | 202 |
[
"dart-lang",
"http"
] | `pubspec.yaml` (snippet)
```yaml
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
http: ^0.11.3+16
```
`test.dart`
```dart
import 'package:http/http.dart' as http;
main() {}
```
Running `dart test.dart` produces the following error
```shell
file:///opt/flutter/.pub-cache/hosted/p... | Error: Getter not found: 'UTF8'. (Flutter) | https://api.github.com/repos/dart-lang/http/issues/200/comments | 2 | 2018-09-16T20:48:18Z | 2021-06-14T06:04:46Z | https://github.com/dart-lang/http/issues/200 | 360,676,984 | 200 |
[
"dart-lang",
"http"
] | We deploy a Flutter app and have been noticing frequent exceptions from our HTTP requests:
```
SocketException: OS Error: Bad file descriptor, errno = 9, address = <redacted domain>, port = 64436
```
From my discussion with @johnfesa, it is sometimes expected for iOS to throw these bad file descriptor errors. S... | Frequent bad file descriptor errors on iOS | https://api.github.com/repos/dart-lang/http/issues/197/comments | 75 | 2018-09-10T23:15:10Z | 2025-04-01T13:46:02Z | https://github.com/dart-lang/http/issues/197 | 358,828,525 | 197 |
[
"dart-lang",
"http"
] | The doc suggests creating a subclass of `BaseClient` in order to exert fine-grained control over HTTP request and responses. Here is the sample code from the docs.
<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-js -->
class UserAgentClient extends http.BaseClient {
... | Allow to modify URL before sending the request from BaseClient subclass | https://api.github.com/repos/dart-lang/http/issues/196/comments | 12 | 2018-09-01T08:33:34Z | 2022-02-10T17:53:07Z | https://github.com/dart-lang/http/issues/196 | 356,184,538 | 196 |
[
"dart-lang",
"http"
] | my rest api use LHS Brackets style,when url has "[ xxx]" ,it is bad:
FormatException: Invalid character (at character 75)
https://xxxxx/xxx?xxx[...
_Uri._fail (dart:core/uri.dart:1614:5)
_Uri._normalize (dart:core/uri.dart:2309:11)
_Uri._normalizeOrSubstring (dart:core/uri.dart:2265:12)
_Uri._makeQuery (dart:core... | LHS Brackets style has error | https://api.github.com/repos/dart-lang/http/issues/195/comments | 0 | 2018-08-27T08:39:48Z | 2018-08-27T08:49:28Z | https://github.com/dart-lang/http/issues/195 | 354,230,856 | 195 |
[
"dart-lang",
"http"
] | Is there a way to share cookies between webview and the http package.
I am doing a login via the webview and want to use the auth cookie to make api calls using the http package. How can the http.get use cookies from webview. | share cookies between webview and the http package | https://api.github.com/repos/dart-lang/http/issues/194/comments | 3 | 2018-08-22T21:50:42Z | 2020-10-27T12:35:41Z | https://github.com/dart-lang/http/issues/194 | 353,139,123 | 194 |
[
"dart-lang",
"http"
] | I want to send request and get response as a stream.
I need to do it with:
`Future<StreamedResponse> send(BaseRequest request);`
So I need to create BaseRequest( or simply Request)
How to set headers to this request if variable `headers` is final and it cannot be set in constructor? | Setup headers on Request | https://api.github.com/repos/dart-lang/http/issues/193/comments | 2 | 2018-08-22T19:13:19Z | 2018-08-22T20:55:44Z | https://github.com/dart-lang/http/issues/193 | 353,086,508 | 193 |
[
"dart-lang",
"http"
] |
i have the following code in dart
```
import 'dart:io';
import 'package:http/http.dart' as http;
main() async {
final url = 'https://jsonplaceholder.typicode.com/users';
final response = await http.get(url);
if (response.statusCode == HttpStatus.ok) {
print(response.body);
}
}
```
it wor... | Redirect loop detected | https://api.github.com/repos/dart-lang/http/issues/192/comments | 2 | 2018-08-18T22:41:35Z | 2018-08-23T13:06:17Z | https://github.com/dart-lang/http/issues/192 | 351,857,667 | 192 |
[
"dart-lang",
"http"
] | ### Expected
http.Client() should make a request
### Behavior
When making a request a minute or two after a client is opened, it errors with the following stacktrace:
> E/flutter (12367): NoSuchMethodError: The method 'openUrl' was called on null.
> E/flutter (12367): Receiver: null
> E/flutter (12367): T... | NoSuchMethodError: The method 'openUrl' was called on null. | https://api.github.com/repos/dart-lang/http/issues/191/comments | 7 | 2018-08-16T20:30:04Z | 2019-09-19T17:41:36Z | https://github.com/dart-lang/http/issues/191 | 351,357,073 | 191 |
[
"dart-lang",
"http"
] | Exception:
```
Unhandled exception:
Error on line 1, column 33: Invalid media type: expected /[^()<>@,;:"\\\/[\]?={} \t\x00-\x1F\x7F]+/.
application/json; charset=utf-8;
^
#0 wrapFormatException (package:http_parser/src/utils.dart:15:5)
dart-lang/http#1320 new MediaType.... | Unhandled exception thrown when access some specific Urls | https://api.github.com/repos/dart-lang/http/issues/1329/comments | 2 | 2018-08-16T11:14:55Z | 2024-10-18T09:02:43Z | https://github.com/dart-lang/http/issues/1329 | 2,596,917,829 | 1,329 |
[
"dart-lang",
"http"
] | I'm trying to follow the documentation to make a POST request and the content body is not getting sent to my server. Can someone please help me figure out what I'm doing wrong? I'm using `http: '^0.11.3'` and
`Dart VM version: 2.0.0 (Unknown timestamp) on "linux_x64"`.
First, here is my python3 `socket_echo_serve... | Newbie usage question | https://api.github.com/repos/dart-lang/http/issues/190/comments | 10 | 2018-08-11T13:42:13Z | 2018-08-11T20:02:41Z | https://github.com/dart-lang/http/issues/190 | 349,734,989 | 190 |
[
"dart-lang",
"http"
] | The current Dart SDK version is 2.0.0.
Because zhubao.web depends on http from git which requires SDK version >=2.0.0-dev.17.0 <2.0.0, version solving
failed.
| version solving | https://api.github.com/repos/dart-lang/http/issues/188/comments | 4 | 2018-08-08T01:58:49Z | 2018-08-20T00:22:13Z | https://github.com/dart-lang/http/issues/188 | 348,547,015 | 188 |
[
"dart-lang",
"http"
] | Dart `http` is annoyingly defaulting to `ISO-8859-1` when `charset` parameter is not present in `Content-Type `header (`Content-Type: application/json`) The explanation is provided in response.dart and I quote here:
> /// The body of the response as a string. This is converted from [bodyBytes]
/// using the `ch... | Misinterpretation of rfc2616 in response.dart | https://api.github.com/repos/dart-lang/http/issues/186/comments | 12 | 2018-08-03T05:03:51Z | 2018-09-11T16:14:01Z | https://github.com/dart-lang/http/issues/186 | 347,260,183 | 186 |
[
"dart-lang",
"http"
] | Getting this error while calling api.
Sometimes I receive response occasionally. I tested the api using postman it is working perfectly fine.
Version: http: ^0.11.3+16
`
[ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (24807): SocketException: Failed host lookup: 'api.xyz.com' (O... | No address associated with hostname | https://api.github.com/repos/dart-lang/http/issues/185/comments | 38 | 2018-07-23T13:06:15Z | 2025-06-22T06:26:27Z | https://github.com/dart-lang/http/issues/185 | 343,624,890 | 185 |
[
"dart-lang",
"http"
] | Hello,
I need to post some data to a distant API. But it looks like the API wants `Content-Type: application/json` but I'm sending a `Content-Type: application/json; charset=utf-8`.
I forced the headers:
```dart
Map<String, String> headers = {
HttpHeaders.AUTHORIZATION: 'Bearer ${this._token}',
... | Remove charset from "Content-Type" header | https://api.github.com/repos/dart-lang/http/issues/184/comments | 25 | 2018-07-19T20:02:11Z | 2025-03-29T22:32:39Z | https://github.com/dart-lang/http/issues/184 | 342,869,454 | 184 |
[
"dart-lang",
"http"
] | null | Bump to support Dart2 stable | https://api.github.com/repos/dart-lang/http/issues/1425/comments | 3 | 2018-07-19T18:34:54Z | 2024-12-17T12:51:09Z | https://github.com/dart-lang/http/issues/1425 | 2,744,860,131 | 1,425 |
[
"dart-lang",
"http"
] | http: "^0.11.3+17" was imported successfully when i was using flutter on windows and successfully built app for android.
While working on mac with http: "^0.11.3+16=7" is providing me with following error
**because every version of flutter_test from sdk depends on http 0.11.3+16 and edsios depends on http ^0.11.3... | library import issue on mac for http: "^0.11.3+17" | https://api.github.com/repos/dart-lang/http/issues/183/comments | 4 | 2018-07-19T16:02:24Z | 2018-08-23T11:51:00Z | https://github.com/dart-lang/http/issues/183 | 342,792,543 | 183 |
[
"dart-lang",
"http"
] | ```
f@mint:~/Documents/project/zhubao/web$ webdev serve
[INFO] Setting up file watchers completed, took 57ms
[INFO] Waiting for all file watchers to be ready completed, took 232ms
[INFO] Reading cached asset graph completed, took 672ms
[INFO] Checking for updates since last build completed, took 740ms
[WARNING] b... | [0.12.0] Can't run BrowserClient | https://api.github.com/repos/dart-lang/http/issues/182/comments | 4 | 2018-07-19T09:18:20Z | 2024-01-12T22:07:23Z | https://github.com/dart-lang/http/issues/182 | 342,646,133 | 182 |
[
"dart-lang",
"http"
] | I need to HTTP request but I'm getting an exception,
Exception: Type 'HttpRequestEventTarget' is not a subtype of expected type 'HttpRequest'.
I have trouble with that code, could you please help me correct it.
* macOS 10.14
* Dart VM version: 2.0.0-dev.69.0 (Tue Jul 17 14:57:16 2018 +0200) on "macos_x64"
* Angu... | Exception: Type 'HttpRequestEventTarget' is not a subtype of expected type 'HttpRequest'. | https://api.github.com/repos/dart-lang/http/issues/181/comments | 1 | 2018-07-18T20:21:15Z | 2018-07-19T11:07:48Z | https://github.com/dart-lang/http/issues/181 | 342,477,569 | 181 |
[
"dart-lang",
"http"
] | _From @DuanTzXavier on July 17, 2018 7:32_
Come from flutter!on **MacOS**
### Logs
```
07-14 01:59:51.068 2137-2153/top.basking.calculator I/flutter: 200
07-14 01:59:51.068 2137-2153/top.basking.calculator I/flutter: {connection: keep-alive, content-type: application/json; charset=utf-8;, transfer-encoding: ch... | http get can't solve response error : Invalid media type | https://api.github.com/repos/dart-lang/http/issues/180/comments | 8 | 2018-07-17T14:16:45Z | 2023-09-08T05:56:51Z | https://github.com/dart-lang/http/issues/180 | 341,939,365 | 180 |
[
"dart-lang",
"http"
] | When working with the `http` package, sometimes you might want to check the value of `Response.statusCode`, but the `HttpStatus` class isn't public, so you're stuck with using integer values unless you import `dart:io`. However, it seems a bit much to import the Dart IO package when your project doesn't depend on it ju... | Make HttpStatus public | https://api.github.com/repos/dart-lang/http/issues/179/comments | 2 | 2018-07-14T22:57:14Z | 2018-07-15T17:58:11Z | https://github.com/dart-lang/http/issues/179 | 341,276,864 | 179 |
[
"dart-lang",
"http"
] | I get the same errors under chrome and firefox, for example:
```console
> pub run test -p chrome
...
00:17 +57 -19: test/client_test.dart: client readBytes throws an error for a 4** status code [E] ... | Browser tests result in IsolateSpawnException: Unable to spawn isolate | https://api.github.com/repos/dart-lang/http/issues/178/comments | 1 | 2018-07-14T15:05:32Z | 2021-07-15T23:36:02Z | https://github.com/dart-lang/http/issues/178 | 341,242,691 | 178 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.