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"
] | How to post array using http?
```
var headers = {"Accept": "application/json"};
var url = "https://...."
var response = await http.post(url,
body: {
....
},
```
I have a param named commentList. I need to pass `comment[0]`, `comment[1]`... inside body. | Post array using http in flutter | https://api.github.com/repos/dart-lang/http/issues/482/comments | 5 | 2020-10-11T17:33:07Z | 2022-09-01T10:55:37Z | https://github.com/dart-lang/http/issues/482 | 718,885,869 | 482 |
[
"dart-lang",
"http"
] | I'm currently experiencing what I consider a severe flutter web bug, http requests are getting blocked by some Ad Block programs.
I bet that many reports of "XmlHttpRequest Error" are not caused by cors and yes by Ad blocks.
I'm only experiencing this problem in the release version.
I built a sample project to tes... | Flutter web http requests getting blocked by Ad block programs | https://api.github.com/repos/dart-lang/http/issues/481/comments | 2 | 2020-10-07T17:57:04Z | 2023-11-03T03:18:54Z | https://github.com/dart-lang/http/issues/481 | 716,736,922 | 481 |
[
"dart-lang",
"http"
] | Http Post not working on Flutter Web and Windows.
pls Fix it. | Http Post not working on Flutter Web and Windows | https://api.github.com/repos/dart-lang/http/issues/480/comments | 19 | 2020-10-03T05:42:32Z | 2021-08-17T20:53:10Z | https://github.com/dart-lang/http/issues/480 | 714,011,818 | 480 |
[
"dart-lang",
"http"
] | My main. dart file is:
import 'dart:io';
import 'chewie_list_item.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:video_player/video_player.dart';
void main() {
FlutterError.onError = (Flutte... | type 'list<dynamic> is not a sub type of <string> in my case : Basically I am retrieving video array data from my cloud firesotre | https://api.github.com/repos/dart-lang/http/issues/476/comments | 2 | 2020-09-28T20:37:19Z | 2021-07-15T22:11:35Z | https://github.com/dart-lang/http/issues/476 | 710,561,148 | 476 |
[
"dart-lang",
"http"
] | make "http" windows and web(post) supported | make "http" windows and web(post) supported | https://api.github.com/repos/dart-lang/http/issues/475/comments | 5 | 2020-09-28T13:42:12Z | 2021-07-15T21:48:00Z | https://github.com/dart-lang/http/issues/475 | 710,276,336 | 475 |
[
"dart-lang",
"http"
] | On iOS 14 when there's no internet connection the `SocketException` is not caught by the try-catch clause. Only `runZonedGuarded` is capable of catching. Without `runZonedGuarded` the exception is not shown at all.
This happens both to `post`, `put` calls as well to raw `Request` and `MultipartRequest`.
For ins... | SocketException cannot be caught on iOS 14 when wi-fi is off | https://api.github.com/repos/dart-lang/http/issues/473/comments | 2 | 2020-09-24T21:28:04Z | 2020-09-24T22:32:59Z | https://github.com/dart-lang/http/issues/473 | 708,485,800 | 473 |
[
"dart-lang",
"http"
] | a follow up to this issue: https://github.com/flutter/flutter/issues/59878
Ive created a test project: https://github.com/Antonimo/ps_test
When running the project, this is the result:

expected: no H... | HandshakeException: Connection terminated during handshake | https://api.github.com/repos/dart-lang/http/issues/471/comments | 8 | 2020-09-23T13:06:42Z | 2023-07-13T06:20:37Z | https://github.com/dart-lang/http/issues/471 | 707,350,916 | 471 |
[
"dart-lang",
"http"
] | Hi! I have a problem when i call my NodeJs Server by Flutter Web Application that is the code:
final String serverUrl = GlobalConfiguration().getValue<String>("server_url");
Future<void> login(
{@required String email, @required String password}) async {
String url = serverUrl + '/login';
... | http post error Expected a value of type 'String', but got one of type 'NoSuchMethodError' | https://api.github.com/repos/dart-lang/http/issues/468/comments | 2 | 2020-09-18T10:20:50Z | 2020-11-26T08:26:47Z | https://github.com/dart-lang/http/issues/468 | 704,265,756 | 468 |
[
"dart-lang",
"http"
] | Hello,
"SocketException (SocketException: Failed host lookup: 'dsfgfdsfgfdgfdgdfg' (OS Error: No address associated with hostname, errno = 7))"
```dart
try {
_pongReceived = true;
var channel = WebSocketChannel.connect(
Uri.parse("ws://dsfgfdsfgfdgfdgdfg:8080/v2/public"));
var s... | SocketException lookup not handled | https://api.github.com/repos/dart-lang/http/issues/1529/comments | 1 | 2020-09-18T08:33:35Z | 2025-01-22T16:02:19Z | https://github.com/dart-lang/http/issues/1529 | 2,804,772,879 | 1,529 |
[
"dart-lang",
"http"
] | can i use raw json in body of POST request? | Raw Json in Body POST | https://api.github.com/repos/dart-lang/http/issues/467/comments | 1 | 2020-09-11T08:37:06Z | 2021-07-15T21:49:49Z | https://github.com/dart-lang/http/issues/467 | 699,029,085 | 467 |
[
"dart-lang",
"http"
] | Everything was working fine, until today I did `flutter upgrade`.
I have a dart backend service running at `0.0.0.0:8080` If I hit my backend API from postman it responds fine, but doesnt respond to any flutter calls, seem flutter is not making any calls at all. But when I did console log to my api client, this was ... | unable to connect to 10.0.2.2 | https://api.github.com/repos/dart-lang/http/issues/466/comments | 2 | 2020-09-01T14:42:10Z | 2020-09-04T05:46:34Z | https://github.com/dart-lang/http/issues/466 | 690,201,527 | 466 |
[
"dart-lang",
"http"
] | Hi,
When a user uploads a file in my app, I want to show him a progress bar. I'm looking for a way to listen to the amount of bytes sent in MultipartRequest, but I think it's not supported. Apparently you can do this with dart:io (https://stackoverflow.com/questions/50455131/flutter-how-to-get-upload-download-progre... | Add support for getting the progress of a file upload / download | https://api.github.com/repos/dart-lang/http/issues/465/comments | 3 | 2020-08-30T14:28:11Z | 2025-02-08T18:08:28Z | https://github.com/dart-lang/http/issues/465 | 688,728,755 | 465 |
[
"dart-lang",
"http"
] | My organisation have everything connected behind the proxy. I am developing an ios app works inside the organisation network. Normally for those site within the same network, we put those address in the no_proxy. I just to connect a web socket server behind the proxy. Seems that I am not getting the connection. How do ... | Proxy | https://api.github.com/repos/dart-lang/http/issues/1528/comments | 0 | 2020-08-30T12:51:02Z | 2025-01-22T16:02:19Z | https://github.com/dart-lang/http/issues/1528 | 2,804,772,855 | 1,528 |
[
"dart-lang",
"http"
] | Hello, Im wondering if http has keep alive and how to enable it? Im using keep alive in headers but looks like the endpoint tls handshake is not cached. | Is http using keep alive? | https://api.github.com/repos/dart-lang/http/issues/464/comments | 0 | 2020-08-28T13:55:03Z | 2020-08-28T13:55:03Z | https://github.com/dart-lang/http/issues/464 | 688,093,095 | 464 |
[
"dart-lang",
"http"
] | getting the following error when trying to connect http
this code is working ok on simulator
#
Launching lib\main.dart on SM G610F in debug mode...
√ Built build\app\outputs\apk\debug\app-debug.apk.
Connecting to VM Service at ws://127.0.0.1:49790/roXGeUG_a5Q=/ws
D/libGLESv2(13078): STS_GLApi : DTS, ODTC are not ... | STS_GLApi : DTS, ODTC are not allowed for Package | https://api.github.com/repos/dart-lang/http/issues/463/comments | 2 | 2020-08-25T13:16:11Z | 2021-07-15T21:51:01Z | https://github.com/dart-lang/http/issues/463 | 685,477,818 | 463 |
[
"dart-lang",
"http"
] | soket怎么添加心跳包,防止连接断开 | 关于心跳的问题 | https://api.github.com/repos/dart-lang/http/issues/1527/comments | 7 | 2020-08-24T12:46:36Z | 2025-01-22T16:02:18Z | https://github.com/dart-lang/http/issues/1527 | 2,804,772,834 | 1,527 |
[
"dart-lang",
"http"
] | if there is multi set-cookie in response header, only firsth one set. The second one can not be seen in response header.
Especially when flask server send a session in set-cookie, I can not see in response header. | multi set-cookie | https://api.github.com/repos/dart-lang/http/issues/462/comments | 3 | 2020-08-23T21:12:00Z | 2024-01-12T21:31:34Z | https://github.com/dart-lang/http/issues/462 | 684,257,426 | 462 |
[
"dart-lang",
"http"
] | `HTTP 422` is treated as response other than error now. According to https://stackoverflow.com/questions/16133923/400-vs-422-response-to-post-of-data, error may be a better choice
And [angular/http](https://www.npmjs.com/package/@angular/http) DOES treat it as error, from https://thinkster.io/tutorials/building-rea... | Treat HTTP 422 as error | https://api.github.com/repos/dart-lang/http/issues/461/comments | 5 | 2020-08-20T00:21:01Z | 2021-07-15T21:53:16Z | https://github.com/dart-lang/http/issues/461 | 682,263,131 | 461 |
[
"dart-lang",
"http"
] | I am getting an error: "Bad state: Stream has already been listened to." message every time I tried to reconnect the webstream when it gets a onDone event.
What is the correct way to reconnect the webstream if it gets disconnected?
// configure the websocket
Future<void> configWebsocket(int _orgid, int userid, ... | Bad state: Stream has already been listened to. | https://api.github.com/repos/dart-lang/http/issues/1526/comments | 2 | 2020-08-17T21:32:46Z | 2025-01-22T16:02:18Z | https://github.com/dart-lang/http/issues/1526 | 2,804,772,810 | 1,526 |
[
"dart-lang",
"http"
] | I report this exception when I use the following request:
final http.Response response = await http.get(
url,
headers: <String,String>{
HttpHeaders.contentTypeHeader: 'application/json; charset=UTF-8',
HttpHeaders.authorizationHeader:"Bearer " + token,
},
);
prin... | Invalid header field name, with 44 | https://api.github.com/repos/dart-lang/http/issues/460/comments | 2 | 2020-08-14T09:07:28Z | 2024-02-16T08:04:26Z | https://github.com/dart-lang/http/issues/460 | 679,017,831 | 460 |
[
"dart-lang",
"http"
] | I am trying to make a PUT request on a Google Cloud Storage bucket with a signed URL, but it is returning the following error:
```
<?xml version='1.0' encoding='UTF-8'?>
<Error>
<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Chec... | Signature error on Google Cloud Storage PUT request with signed URL | https://api.github.com/repos/dart-lang/http/issues/459/comments | 1 | 2020-08-10T20:02:55Z | 2020-08-10T22:33:36Z | https://github.com/dart-lang/http/issues/459 | 676,381,777 | 459 |
[
"dart-lang",
"http"
] | Hi,
how we can disable the certificate verify ? Because in local / dev we have a self signed certificate and it make an error (indicate in the title of the issue).
I can't make a real certificate in a local server (symfony server) so i'm blocked if i can't disabled this control. | CERTIFICATE_VERIFY_FAILED - self signed certificate | https://api.github.com/repos/dart-lang/http/issues/458/comments | 13 | 2020-08-10T15:36:55Z | 2023-10-05T00:25:42Z | https://github.com/dart-lang/http/issues/458 | 676,229,802 | 458 |
[
"dart-lang",
"http"
] | Need a way to listen for ping events sent from a server. Something like
```
channel.stream.listen(
(message) {
print("recieved: $message");
},
onPing: () {
//reset ping timer
},
onError: (err) {
print(err);
},
onDo... | Listen for server ping event | https://api.github.com/repos/dart-lang/http/issues/1525/comments | 3 | 2020-08-10T14:08:17Z | 2025-01-22T16:02:17Z | https://github.com/dart-lang/http/issues/1525 | 2,804,772,781 | 1,525 |
[
"dart-lang",
"http"
] | Connecting to VM Service at ws://127.0.0.1:59842/IoMRilthWTg=/ws
D/EGL_emulation(13344): eglMakeCurrent: 0xe5cde9a0: ver 2 0 (tinfo 0xe229e100)
D/eglCodecCommon(13344): setVertexArrayObject: set vao to 0 (0) 1 0
I/flutter (13344): null
I/flutter (13344): Error on line 1, column 5: Invalid media type: expected "/".
... | Hey I tried fetching data from my PHP API but data are not showing in the app instead the errors are deteced. | https://api.github.com/repos/dart-lang/http/issues/457/comments | 1 | 2020-08-08T19:37:00Z | 2021-07-15T22:12:56Z | https://github.com/dart-lang/http/issues/457 | 675,577,142 | 457 |
[
"dart-lang",
"http"
] | Connecting to VM Service at ws://127.0.0.1:59842/IoMRilthWTg=/ws
D/EGL_emulation(13344): eglMakeCurrent: 0xe5cde9a0: ver 2 0 (tinfo 0xe229e100)
D/eglCodecCommon(13344): setVertexArrayObject: set vao to 0 (0) 1 0
I/flutter (13344): null
I/flutter (13344): Error on line 1, column 5: Invalid media type: expected "/".
... | Hey i tried fetching data from My PHP API but getting these errors. | https://api.github.com/repos/dart-lang/http/issues/456/comments | 0 | 2020-08-08T19:32:12Z | 2020-08-08T19:35:19Z | https://github.com/dart-lang/http/issues/456 | 675,576,567 | 456 |
[
"dart-lang",
"http"
] | Like the Spring developer team has done, it would be interesting to consider that all content-type "application/json" responses where encoded with UTF-8 charset.
From Spring Team:
/**
* A String equivalent of {@link MediaType#APPLICATION_JSON_UTF8}.
* @deprecated as of 5.2 in favor of {@link #APPLICATION_JSON... | Json Content-Type and explicity encoding declaration | https://api.github.com/repos/dart-lang/http/issues/455/comments | 4 | 2020-08-08T03:05:47Z | 2021-07-16T20:36:42Z | https://github.com/dart-lang/http/issues/455 | 675,413,930 | 455 |
[
"dart-lang",
"http"
] | I have a domain using SSL. If I use `var response = await http.post('https://...', ...)` it means that this request and the response to that is safe?
If not, can someone help me to make it safe, please?
Sorry if this is not the place to make this question.
Thank you. | Question: Using URL with https means that it is secure? | https://api.github.com/repos/dart-lang/http/issues/454/comments | 2 | 2020-08-03T17:45:00Z | 2020-08-03T20:17:21Z | https://github.com/dart-lang/http/issues/454 | 672,239,808 | 454 |
[
"dart-lang",
"http"
] | Tirumalas-MacBook-Pro:pustalk Tyrus$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
... | Compilation error | https://api.github.com/repos/dart-lang/http/issues/453/comments | 2 | 2020-08-03T05:05:17Z | 2021-07-15T21:54:14Z | https://github.com/dart-lang/http/issues/453 | 671,796,425 | 453 |
[
"dart-lang",
"http"
] | when i tried to upload the image to server, it was suddenly started giving this error, Can someone please help here? | type 'MultipartRequest' is not a subtype of type 'Request' in type cast | https://api.github.com/repos/dart-lang/http/issues/452/comments | 0 | 2020-07-29T18:15:04Z | 2020-08-02T05:21:41Z | https://github.com/dart-lang/http/issues/452 | 668,041,777 | 452 |
[
"dart-lang",
"http"
] | Hi
I have tested speed of http2 library and it is much slower comparing to http. I tested with client and server being on my local. Server is written in Go and client in Dart. To downloaded 100mb file with HttpClient it takes 4s and http2 takes 15s.
I faced this issue with GRPC. We are downloading files with GRP... | http2 seems to be slow | https://api.github.com/repos/dart-lang/http/issues/1365/comments | 3 | 2020-07-28T17:06:21Z | 2024-10-18T09:08:05Z | https://github.com/dart-lang/http/issues/1365 | 2,596,930,800 | 1,365 |
[
"dart-lang",
"http"
] | When I try to call the API, I get the error 415.
I have found out the issue due to the Content-Type as application/x-www-form-urlencoded.
After that I have checked the http.dart, It have comment
/// content-type of the request will be set to
/// `"application/x-www-form-urlencoded"`; this cannot be overridden.
... | Failed to call API 415 "Unsupported Media Type" | https://api.github.com/repos/dart-lang/http/issues/450/comments | 1 | 2020-07-28T04:17:21Z | 2020-07-28T04:29:49Z | https://github.com/dart-lang/http/issues/450 | 666,743,654 | 450 |
[
"dart-lang",
"http"
] | How to parse MTOM / XOP and SOAP in response to save attachment file? | How to analyze MTOM / XOP and SOAP in response | https://api.github.com/repos/dart-lang/http/issues/449/comments | 1 | 2020-07-24T20:39:59Z | 2021-07-15T21:55:21Z | https://github.com/dart-lang/http/issues/449 | 665,405,980 | 449 |
[
"dart-lang",
"http"
] | Hi,
I try to connect the IOWebSocketChannel to a embedded server in android. I have tested the Flutter based client side against echo.websocket.org and it works as expected.
I also can connect to the local server (code below) and the local server is already accepting the connection without any error. But when I sen... | Trouble with NIO server in android java | https://api.github.com/repos/dart-lang/http/issues/1524/comments | 0 | 2020-07-24T10:40:22Z | 2025-01-22T16:02:17Z | https://github.com/dart-lang/http/issues/1524 | 2,804,772,753 | 1,524 |
[
"dart-lang",
"http"
] | body 不能传数字???? | https://api.github.com/repos/dart-lang/http/issues/448/comments | 1 | 2020-07-21T03:18:40Z | 2020-07-21T05:47:51Z | https://github.com/dart-lang/http/issues/448 | 662,524,495 | 448 | |
[
"dart-lang",
"http"
] | I am using http: ^0.12.2. Although other device like macOS, even iOS simulators are able to work with http normally.
It fails after I try to debug in my physical device. Is it a bug in iOS?
[Other suggests to use **Dio**](https://stackoverflow.com/questions/54253064/flutter-http-request-not-being-executed-on-ios), ... | Why http doesn't work in physical ios device? | https://api.github.com/repos/dart-lang/http/issues/447/comments | 2 | 2020-07-20T09:51:54Z | 2021-07-15T22:01:34Z | https://github.com/dart-lang/http/issues/447 | 661,616,973 | 447 |
[
"dart-lang",
"http"
] | I try to fetch data from my api on "10.0.2.2:8000/api/membres" but got error like type List dynamic is not a subtype of type .
`import 'dart:convert';
import 'package:http/http.dart';
import 'package:http_interceptor/http_client_with_interceptor.dart';
import 'package:secure_view/models/CountryCode.dart';... | Exception has occurred. _TypeError (type '(dynamic) => CountryCode' is not a subtype of type '(String, dynamic) => MapEntry<dynamic, dynamic>' of 'transform') | https://api.github.com/repos/dart-lang/http/issues/446/comments | 2 | 2020-07-17T12:42:57Z | 2022-12-21T15:26:32Z | https://github.com/dart-lang/http/issues/446 | 659,225,263 | 446 |
[
"dart-lang",
"http"
] | I have made an **ajax http post request** and tried it in Fiddler and it worked, but when I tried to run the exact same request in Dart, the request body doesn't got transferred to the server. Is something wrong with my Dart **request body**?
` Response response = await client.post(
'https://intranet.tam.ch/... | My http Body doesn't gets transmitted to the server | https://api.github.com/repos/dart-lang/http/issues/445/comments | 0 | 2020-07-16T22:28:49Z | 2020-07-21T10:55:01Z | https://github.com/dart-lang/http/issues/445 | 658,625,743 | 445 |
[
"dart-lang",
"http"
] | I get the following exception when I make http requests, what could be happening? The exception itself occurs when making get requests.
In addition to the http package I use httpinterceptor, but origin marks in an http plugin file
Note: this does not happen all the time, it rarely occurs
: [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception:
E/flutter ( 3983): #0 IOClient.send (package:http/src/io_client.dart:6... | HTTP request results in exception when body is not read by the server. | https://api.github.com/repos/dart-lang/http/issues/437/comments | 7 | 2020-06-29T05:24:20Z | 2022-09-08T19:34:02Z | https://github.com/dart-lang/http/issues/437 | 647,121,284 | 437 |
[
"dart-lang",
"http"
] | Hello,
can someone help me to understand, what happens when the user activates the lockscreen.?
For me it looks like the connection gets disconnected and is not reverting back.
Do I get a onError or onDone event when the lockscreen is activated?
For my use case it's required to keep the socket open during the... | How to handle the websocket stream, when lockscreen is activated | https://api.github.com/repos/dart-lang/http/issues/1543/comments | 1 | 2020-06-26T07:01:58Z | 2025-01-22T16:02:58Z | https://github.com/dart-lang/http/issues/1543 | 2,804,774,280 | 1,543 |
[
"dart-lang",
"http"
] | Yes, I read the notice in your code where you said about "underlying XMLHttpRequest API doesn't expose any specific information", but is it really **true**? No response, no headers?! As for me it is impossible, sorry. :) I think something **must be**. When I call unexistent URL using your client, of host is down, or in... | XMLHttpRequest response details needed! | https://api.github.com/repos/dart-lang/http/issues/434/comments | 4 | 2020-06-19T11:08:21Z | 2021-06-23T18:44:05Z | https://github.com/dart-lang/http/issues/434 | 641,892,107 | 434 |
[
"dart-lang",
"http"
] | Hi, I get an ```XMLHttpRequest error.``` when I run the following line of code in a flutter web app:
```http.Response response = await http.get(theUrl);``` . The code works fine for a Mobile app. I am not sure if this is a bug, or if I'm doing something wrong. How do I solve the problem?
<details>
<summary>Error ... | XMLHttpRequest error for web app when attempting to get http response code | https://api.github.com/repos/dart-lang/http/issues/433/comments | 13 | 2020-06-18T08:15:56Z | 2024-09-26T06:46:00Z | https://github.com/dart-lang/http/issues/433 | 641,005,396 | 433 |
[
"dart-lang",
"http"
] | Hi,
I try to set followRedirects to false to intercept the value in the location header of the response. But it not work on flutter web, when I try to build code in mobile side, it work normal.
How can I make it work, or it is the expect behavior in the web?
```
// http: ^0.12.1
import 'package:http/http.dar... | Set followRedirects to false not work on flutter web. | https://api.github.com/repos/dart-lang/http/issues/432/comments | 11 | 2020-06-16T10:04:46Z | 2024-11-14T11:53:39Z | https://github.com/dart-lang/http/issues/432 | 639,538,783 | 432 |
[
"dart-lang",
"http"
] | When making an HTTP POST, the lists are loosing the order. This is the case:
```
import 'dart:async';
import 'dart:convert';
import 'package:http/http.dart' as http;
class MatchClient {
final String baseUrl;
final http.Client httpClient;
MatchClient({
http.Client httpClient,
this.baseUrl =... | Flutter http.dart POST Ordered list | https://api.github.com/repos/dart-lang/http/issues/431/comments | 0 | 2020-06-12T01:27:48Z | 2020-06-12T12:49:42Z | https://github.com/dart-lang/http/issues/431 | 637,420,994 | 431 |
[
"dart-lang",
"http"
] | ```dart
import 'dart:convert';
import 'package:eaduanfsktm/api.dart';
import 'package:eaduanfsktm/sejarahaduan.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:http/http.dart' as http;
import 'package:eaduanfsktm/model/modelRuangFasiliti.dart';
import 'package:flutter/cupertino.dart';
imp... | Exception has occurred. _TypeError (type 'List<dynamic>' is not a subtype of type 'RuangFasiliti') | https://api.github.com/repos/dart-lang/http/issues/428/comments | 1 | 2020-06-05T05:28:16Z | 2020-06-05T18:20:06Z | https://github.com/dart-lang/http/issues/428 | 631,323,000 | 428 |
[
"dart-lang",
"http"
] | I was reading the docs trying to help someone out in StackOverflow on how to show an upload progress, and I came across [StreamedRequest.sink](https://pub.dev/documentation/http/latest/http/StreamedRequest/sink.html), which isn't clear how data is being sent.
The docs say data added to the sink will be sent, but how... | Improve the docs regarding errors. | https://api.github.com/repos/dart-lang/http/issues/427/comments | 0 | 2020-06-02T20:05:38Z | 2020-06-02T20:05:38Z | https://github.com/dart-lang/http/issues/427 | 629,478,679 | 427 |
[
"dart-lang",
"http"
] | for example in "File" class:
copy
copySync
create
createSync
... | add "Sync" method for easy use in command line tool like "File" class in dart:io | https://api.github.com/repos/dart-lang/http/issues/426/comments | 1 | 2020-06-01T14:38:48Z | 2020-06-16T22:34:30Z | https://github.com/dart-lang/http/issues/426 | 628,487,941 | 426 |
[
"dart-lang",
"http"
] | I am trying to send a multipart form-data request in flutter using http package
# Code is as below:
**//request**
var request = http.MultipartRequest('POST', Uri.parse(uploadDocumentsUrl));
**//add header fields from requestHeader map**
request.headers.addAll(requestHeader);
**//add fields**
request.fields... | Multipart form-data request is not working properly. Am i missing something here? | https://api.github.com/repos/dart-lang/http/issues/425/comments | 13 | 2020-05-30T13:10:18Z | 2024-08-07T02:15:04Z | https://github.com/dart-lang/http/issues/425 | 627,728,925 | 425 |
[
"dart-lang",
"http"
] | Afternoon,
The example code doesn't run in flutter web, you get the following exception:
`Error: Unsupported operation: Platform._version
at Object.throw_ [as throw] (http://localhost:55950/dart_sdk.js:4461:11)
at Function._version (http://localhost:55950/dart_sdk.js:54369:17)
at Function.get versi... | This package is marked as being compatible with Flutter Web, but it isn't; unless I've missed something? | https://api.github.com/repos/dart-lang/http/issues/1542/comments | 9 | 2020-05-29T13:48:30Z | 2025-01-22T16:02:58Z | https://github.com/dart-lang/http/issues/1542 | 2,804,774,271 | 1,542 |
[
"dart-lang",
"http"
] | On the web `HttpRequest` supports `abort`: https://api.dart.dev/stable/2.8.1/dart-html/HttpRequest/abort.html
We have a proposal for adding abort on the `dart:io` `HttpClientRequest`: https://dart-review.googlesource.com/c/sdk/+/147339
We need to come up with a design for supporting `abort` through the interfaces... | Design an API to support aborting requests | https://api.github.com/repos/dart-lang/http/issues/424/comments | 62 | 2020-05-28T19:51:57Z | 2025-06-03T21:27:58Z | https://github.com/dart-lang/http/issues/424 | 626,771,885 | 424 |
[
"dart-lang",
"http"
] | Hello,
i use your plugin.
Then i try to upload small files it works but then i upload large file i it does not work.
I use http Version (0.12.1)
Can you help me with that? | http post max size | https://api.github.com/repos/dart-lang/http/issues/423/comments | 2 | 2020-05-25T12:52:50Z | 2025-05-17T08:05:02Z | https://github.com/dart-lang/http/issues/423 | 624,282,094 | 423 |
[
"dart-lang",
"http"
] | According to the docs it says:
> If you're making multiple requests to the same server, you can keep open a persistent connection by using a Client rather than making one-off requests. If you do this, make sure to close the client when you're done:
However, in most mobile apps, you tend to send most requests to a... | Best practices on if and when you should close HTTP connections in flutter apps? | https://api.github.com/repos/dart-lang/http/issues/422/comments | 24 | 2020-05-23T05:49:36Z | 2025-03-11T11:38:38Z | https://github.com/dart-lang/http/issues/422 | 623,588,501 | 422 |
[
"dart-lang",
"http"
] | 
| How to add or ignore certificates | https://api.github.com/repos/dart-lang/http/issues/1541/comments | 4 | 2020-05-23T02:15:37Z | 2025-01-22T16:02:57Z | https://github.com/dart-lang/http/issues/1541 | 2,804,774,253 | 1,541 |
[
"dart-lang",
"http"
] | After receiving a message from server the channel.stream.listen does not trigger setstate.
My Code:
`import 'dart:developer';`
`import 'package:flutter/material.dart';`
`import 'services/login_service.dart';`
`import 'services/socket_service.dart';`
`class LoginPage extends StatefulWidget {`
` @overrid... | channel.stream.listen cannot trigger setstate() | https://api.github.com/repos/dart-lang/http/issues/1540/comments | 1 | 2020-05-21T12:22:13Z | 2025-01-22T16:02:57Z | https://github.com/dart-lang/http/issues/1540 | 2,804,774,238 | 1,540 |
[
"dart-lang",
"http"
] | Hi!
I'm having issues getting the plugin to work in background isolate (android_alarm_manager).
Here's a piece of code that gets executed perfectly when used inside my application, but fails to run when running in a background isolate:
```
var headers = {
'Content-Type': 'application/x-www-form-urlencode... | java.lang.Exception at IOClient.send(io_client.dart:62) | https://api.github.com/repos/dart-lang/http/issues/421/comments | 2 | 2020-05-17T07:33:32Z | 2020-06-16T22:41:27Z | https://github.com/dart-lang/http/issues/421 | 619,633,220 | 421 |
[
"dart-lang",
"http"
] | dear all,
as:
```
// process request
final http.StreamedResponse resp = await XXX;
final int time = TimeUtil.timestamp();
final Uint8List bytes = await resp.stream.toBytes();
log.fine('time (bytes): ', (TimeUtil.timestamp() - time));
//log.finest('bytes: ', bytes);
```
the ... | response get bytes (or else meanwhile) may extremely slow | https://api.github.com/repos/dart-lang/http/issues/420/comments | 2 | 2020-05-15T08:36:23Z | 2020-06-16T22:54:37Z | https://github.com/dart-lang/http/issues/420 | 618,797,821 | 420 |
[
"dart-lang",
"http"
] | I don't think so because when I try to use it I get an
> Unsupported operation: Platform._version | is this supposed to work with flutter web? | https://api.github.com/repos/dart-lang/http/issues/1539/comments | 2 | 2020-05-14T22:58:16Z | 2025-01-22T16:02:56Z | https://github.com/dart-lang/http/issues/1539 | 2,804,774,227 | 1,539 |
[
"dart-lang",
"http"
] | Im using version 1.1.0 and when deploying to web, I get the following error
```
Uncaught (in promise) Error: Unsupported operation: Platform._version
at Object.throw_ [as throw] (errors.dart:195)
at Function._version (io_patch.dart:286)
at Function.get version [as version] (platform_impl.dart:123)
... | Unsupported Platform._version operation when calling connect on flutter web | https://api.github.com/repos/dart-lang/http/issues/1538/comments | 2 | 2020-05-14T21:38:28Z | 2025-01-22T16:02:56Z | https://github.com/dart-lang/http/issues/1538 | 2,804,774,211 | 1,538 |
[
"dart-lang",
"http"
] | We occasionally see an error with the message "type '(HttpException) => Null' is not a subtype of type '(dynamic) => dynamic'" with the top of the stack
```#0 _invokeErrorHandler (dart:async/async_error.dart:18)
#1 _HandleErrorStream._handleError (dart:async/stream_pipe.dart:288)
#2 _ForwardingStrea... | type '(HttpException) => Null' is not a subtype of type '(dynamic) => dynamic' | https://api.github.com/repos/dart-lang/http/issues/418/comments | 18 | 2020-05-12T11:58:35Z | 2020-07-14T21:27:52Z | https://github.com/dart-lang/http/issues/418 | 616,598,503 | 418 |
[
"dart-lang",
"http"
] | can I use MockClient to verify if the function has been call and its params.
I can not find any function about this. | can I use MockClient to verify if the function has been call and its params | https://api.github.com/repos/dart-lang/http/issues/417/comments | 1 | 2020-05-12T07:29:22Z | 2020-05-13T22:08:49Z | https://github.com/dart-lang/http/issues/417 | 616,427,694 | 417 |
[
"dart-lang",
"http"
] | Hi guys, I got a problem with the header.
> Invalid header field name, with 128
I'm using an iOS simulator. And if I not mistaken iOS simulator works well with localhost, in general, I have an information emulator that cannot access the localhost. That's why I have a decision it is maybe a bug.
When I use an... | Invalid header field name, with 128 | https://api.github.com/repos/dart-lang/http/issues/416/comments | 34 | 2020-05-10T21:20:05Z | 2020-09-19T23:04:35Z | https://github.com/dart-lang/http/issues/416 | 615,478,848 | 416 |
[
"dart-lang",
"http"
] | I can't receive response when using get method in flutter app
This is my pubspec.yaml file
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS ... | Problem in get method | https://api.github.com/repos/dart-lang/http/issues/415/comments | 1 | 2020-05-10T14:15:49Z | 2020-06-16T22:49:55Z | https://github.com/dart-lang/http/issues/415 | 615,400,848 | 415 |
[
"dart-lang",
"http"
] | I have a python script running some data through a socket. I can connect to it with a python client program which accepts the data stream and plots the data fine.
I have a flutter program aiming to do the same and follow the basic flow of the cookbook: https://flutter.dev/docs/cookbook/networking/web-sockets.
T... | Aborts connection on local python TCP socket | https://api.github.com/repos/dart-lang/http/issues/1537/comments | 1 | 2020-05-10T00:55:13Z | 2025-01-22T16:02:56Z | https://github.com/dart-lang/http/issues/1537 | 2,804,774,199 | 1,537 |
[
"dart-lang",
"http"
] | I have code like
```
class CustomHttpClient extends IOClient {
CustomHttpClient({Map<String, String> headers})
: this._headers = headers ?? <String, String>{},
super();
final Map<String, String> _headers;
@override
Future<StreamedResponse> send(BaseRequest request) =>
super.send... | IOClient send override | https://api.github.com/repos/dart-lang/http/issues/414/comments | 2 | 2020-05-02T17:13:17Z | 2020-05-02T18:45:12Z | https://github.com/dart-lang/http/issues/414 | 611,233,885 | 414 |
[
"dart-lang",
"http"
] | Hi, I wanna use a method like 'CLAIM' instead of Get, post, delete, etc. How can do that?
| Sending a custom http method | https://api.github.com/repos/dart-lang/http/issues/413/comments | 2 | 2020-05-02T16:56:43Z | 2024-01-12T22:20:58Z | https://github.com/dart-lang/http/issues/413 | 611,230,692 | 413 |
[
"dart-lang",
"http"
] | I am using flutter application to talk with azure cosmos db. cosmos db has a sql query based rest api. Where the content type should be application/query+json.
I tried connecting to cosmos db using postman it worked but in flutter i am getting an exception as
~~~
Bad state: Cannot set the body fields of a Request w... | Http.post not accepting content type application/query+json. | https://api.github.com/repos/dart-lang/http/issues/412/comments | 1 | 2020-04-29T12:11:45Z | 2020-06-03T12:49:09Z | https://github.com/dart-lang/http/issues/412 | 609,007,133 | 412 |
[
"dart-lang",
"http"
] | Hey there,
I'm doing some tests with websockets and I've noticed a very strange behavior. I've implemented [flutter-dev's example](https://flutter.dev/docs/cookbook/networking/web-sockets), just changing the socket kind to `HtmlWebSocketChannel` in order to make it work in web builds.
If I compile my app with `flutte... | Plugin working in local web but not in Firebase Hosting | https://api.github.com/repos/dart-lang/http/issues/1536/comments | 1 | 2020-04-29T09:45:40Z | 2025-01-22T16:02:55Z | https://github.com/dart-lang/http/issues/1536 | 2,804,774,188 | 1,536 |
[
"dart-lang",
"http"
] | I haven't found a complete document so for. So i want to learn how can i implement authtication. | About oath or username + password | https://api.github.com/repos/dart-lang/http/issues/1535/comments | 0 | 2020-04-28T08:21:51Z | 2025-01-22T16:02:55Z | https://github.com/dart-lang/http/issues/1535 | 2,804,774,177 | 1,535 |
[
"dart-lang",
"http"
] | I'm importing the html version like this:
`import 'package:web_socket_channel/html.dart';`
and then I'm using this call to create the channel:
```
channel = HtmlWebSocketChannel.connect(
'wss://my.domain.com:1234/ws');
```
But when I build for mobile, is there a way to condition thi... | conditional import for code base that is also used for mobile? | https://api.github.com/repos/dart-lang/http/issues/1534/comments | 3 | 2020-04-27T21:35:04Z | 2025-01-22T16:02:55Z | https://github.com/dart-lang/http/issues/1534 | 2,804,774,159 | 1,534 |
[
"dart-lang",
"http"
] | I am experiencing a loss of the first data message after opening the socket. when I start my app the WebSocket server immediately sends 2 messages to set some variables with actual initial values.
The first message only arrives without fault if I wait for about 200 msec to send the 2nd.
I have been looking into the ... | First received message after connection needs waiting time! | https://api.github.com/repos/dart-lang/http/issues/1631/comments | 2 | 2020-04-27T15:34:48Z | 2025-01-22T16:06:36Z | https://github.com/dart-lang/http/issues/1631 | 2,804,782,456 | 1,631 |
[
"dart-lang",
"http"
] | I found something wrong, maybe it's a bug of the channel. The thing is that When the channel connecting with LTE, it is ok. But later I have closen the LTE. The stranger thing appeared. The onDone method was not called. I think it 's a bug of the web_socket_channel.
But When using the Wifi, I didn't find the situati... | The onDone method could not be called when the connection is broken In LTE. | https://api.github.com/repos/dart-lang/http/issues/1630/comments | 2 | 2020-04-27T03:25:18Z | 2025-01-22T16:05:53Z | https://github.com/dart-lang/http/issues/1630 | 2,804,780,889 | 1,630 |
[
"dart-lang",
"http"
] | I do not see a method called onDisconnect to simplify this, like in golang side , melody framework, there is a HandleDisconnect.
What I saw is that even my wifi is on, some times the web socket just get disconnected, and there is no signal emitted, or I do not know how to listen to the event, is there anyone can pro... | I wonder how to detect a disconnect event happening. | https://api.github.com/repos/dart-lang/http/issues/1629/comments | 3 | 2020-04-24T04:40:32Z | 2025-01-22T16:05:56Z | https://github.com/dart-lang/http/issues/1629 | 2,804,780,872 | 1,629 |
[
"dart-lang",
"http"
] | I have an app that makes requests here and there and it doesn't work both on Web and on Android, because some headers are missing when on the Web.
```dart
final response = await _client.post(
'http://100.115.92.198:8080/login',
body: jsonEncode({
'email': email,
'password': password,
}),
heade... | Flutter Web Missing Response Headers | http 0.12.0+4 | https://api.github.com/repos/dart-lang/http/issues/409/comments | 3 | 2020-04-21T11:30:42Z | 2023-11-22T14:04:43Z | https://github.com/dart-lang/http/issues/409 | 603,924,584 | 409 |
[
"dart-lang",
"http"
] | https://www.example.com/android-ppush.php content 1862981
after while i change it while app open to 1862982
it's take time to stable to 1862982 , why ??
```
Timer.periodic(Duration(seconds: 1), (timer) async {
final response =
await http.get('https://www.example.com/android-ppush.php');
... | http.get not working into Timer loop flutter | https://api.github.com/repos/dart-lang/http/issues/408/comments | 2 | 2020-04-19T17:58:50Z | 2020-06-16T22:59:57Z | https://github.com/dart-lang/http/issues/408 | 602,780,854 | 408 |
[
"dart-lang",
"http"
] | <!--
Please describe the bug and how to reproduce it.
Note that if the bug can also be reproduced when going through the interfaces
provided by `dart:html or `dart:io` directly the bug should be filed against
the Dart SDK: https://github.com/dart-lang/sdk/issues
A failure to make an http request is m... | delete function send an HTTP OPTIONS rather than DELETE request | https://api.github.com/repos/dart-lang/http/issues/407/comments | 1 | 2020-04-19T10:40:22Z | 2020-06-16T22:57:46Z | https://github.com/dart-lang/http/issues/407 | 602,681,884 | 407 |
[
"dart-lang",
"http"
] | refer to this questioin :
[this one](https://stackoverflow.com/questions/61299935/flutter-httpexceptions-handling)
HttpExceptions are not throw when status code is not 200 (or OK) | HttpExceptions is not get | https://api.github.com/repos/dart-lang/http/issues/406/comments | 6 | 2020-04-19T06:09:03Z | 2020-11-09T22:44:35Z | https://github.com/dart-lang/http/issues/406 | 602,632,906 | 406 |
[
"dart-lang",
"http"
] |
url:'https://img.jimmychat.com/data/users/10/head/2CDF36E4283D4EC0.png'
When accessing this link on an iOS device, there will be a moment of unresponsiveness | No response when accessing the specified link | https://api.github.com/repos/dart-lang/http/issues/405/comments | 0 | 2020-04-18T12:45:09Z | 2020-04-21T01:58:23Z | https://github.com/dart-lang/http/issues/405 | 602,452,394 | 405 |
[
"dart-lang",
"http"
] | Hello,
I'm trying to use dart2js to compile my dart package as a node package that I want to put on nom later.
Currently it doesn't work because `web_socket_channel` has no implementation for that runtime.
Is there a way to make this append ? Can I help ? | NodeJS support | https://api.github.com/repos/dart-lang/http/issues/1628/comments | 1 | 2020-04-18T07:45:30Z | 2025-01-22T16:05:53Z | https://github.com/dart-lang/http/issues/1628 | 2,804,780,862 | 1,628 |
[
"dart-lang",
"http"
] | how to solve flutter web ERR_CERT_AUTHORITY_INVALID error while performing a POST request?
Do you have a bad Certificate Callback that I can use?
XMLHttpRequest error.
Thanks in advance | ERR_CERT_AUTHORITY_INVALID | https://api.github.com/repos/dart-lang/http/issues/404/comments | 3 | 2020-04-17T22:54:57Z | 2020-04-20T19:40:19Z | https://github.com/dart-lang/http/issues/404 | 602,274,911 | 404 |
[
"dart-lang",
"http"
] | This POST request doesn't timeout when using an ip address as the host. When i use the domain name it does. Anyone else have this problem?
<img width="333" alt="Screen Shot 2020-04-16 at 10 11 23 PM" src="https://user-images.githubusercontent.com/14809526/79524713-36d57b00-802f-11ea-8760-09abf4e50ea8.png">
| Not timing out for POST request using IP address | https://api.github.com/repos/dart-lang/http/issues/403/comments | 1 | 2020-04-17T02:12:22Z | 2022-05-20T00:32:30Z | https://github.com/dart-lang/http/issues/403 | 601,652,484 | 403 |
[
"dart-lang",
"http"
] | null | socket channel stream, automatically gets disconnected ( onDone: () is called ) when the internet connection goes off. this happens only in android, in web the connection persists. how to stop the "channel.stream" from getting disconnected in android ? | https://api.github.com/repos/dart-lang/http/issues/1627/comments | 1 | 2020-04-11T11:05:30Z | 2025-01-22T16:05:52Z | https://github.com/dart-lang/http/issues/1627 | 2,804,780,848 | 1,627 |
[
"dart-lang",
"http"
] | Hi.
Thank you for this amazing plugin..
I'm using this plugin for ```get()``` & ```post()```, and every thing work fine.
But when I used ```put()``` it's give me an error
This's my Dio:
```
void setupDio() {
_dio.interceptors.add(DioInterceptors());
_dio.options.baseUrl = _config.restBaseURL;
_dio.... | Content type 'application/octet-stream' not supported | Status: 415 | https://api.github.com/repos/dart-lang/http/issues/402/comments | 2 | 2020-04-09T22:10:40Z | 2021-03-05T02:55:50Z | https://github.com/dart-lang/http/issues/402 | 597,582,813 | 402 |
[
"dart-lang",
"http"
] | During debug my app works ok, but release build failed with exception:
`Error: SocketException: Failed host lookup: 'blah-blah' (OS Error No address associated with hostname, error = 7)`
This issue could be solved by manually added permission to android/app/src/main/AndroidManifest.xml:
`<uses-permission android... | HTTP request failed on release build - SocketException: Failed host lookup | https://api.github.com/repos/dart-lang/http/issues/401/comments | 1 | 2020-04-08T09:39:22Z | 2020-04-10T21:38:00Z | https://github.com/dart-lang/http/issues/401 | 596,444,920 | 401 |
[
"dart-lang",
"http"
] | I would like to fetch information from an API using an HTTP GET request to a public endpoint which returns XML, in Flutter (web).
However, when I run the code in debug mode, and I reach the screen where the API HTTP request is made, app freezes.
I wrote the following code:
```
import 'dart:async';
import '... | Flutter web app freezes when http get request is made | https://api.github.com/repos/dart-lang/http/issues/400/comments | 4 | 2020-04-02T15:28:08Z | 2020-04-21T10:11:21Z | https://github.com/dart-lang/http/issues/400 | 592,720,706 | 400 |
[
"dart-lang",
"http"
] | I'm not sure but when I checked the lib it first calls get request on websocket host address and awaits for 101 switch protocol. In my case even in postman it's not giving 101 but for some strange reason on java end it gives 101 and able to connect from Java lib. Can you look into it? or give me some idea why and what ... | not able to connect to Stomp server | https://api.github.com/repos/dart-lang/http/issues/1626/comments | 2 | 2020-03-29T19:25:33Z | 2025-01-22T16:05:52Z | https://github.com/dart-lang/http/issues/1626 | 2,804,780,833 | 1,626 |
[
"dart-lang",
"http"
] | I do not see any about wss://config and cert file config in the SDK.
Actually, in production ent, this is most important, but the demo is nothing to reference. | How to make wss:// and check cert in the app? | https://api.github.com/repos/dart-lang/http/issues/1625/comments | 0 | 2020-03-28T06:52:51Z | 2025-01-22T16:05:51Z | https://github.com/dart-lang/http/issues/1625 | 2,804,780,814 | 1,625 |
[
"dart-lang",
"http"
] | I have added web support to my app.
And I am trying to run app in chrome localhost using **flutter run -d chrome**, but it returns bad state: no element error to me.
But it works in mobile version.
App is [here](https://github.com/KenanYusubov/Corona-Tracker).
| Http request fails while I am using it web support added to existing app | https://api.github.com/repos/dart-lang/http/issues/398/comments | 2 | 2020-03-26T06:38:04Z | 2020-04-01T22:53:16Z | https://github.com/dart-lang/http/issues/398 | 588,190,776 | 398 |
[
"dart-lang",
"http"
] | var client = http.Client();
client.send(fullRequest)
需要监听上传发送进度 怎么搞呢? | send如何监听发送进度 | https://api.github.com/repos/dart-lang/http/issues/397/comments | 1 | 2020-03-23T01:25:29Z | 2020-04-13T20:24:49Z | https://github.com/dart-lang/http/issues/397 | 585,865,999 | 397 |
[
"dart-lang",
"http"
] | var client = http.Client();
client.send(fullRequest)
需要监听上传发送进度 怎么搞呢? | send如何减轻发送进度 | https://api.github.com/repos/dart-lang/http/issues/396/comments | 1 | 2020-03-23T01:24:06Z | 2021-07-15T22:24:29Z | https://github.com/dart-lang/http/issues/396 | 585,865,622 | 396 |
[
"dart-lang",
"http"
] | Trying to connect to a websocket service i made thats listening on port 3300 on localhost...
related code:
`final ws = IOWebSocketChannel.connect("ws://localhost:3300")`
`Unhandled Exception: WebSocketChannelException: WebSocketChannelException: SocketException: OS Error: Connection refused, errno = 111, address = l... | Not accepting a port | https://api.github.com/repos/dart-lang/http/issues/1623/comments | 1 | 2020-03-19T16:16:52Z | 2025-01-22T16:05:31Z | https://github.com/dart-lang/http/issues/1623 | 2,804,780,099 | 1,623 |
[
"dart-lang",
"http"
] | I'm facing an issue in which sockets are connecting more than once. | How to detect the socket connection status? | https://api.github.com/repos/dart-lang/http/issues/1622/comments | 3 | 2020-03-18T15:36:54Z | 2025-01-22T16:05:31Z | https://github.com/dart-lang/http/issues/1622 | 2,804,780,090 | 1,622 |
[
"dart-lang",
"http"
] | using the same code, i have no issues running a get request on android. but compiling to flutter web returns a 405 status error

the code used:
class NoteService {
static const API = "htt... | Request blocked by CORS in flutter web | https://api.github.com/repos/dart-lang/http/issues/394/comments | 2 | 2020-03-13T15:44:41Z | 2023-04-02T23:30:55Z | https://github.com/dart-lang/http/issues/394 | 580,685,836 | 394 |
[
"dart-lang",
"http"
] | I have a flutter app using a self signed certificate. All of a sudden, my app couldn't connect to my rpc server. I thought this issue was related to server but this never happened to me when I use this native Android.
CERTIFICATE_VERIFY_FAILED: certificate has expired(handshake.cc:354)). I put 9999 for validity valu... | CERTIFICATE_VERIFY_FAILED: certificate has expired. | https://api.github.com/repos/dart-lang/http/issues/393/comments | 6 | 2020-03-10T16:55:04Z | 2021-10-27T08:57:17Z | https://github.com/dart-lang/http/issues/393 | 578,724,766 | 393 |
[
"dart-lang",
"http"
] | I use `aqueduct` package for creating REST API. I need to send `json` from client to server but your packages says that `application/www-form-urlencoded` content type must be used and cannot be overriden. When I make a REST API call I get an error `415 Unsupported media type` and this is correct beucase `aqueduct` func... | Sending json as `application/www-form-urlencoded` and get error 415 Unsupported media type | https://api.github.com/repos/dart-lang/http/issues/392/comments | 2 | 2020-03-06T09:47:35Z | 2020-11-04T21:20:18Z | https://github.com/dart-lang/http/issues/392 | 576,814,821 | 392 |
[
"dart-lang",
"http"
] | i'm successful at connecting flutter to my nodejs server, i can send string by channel.sink.add('string'), but if i send json object channel.sink.add(jsonencode(x)), node js doesnt recognize it as a json object, it just recognize it as plain string. how to send it? | json object | https://api.github.com/repos/dart-lang/http/issues/1621/comments | 2 | 2020-03-02T13:28:47Z | 2025-01-22T16:05:31Z | https://github.com/dart-lang/http/issues/1621 | 2,804,780,072 | 1,621 |
[
"dart-lang",
"http"
] | Hello developers,
I am using http.MultipartFile.fromBytes to send a file to my nodejs backend server
I noticed that fileName is an optional parameter of the method.
but when not assigned, the method work but no file delivered to the server.
I suggest you change fileName to be a required parameter of fromBytes() ... | Change fileName from optional to required parameter of http.MultipartFile.fromBytes | https://api.github.com/repos/dart-lang/http/issues/390/comments | 1 | 2020-02-29T19:17:15Z | 2020-03-17T23:14:37Z | https://github.com/dart-lang/http/issues/390 | 573,394,582 | 390 |
[
"dart-lang",
"http"
] | can I use web_socket_channel in server side? if it yes, then How? is there a good tutorial?
how about use it with Aqueduct Framework? | can I use web_socket_channel in server side? | https://api.github.com/repos/dart-lang/http/issues/1583/comments | 1 | 2020-02-28T17:00:58Z | 2025-01-22T16:04:05Z | https://github.com/dart-lang/http/issues/1583 | 2,804,776,787 | 1,583 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.