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"
] | I am trying to connect API with HTTP.
When I use a URL from the host, it works.
But when I use a URL from localhost by the xampp, it will error.
The error is "FormatException: SyntaxError: Unexpected token < in JSON at position 0".
The URL from host and localhost can be used in The Postman.
basic code:
import ... | Flutterweb: HTTP error with localhost. | https://api.github.com/repos/dart-lang/http/issues/660/comments | 3 | 2022-01-19T11:20:26Z | 2022-02-16T10:43:04Z | https://github.com/dart-lang/http/issues/660 | 1,107,977,695 | 660 |
[
"dart-lang",
"http"
] | So the app is requesting AWS server with loadbalancer also running, and passing the load balancer cookie inside request header is not working with http client . But when i disable loadbalancer from aws and hit only one server from http client it works. So the http client is not able to distinguish between actual serv... | Http client not working with Two server including Loadbalancer with cookies | https://api.github.com/repos/dart-lang/http/issues/659/comments | 0 | 2022-01-14T12:26:13Z | 2022-01-14T12:26:52Z | https://github.com/dart-lang/http/issues/659 | 1,103,566,633 | 659 |
[
"dart-lang",
"http"
] | this is my code

and the response headers i can got just like this:

this is the result in pos... | when I use http to put a file to S3, the response i got is empty but there is normal in postman。 | https://api.github.com/repos/dart-lang/http/issues/658/comments | 0 | 2022-01-14T03:35:21Z | 2022-01-14T06:55:21Z | https://github.com/dart-lang/http/issues/658 | 1,102,873,628 | 658 |
[
"dart-lang",
"http"
] | I have a backend endpoint that requires having `;type=application/json` at the end of the field's content. Otherwise, it throws 415 error.
Here is working curl:
`curl --location --request POST 'https://example.com' --form 'account="{\"student\":null,}";type=application/json'`
From what I discovered we can only p... | How do I add a type to multipart request field? | https://api.github.com/repos/dart-lang/http/issues/656/comments | 1 | 2022-01-06T22:40:09Z | 2022-09-01T18:02:58Z | https://github.com/dart-lang/http/issues/656 | 1,095,763,748 | 656 |
[
"dart-lang",
"http"
] | Can't make request with cookie.
This is how it's done in curl:
```shell
curl -sS -I "url" -H "Cookie: sjv=123"
```
This is how it's done in python
```python
import requests
response = requests.head('url', cookies={'sjv': '123'})
```
Dart http not working:
```dart
import 'package:http/http.dart' as ht... | Doesn't work "http head request" with cookie? | https://api.github.com/repos/dart-lang/http/issues/655/comments | 0 | 2022-01-06T19:39:03Z | 2022-01-06T19:39:03Z | https://github.com/dart-lang/http/issues/655 | 1,095,633,008 | 655 |
[
"dart-lang",
"http"
] | When we use following code, the upload progress goes fast to 1.0 and then hangs there until upload is completed.
This is preventing us from showing upload progress bar to the users.
This is happening in flutter-web, flutter 2.5.3 and 2.8.1.
```
final request = MultipartRequest('PUT', Uri.parse('some-storage-u... | [flutter-web] MultipartRequest does not work | https://api.github.com/repos/dart-lang/http/issues/654/comments | 0 | 2022-01-06T18:16:21Z | 2022-01-06T18:40:39Z | https://github.com/dart-lang/http/issues/654 | 1,095,568,221 | 654 |
[
"dart-lang",
"http"
] | I´m doing a chat project and need send the message from one client for other clients.
the **websocket.sink.add** don´t do this. | Whow make a Broadcast for send a same message for all connect clients ? | https://api.github.com/repos/dart-lang/http/issues/1488/comments | 0 | 2022-01-04T22:56:37Z | 2025-01-22T15:57:09Z | https://github.com/dart-lang/http/issues/1488 | 2,804,760,361 | 1,488 |
[
"dart-lang",
"http"
] | @override
void initState() {
super.initState();
_webSocket = IOWebSocketChannel.connect("ws://xxxxxx");
_webSocket!.stream.listen((data){
debugPrint(data);
}, onError: (e){
WebSocketChannelException ex = e;
debugPrint('---ex------${ex.message}');
}, onDone: (){
//IOS trigger has a de... | IOS manually turn off cellular data, it takes a long time to trigger onDone | https://api.github.com/repos/dart-lang/http/issues/1487/comments | 3 | 2022-01-04T08:15:28Z | 2025-01-22T15:57:09Z | https://github.com/dart-lang/http/issues/1487 | 2,804,760,341 | 1,487 |
[
"dart-lang",
"http"
] | I use IOWebSocketChannel to connect 'https://xxxx' , then show the error : [VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: WebSocketException: Unsupported URL scheme 'https'
What's the problem ? How to fix it? pls help me! | Why can not connect Https ? | https://api.github.com/repos/dart-lang/http/issues/1486/comments | 4 | 2021-12-31T06:37:26Z | 2025-01-22T15:57:08Z | https://github.com/dart-lang/http/issues/1486 | 2,804,760,328 | 1,486 |
[
"dart-lang",
"http"
] | The doc comment says that the body "can be a `String`, a `List<int>` or a `Map<String, String>`." however we allow any `List` or `Map` and then enforce the value types with a `cast`.
https://github.com/dart-lang/http/blob/778174bca2c13becd88ef3353309190b1e8b9479/lib/src/base_client.dart#L85-L87
This is unnecessar... | Add better feedback around the types for `body` argument | https://api.github.com/repos/dart-lang/http/issues/652/comments | 2 | 2021-12-24T00:47:44Z | 2022-01-04T15:53:50Z | https://github.com/dart-lang/http/issues/652 | 1,088,067,166 | 652 |
[
"dart-lang",
"http"
] | Hi,
I try to upload some files to my server. I had problems with large files. So I wrote a test script that simulates files to find out the threshold. I can upload a 99MB file just fine, but I can't upload a 100MB file. There is an XMLHttpRequest error and my server is not contacted. So there is no 500 error or so.
... | Web. Can't send 100MB with a multipart request. | https://api.github.com/repos/dart-lang/http/issues/651/comments | 2 | 2021-12-22T15:17:16Z | 2021-12-22T16:25:11Z | https://github.com/dart-lang/http/issues/651 | 1,086,920,940 | 651 |
[
"dart-lang",
"http"
] | Hello!!
I researched the beautiful http package and encountered several questions. Maybe some users are interested with them. Could you help, please? )
We have: **IOClient** extends **BaseClient** implements **Client**.
And we also have **_HttpClient** implements **HttpClient**
When we use a global function (... | Question about architecture of http package | https://api.github.com/repos/dart-lang/http/issues/650/comments | 0 | 2021-12-22T10:47:54Z | 2021-12-22T10:50:06Z | https://github.com/dart-lang/http/issues/650 | 1,086,695,781 | 650 |
[
"dart-lang",
"http"
] | I want to make some get request and convert it in JSON. It's working pretty well but I don't have the entire response.
My content length is 1566, is this too large for this library ?
Thanks | What's the maximum length for get request ? | https://api.github.com/repos/dart-lang/http/issues/649/comments | 1 | 2021-12-20T19:04:19Z | 2024-01-12T22:32:41Z | https://github.com/dart-lang/http/issues/649 | 1,085,111,381 | 649 |
[
"dart-lang",
"http"
] | I copied-and-pasted some code that was using `StreamedRequest` for a `POST` and used it to make a `GET`. This led to intermittent 400s from Google Cloud Run and it took me time & packet dumps to realise that my Dart code was sending pipelined GETs with 0-length chunks attached to them.
It might save someone some tim... | Inadvertent use of StreamedRequest with GET sends a 0-length chunk | https://api.github.com/repos/dart-lang/http/issues/648/comments | 0 | 2021-12-11T09:13:31Z | 2021-12-11T09:13:31Z | https://github.com/dart-lang/http/issues/648 | 1,077,478,764 | 648 |
[
"dart-lang",
"http"
] | ```
WebSocketChannel.connect(Uri.parse(hostUrl));
```
fails with the error
```
Connection Failed: Unsupported operation: Platform._version
```
This only happens in release when I publish to firebase. It does not happen while debugging in chrome or as a macOS app
Im using
Flutter 2.8.0 • channel stabl... | Connection Failed: Unsupported operation: Platform._version on web in release | https://api.github.com/repos/dart-lang/http/issues/1485/comments | 2 | 2021-12-09T23:02:18Z | 2025-01-22T15:57:08Z | https://github.com/dart-lang/http/issues/1485 | 2,804,760,291 | 1,485 |
[
"dart-lang",
"http"
] | Socket error is WebSocketChannelException: WebSocketChannelException: HttpException: Connection closed before full header was received, uri = http://192.168.1.9:8080
I am getting this error in flutter android | Socket error is WebSocketChannelException: WebSocketChannelException: HttpException: Connection closed before full header was received, uri = http://192.168.1.9:8080 | https://api.github.com/repos/dart-lang/http/issues/1484/comments | 6 | 2021-12-09T05:47:40Z | 2025-01-22T15:57:07Z | https://github.com/dart-lang/http/issues/1484 | 2,804,760,268 | 1,484 |
[
"dart-lang",
"http"
] | Hi everyone,
i get an odd behavior when I'm trying to send a POST from my Android Smartphone via https and a REST API to my database.
The following code results on Android in Error 400, Bad Request, but works on iOS.
```
final url = 'https://*****.com:443/api/';
var uri = Uri.parse(url + 'data');
var body = ... | odd difference between Android and iOS using https post | https://api.github.com/repos/dart-lang/http/issues/647/comments | 1 | 2021-12-06T18:53:24Z | 2022-04-13T21:00:07Z | https://github.com/dart-lang/http/issues/647 | 1,072,491,221 | 647 |
[
"dart-lang",
"http"
] | When I do a GET request with flutter web I don't know why but it do 2 http requests with different request method.
The first request is the desired one (GET) but with the request I see another request with OPTION method, so every http request that I do is doubled one with the desired request and the other with OPTIO... | Flutter web multiple unwanted http requests | https://api.github.com/repos/dart-lang/http/issues/646/comments | 1 | 2021-12-02T14:24:42Z | 2022-01-26T01:30:19Z | https://github.com/dart-lang/http/issues/646 | 1,069,609,159 | 646 |
[
"dart-lang",
"http"
] | Hi,
I'm using the RetryClient() to refresh the access token if expired and then try the request again.
However when retrying the request, the old access token is sent and not the new one.
This is how I configured my RetryClient:
```dart
RetryClient client = RetryClient(
http.Client(),
retries: 1,
when: (r... | Update headers on retry | https://api.github.com/repos/dart-lang/http/issues/645/comments | 1 | 2021-12-02T12:40:38Z | 2021-12-02T14:01:31Z | https://github.com/dart-lang/http/issues/645 | 1,069,503,936 | 645 |
[
"dart-lang",
"http"
] | Getting this error when using a post method
this is TrackTrace : #0 CastMap.forEach.<anonymous closure> (dart:_internal/cast.dart:288:25)
#1 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:400:8)
#2 CastMap.forEach (dart:_internal/cast.dart:287:13)
#3 mapToQuery (package:h... | type 'Null' is not a subtype of type 'String' in type cast | https://api.github.com/repos/dart-lang/http/issues/644/comments | 1 | 2021-12-01T10:13:17Z | 2021-12-17T17:15:24Z | https://github.com/dart-lang/http/issues/644 | 1,068,214,809 | 644 |
[
"dart-lang",
"http"
] |
I have this problem when I try to use http.get(url) method , it is work fine on web but in android it is show me this error :
"unhandled exception: type 'string' is not a subtype of type 'uri' ",
I try to solve it using this method Uri.parse() , but it doesn't work . | unhandled exception: type 'string' is not a subtype of type 'uri' | https://api.github.com/repos/dart-lang/http/issues/643/comments | 1 | 2021-11-27T13:16:08Z | 2021-12-01T17:38:39Z | https://github.com/dart-lang/http/issues/643 | 1,065,040,581 | 643 |
[
"dart-lang",
"http"
] | ### Info
Device: Xiaomi Redmi 4
OS: MIUI Global 11.0.2
Flutter: 2.5.3
Dart: 2.14.4
http: 0.13.4
### Description
I have built an app which is working along with an Alcatel Wifi Access router. The app is supposed to show infos about the reception, connected devices and the batterie of the router. The router is a... | http calls occasionally running into a socket exception until wifi reset | https://api.github.com/repos/dart-lang/http/issues/642/comments | 1 | 2021-11-24T12:27:34Z | 2021-12-02T13:22:01Z | https://github.com/dart-lang/http/issues/642 | 1,062,367,289 | 642 |
[
"dart-lang",
"http"
] | I am trying to use multipart request to upload images and videos however I want to send a Map<String, Dynamic> but you can only use Map<String, String> which is a big limitation
This is the body I'm trying to send with the request:
```
bodyMap = {
'type' : 'text',
'content': [
{
'type': imag... | Sending a dynamic value along with multipart request | https://api.github.com/repos/dart-lang/http/issues/641/comments | 5 | 2021-11-19T18:19:48Z | 2024-11-21T05:10:21Z | https://github.com/dart-lang/http/issues/641 | 1,058,797,253 | 641 |
[
"dart-lang",
"http"
] | Hello,
I'm having an issue that's causing our app to perform very slowly when making http calls, most noticeably on Web where we can click around very fast.
We have an endpoint, say A, that is a long one, it takes a few seconds to complete. We use endpoint A on the Home Screen, where there are many options to go ... | Requests wait until one has finished before making a new request | https://api.github.com/repos/dart-lang/http/issues/640/comments | 1 | 2021-11-19T17:28:03Z | 2021-11-30T18:29:57Z | https://github.com/dart-lang/http/issues/640 | 1,058,759,212 | 640 |
[
"dart-lang",
"http"
] | Hi,
I have a question.
I'm trying to make a http request using this package but i get thie error:

How can I resolve this issue?
In local, with emulator device is ok but on web I have this problem.
P.S... | Requests in fluttter web | https://api.github.com/repos/dart-lang/http/issues/639/comments | 5 | 2021-11-08T15:43:20Z | 2022-12-15T18:31:31Z | https://github.com/dart-lang/http/issues/639 | 1,047,604,420 | 639 |
[
"dart-lang",
"http"
] | Getting an error when I fetch the url and the error it is displaying is "The following ArgumentError was thrown resolving an image codec:
Invalid argument(s): No host specified in URI". The url was working before but now it is not working.
| Invalid argument(s): No host specified in URI | https://api.github.com/repos/dart-lang/http/issues/638/comments | 0 | 2021-11-07T11:16:20Z | 2021-11-18T08:50:13Z | https://github.com/dart-lang/http/issues/638 | 1,046,720,015 | 638 |
[
"dart-lang",
"http"
] | Sorry for that but I am explicitly duplicating the issue (https://github.com/dart-lang/http/issues/422) since it is indeed very important from my perspective but still has not got any response from the package maintainers since May 2020.
Just to recap:
The documentation states
> If you're making multiple requ... | Clarifications for docs (closing a client) | https://api.github.com/repos/dart-lang/http/issues/637/comments | 2 | 2021-11-06T03:45:24Z | 2024-06-10T13:51:18Z | https://github.com/dart-lang/http/issues/637 | 1,046,386,107 | 637 |
[
"dart-lang",
"http"
] | This has been [requested for the Dart core](https://github.com/dart-lang/sdk/issues/42716) but it seems like the http package would be a better home for it.
Would you be open to accepting a pull request that adds a `HttpUnixClient` (a `BaseClient` subclass)? | Implement HTTP over Unix domain sockets | https://api.github.com/repos/dart-lang/http/issues/636/comments | 1 | 2021-11-03T16:44:28Z | 2021-11-04T00:38:54Z | https://github.com/dart-lang/http/issues/636 | 1,043,833,719 | 636 |
[
"dart-lang",
"http"
] | Is there a way to catch HTTP/2 ServerSocket call and redirect it to another URL?.
I have found a way to do that for `get` requests but not for WebSocket requests. | A way to redirect a HTTP/2 websocket request | https://api.github.com/repos/dart-lang/http/issues/1376/comments | 0 | 2021-10-30T09:25:29Z | 2024-10-18T09:08:13Z | https://github.com/dart-lang/http/issues/1376 | 2,596,930,970 | 1,376 |
[
"dart-lang",
"http"
] | Hello,
The Api calls I used for a page that I reached with a simple code like the following were working without any problems before. But right now it is not working properly.
var response = await http.get(url);
There is no recaphta-like barrier on the web page I am trying to reach.
After the GET call I mad... | Get returns different response from flutter but when i call it from chrome on mobile it works.. | https://api.github.com/repos/dart-lang/http/issues/634/comments | 0 | 2021-10-29T19:49:33Z | 2021-10-29T19:49:33Z | https://github.com/dart-lang/http/issues/634 | 1,039,881,368 | 634 |
[
"dart-lang",
"http"
] | //error on flutter
unawaited(xhr.onError.first.then((_) {
// Unfortunately, the underlying XMLHttpRequest API doesn't expose any
// specific information about the error itself.
completer.completeError(
ClientException('XMLHttpRequest error.', request.url),
StackTrace.... | Error singin | https://api.github.com/repos/dart-lang/http/issues/633/comments | 0 | 2021-10-28T08:46:24Z | 2021-10-28T08:46:24Z | https://github.com/dart-lang/http/issues/633 | 1,038,251,917 | 633 |
[
"dart-lang",
"http"
] | I am facing this issue:
WebSocketChannelException: HttpException: Connection closed before full header was received, uri = http://192.168.10.30:3001
my code and other details mentioned below:
final channel = WebSocketChannel.connect(Uri.parse('ws://192.168.10.30:3001'));
@override
void initState() {
... | WebSocketChannelException: HttpException: Connection closed before full header was received, uri = http://192.168.10.30:3001 | https://api.github.com/repos/dart-lang/http/issues/1483/comments | 4 | 2021-10-26T14:40:49Z | 2025-01-22T15:56:56Z | https://github.com/dart-lang/http/issues/1483 | 2,804,759,788 | 1,483 |
[
"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... | library 'package:http/http.dart' is legacy | https://api.github.com/repos/dart-lang/http/issues/632/comments | 2 | 2021-10-23T23:45:26Z | 2022-11-22T11:07:14Z | https://github.com/dart-lang/http/issues/632 | 1,034,286,030 | 632 |
[
"dart-lang",
"http"
] | I implemented the code in this Stackoverflow answer: https://stackoverflow.com/a/61021018/937841
And on the web, I found that `_response = await http.Client().send('GET", ...)` seems to download the entire file before advancing.
The callback passed to `_response.stream.listen( ... )` only gets called once with t... | Accessing partial download data via StreamedRequest does not seem to work on web | https://api.github.com/repos/dart-lang/http/issues/631/comments | 1 | 2021-10-19T03:01:33Z | 2021-11-19T23:51:19Z | https://github.com/dart-lang/http/issues/631 | 1,029,802,141 | 631 |
[
"dart-lang",
"http"
] | It's so crazy common to want to check this – and it's not super straight-forward.
See
https://github.com/google/googleapis.dart/blob/ec7b27cf3895c92b75ef407e1c109a9f7eba3a72/discoveryapis_commons/lib/src/utils.dart#L10-L16
https://github.com/GoogleCloudPlatform/functions-framework-dart/blob/80da6491efbf2e58a2c... | Add an `isJson` getter to `MediaType` | https://api.github.com/repos/dart-lang/http/issues/1333/comments | 0 | 2021-10-14T18:10:58Z | 2024-10-18T09:02:45Z | https://github.com/dart-lang/http/issues/1333 | 2,596,917,940 | 1,333 |
[
"dart-lang",
"http"
] | Hello,
I using this library to make an API call to a third party https endpoint. The third party now support only TLS 1.2 starting in Nov. Please let me know what version TLS is supported.
Thanks | does this library support TLS 1.2 | https://api.github.com/repos/dart-lang/http/issues/630/comments | 1 | 2021-10-11T14:07:31Z | 2024-07-12T22:01:05Z | https://github.com/dart-lang/http/issues/630 | 1,022,750,888 | 630 |
[
"dart-lang",
"http"
] | Thanks for the package.
However, it is very hard for a new user like me to understand / handle errors of any kind :
- Connection error (no errors)
- Sending a message error (no response when using ```channel.sink.add```
- Receiving a message error (no error listener)
- goingAway listener (no listener) => need t... | [Feature request] Add error handling | https://api.github.com/repos/dart-lang/http/issues/1482/comments | 1 | 2021-10-08T10:09:37Z | 2025-01-22T15:56:55Z | https://github.com/dart-lang/http/issues/1482 | 2,804,759,770 | 1,482 |
[
"dart-lang",
"http"
] | D/ViewRootImpl@431c4b6[MainActivity](21412): ViewPostIme pointer 1
I/flutter (21412): gggggg
I/flutter (21412): [5, 2, 1, 3]
I/flutter (21412): 200
E/flutter (21412): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: FormatException: Unexpected end of input (at character 1)
E/flutter (21412):
E/f... | Post array using http in flutter | https://api.github.com/repos/dart-lang/http/issues/629/comments | 0 | 2021-10-07T08:15:53Z | 2021-10-07T08:39:17Z | https://github.com/dart-lang/http/issues/629 | 1,019,751,839 | 629 |
[
"dart-lang",
"http"
] | Request:
```dart
http.Response response = await http.post(
Uri.parse(url),
headers: {
'Content-Type': 'application/json'
},
body: requestDto.toRawJson(),
encoding: Encoding.getByName("utf-8")
);
/// Json encoded request le... | Both Content-Length and Transfer-Encoding are specified, at most one is allowed | https://api.github.com/repos/dart-lang/http/issues/628/comments | 1 | 2021-10-07T04:25:08Z | 2022-09-19T11:51:14Z | https://github.com/dart-lang/http/issues/628 | 1,019,599,572 | 628 |
[
"dart-lang",
"http"
] | HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:359))
I have 4 apps live on Google Play Store from last few months , yesterday all stopped working because of above error.
I did not understand the cause of above error and no s... | HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:359)) | https://api.github.com/repos/dart-lang/http/issues/627/comments | 54 | 2021-10-03T15:16:15Z | 2024-12-10T12:30:49Z | https://github.com/dart-lang/http/issues/627 | 1,014,428,727 | 627 |
[
"dart-lang",
"http"
] | It seems that this feature was never delivered. It makes me either implement my own instance of Request and deal with lots of shenanigans or fork your library, which seems kinda strange for such a basic feature.
https://github.com/dart-lang/http/issues/103 | Make BaseRequest clonable | https://api.github.com/repos/dart-lang/http/issues/625/comments | 4 | 2021-09-30T15:40:55Z | 2022-09-17T21:50:20Z | https://github.com/dart-lang/http/issues/625 | 1,012,334,660 | 625 |
[
"dart-lang",
"http"
] | When I upload a text/plain file then --dart-http-boundary included why? how to remove it?
--dart-http-boundary-KsGEjcz-DEJ.VCVic1n+jfi6kHQb9Yfo1j4XKw0ocsq-Fiyi4ZV
content-type: text/plain; charset=utf-8
content-disposition: form-data; name=""
aaaaaaaaaaaaaaa
--dart-http-boundary-KsGEjcz-DEJ.VCVic1n+jfi6kHQb9Yf... | dart-http-boundary add automatically | https://api.github.com/repos/dart-lang/http/issues/624/comments | 3 | 2021-09-30T13:28:36Z | 2024-07-12T22:01:21Z | https://github.com/dart-lang/http/issues/624 | 1,012,182,819 | 624 |
[
"dart-lang",
"http"
] | can't pass authentication cookie when create `channel
`final _channel = WebSocketChannel.connect(Uri.parse('URL'));` | In web_socket_channel connection can't set header for authentication | https://api.github.com/repos/dart-lang/http/issues/1481/comments | 3 | 2021-09-30T12:35:13Z | 2025-01-22T16:03:26Z | https://github.com/dart-lang/http/issues/1481 | 2,804,759,759 | 1,481 |
[
"dart-lang",
"http"
] | I have a site hosted on my network. I can access the site (https request) through the emulator successfully as i have pointed my computer's dns server to my local dns server to resolve hostname and it works perfectly fine. But when I run the app from my android flutter app on my phone, it does not connect and receive t... | DNS Issue | https://api.github.com/repos/dart-lang/http/issues/622/comments | 0 | 2021-09-28T19:06:48Z | 2021-09-28T20:04:01Z | https://github.com/dart-lang/http/issues/622 | 1,010,107,280 | 622 |
[
"dart-lang",
"http"
] | There's a '(' unnecessary in lib/src/io_client.dart:61:7
| There's a '(' unnecessary in lib/src/io_client.dart:61:7 | https://api.github.com/repos/dart-lang/http/issues/621/comments | 0 | 2021-09-28T10:15:08Z | 2021-09-28T10:16:36Z | https://github.com/dart-lang/http/issues/621 | 1,009,556,877 | 621 |
[
"dart-lang",
"http"
] | I need to get data from one of my backend services and this request uses session cookie in header. I have the session cookie but when i am sending it to server it is not working the code is throwing exception. I might be wrong passing the cookie to request header Any help would be appreciated . Thanks in advance. I am ... | Cookie inside Request Header | https://api.github.com/repos/dart-lang/http/issues/620/comments | 1 | 2021-09-27T05:58:32Z | 2022-01-06T19:35:33Z | https://github.com/dart-lang/http/issues/620 | 1,007,729,036 | 620 |
[
"dart-lang",
"http"
] | I get this error with http with version of 2.6.0 but when I downgrade it its work fine
Unhandled Exception: Invalid argument (onError): Error handler must accept one Object or one Object and a StackTrace as arguments.: Closure: (HttpException) => Null | Error in flutter 2.6.0 | https://api.github.com/repos/dart-lang/http/issues/619/comments | 1 | 2021-09-25T09:26:46Z | 2021-09-27T23:03:13Z | https://github.com/dart-lang/http/issues/619 | 1,007,035,333 | 619 |
[
"dart-lang",
"http"
] | It would be good if this library would support OPTIONS HTTP method.
It would be especially helpful for multilanguage apps.
Please consider this example:
truncated
```json
"actions": {
"POST": {
"year_of_birth": {
"type": "integer",
"required": false,
"read_only... | Support for OPTIONS method | https://api.github.com/repos/dart-lang/http/issues/618/comments | 4 | 2021-09-22T18:07:21Z | 2022-08-16T22:14:56Z | https://github.com/dart-lang/http/issues/618 | 1,004,582,023 | 618 |
[
"dart-lang",
"http"
] | ```
List<int> frame = <int>[0, 1, 2, 3];
channel.sink.add(frame);
```
I send a binary message, on server side, got a binary message from iOS client, but got a text message from web client. | channel.sink.add not support binary message in web? | https://api.github.com/repos/dart-lang/http/issues/1480/comments | 1 | 2021-09-19T09:56:11Z | 2025-01-22T15:56:54Z | https://github.com/dart-lang/http/issues/1480 | 2,804,759,739 | 1,480 |
[
"dart-lang",
"http"
] | Package web_socket_channel 2.1.0 used crypt 3.0.0.
Package ssh 0.0.7 still used only crypt 2.0.0
Therefore it is not possible to use websockets 2.1.0 and ssh 0.0.7 for sftp fileupload in same project.
Would you please so kind and update ssh 0.0.7 to 0.0.8 with current modern crypt 3.0.0?
Thank you in advance. | ssh 0.0.7 incompatible with web_socket_channel 2.1.0 | https://api.github.com/repos/dart-lang/http/issues/1479/comments | 1 | 2021-09-18T15:17:06Z | 2025-01-22T15:56:54Z | https://github.com/dart-lang/http/issues/1479 | 2,804,759,726 | 1,479 |
[
"dart-lang",
"http"
] | ### Introduction
We do a simple GET request of the following URL; `https://icm.infinitiusa.com/NissanEVProd/rest/auth/getForceUpdateVersion'` with the header `API-Key: fBBQ6yMujXE/T9ZghOYDZgJQmnqg/1ECSn0kDso0Lo5sKdHUoN7Mlo8FYUH/EV3T`.
### Using Dart http
Request with http 0.13.3;
```
var response = await h... | Simple GET request fails; suspect set-cookie headers are breaking client | https://api.github.com/repos/dart-lang/http/issues/617/comments | 1 | 2021-09-17T16:29:08Z | 2021-09-28T00:45:17Z | https://github.com/dart-lang/http/issues/617 | 999,530,934 | 617 |
[
"dart-lang",
"http"
] | My backend is using Flask rest JSON API. I'm trying to send a PATCH request to modify something in my database.
I tested this locally with cURL and it works as expected. However when I send the same request in Flutter to my backend server, I get a 415 error code with message "Content-Type header must be application/... | Content-Type header is changed to be lower case, causing PATCH requests to fail | https://api.github.com/repos/dart-lang/http/issues/615/comments | 1 | 2021-09-06T10:59:00Z | 2021-09-09T19:23:15Z | https://github.com/dart-lang/http/issues/615 | 989,047,979 | 615 |
[
"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... | Flutter Web (only) fails uploading file from web using StreamedRequest (corrupt) | https://api.github.com/repos/dart-lang/http/issues/614/comments | 0 | 2021-09-01T18:50:00Z | 2021-09-01T22:26:11Z | https://github.com/dart-lang/http/issues/614 | 985,498,489 | 614 |
[
"dart-lang",
"http"
] | Http network throw Connection closed before full header was received exception when requesting multipart data.
I tested with the native HTTP client (iOS). It works fine.
Demo project
[test_http.zip](https://github.com/dart-lang/http/files/7077392/test_http.zip)
Native iOS test:
[test_http_native.zip](https://g... | Http network throw Connection closed before full header was received exception | https://api.github.com/repos/dart-lang/http/issues/613/comments | 1 | 2021-08-30T14:28:32Z | 2025-03-26T14:10:42Z | https://github.com/dart-lang/http/issues/613 | 982,856,924 | 613 |
[
"dart-lang",
"http"
] | Code:
```
var channel = HtmlWebSocketChannel.connect(Uri.parse(
"wss://<myapikey>.execute-api.eu-west-1.amazonaws.com/production/"));
channel.sink.add(jsonEncode({
"action": "databaseStream",
"randNum": 'generatedInt',
"msg": "aaaa"
}));
print(channel.sink.hashCode);... | when I am try to connect aws websocket api. it's show me error. | https://api.github.com/repos/dart-lang/http/issues/1478/comments | 1 | 2021-08-28T07:59:48Z | 2025-01-22T15:56:54Z | https://github.com/dart-lang/http/issues/1478 | 2,804,759,707 | 1,478 |
[
"dart-lang",
"http"
] | The fields property of the MultipartRequest class is typed like so:
```dart
final fields = <String, String>{};
```
Which prevents to pass some null values to it:
```dart
var request = http.MultipartRequest('POST', apiUrl);
request.fields.addAll({
'id': null, // is obviously throwing an error
'comment': '... | Using MultipartRequest with nullable fields value | https://api.github.com/repos/dart-lang/http/issues/612/comments | 0 | 2021-08-27T09:41:52Z | 2021-08-27T09:41:52Z | https://github.com/dart-lang/http/issues/612 | 981,065,778 | 612 |
[
"dart-lang",
"http"
] |
Hi guys. Help needed !
We are getting lots of TimeException errors from iOS devices.
Android devices working fine.
<img width="1145" alt="Снимок экрана 2021-08-27 в 10 55 09" src="https://user-images.githubusercontent.com/6400167/131073930-30631124-ddfd-4baa-8edb-f4ae6debba46.png">
Seems like each 5'th user... | iOS devices getting massive TimeoutExceptions | https://api.github.com/repos/dart-lang/http/issues/611/comments | 1 | 2021-08-27T05:12:10Z | 2022-02-17T10:15:54Z | https://github.com/dart-lang/http/issues/611 | 980,880,511 | 611 |
[
"dart-lang",
"http"
] | I am implementing WebSocket in our project, unable to communicate with the server after connecting also. Already I have checked WebSocket URL through postman and other online tools working fine. | I am unable to send message and listen messages through this plugin. | https://api.github.com/repos/dart-lang/http/issues/1477/comments | 1 | 2021-08-25T10:04:17Z | 2025-01-22T15:56:53Z | https://github.com/dart-lang/http/issues/1477 | 2,804,759,694 | 1,477 |
[
"dart-lang",
"http"
] | Hi @natebosch!
Could you release a new version of http2 without dart:io ([commit](https://github.com/dart-lang/http2/commit/83103b5e36426376cc9f206baa0861c94be5d223#diff-807e692308f0562976d7b9ff8ed3a9f9d9180b66bbd381ddc609b774470c9459))? It marks all packages depending on not supporting the js platform. More specifi... | Release new version with ditched dart:io | https://api.github.com/repos/dart-lang/http/issues/1375/comments | 2 | 2021-08-24T07:24:56Z | 2024-10-18T09:08:12Z | https://github.com/dart-lang/http/issues/1375 | 2,596,930,953 | 1,375 |
[
"dart-lang",
"http"
] | SocketException: Reading from a closed socket
| SocketException: Reading from a closed socket | https://api.github.com/repos/dart-lang/http/issues/1476/comments | 1 | 2021-08-23T06:02:36Z | 2025-01-22T15:56:53Z | https://github.com/dart-lang/http/issues/1476 | 2,804,759,676 | 1,476 |
[
"dart-lang",
"http"
] | Everything else seems to be working okay with the exception of not being able to get data to the server on connect.
```
final data = {
'action': 'subscribe_to_comment_activity',
'request_id': Helpers.generateId(),
'user_pk': 'PCs4o8c1',
};
channel.stream.listen((message) {
//ch... | Unable to send data to server | https://api.github.com/repos/dart-lang/http/issues/1475/comments | 1 | 2021-08-21T02:53:56Z | 2025-01-22T15:56:52Z | https://github.com/dart-lang/http/issues/1475 | 2,804,759,653 | 1,475 |
[
"dart-lang",
"http"
] | On the SDK we now have an option to pass `preserveHeaderCase` when setting Http headers to work around the default behavior of converting them all to lowercase. Some (non spec compliant?) servers expect headers with specific capitalization.
I don't know if there is any equivalent behavior or concern on the web.
S... | Add support for `preserveHeaderCase` | https://api.github.com/repos/dart-lang/http/issues/609/comments | 6 | 2021-08-17T19:57:02Z | 2024-10-19T18:29:59Z | https://github.com/dart-lang/http/issues/609 | 973,018,082 | 609 |
[
"dart-lang",
"http"
] | Add Http2 server push and add new Http3. Please add this features fast as possible. | Http2 and Http3 | https://api.github.com/repos/dart-lang/http/issues/608/comments | 1 | 2021-08-17T13:35:15Z | 2021-08-17T18:34:28Z | https://github.com/dart-lang/http/issues/608 | 972,698,351 | 608 |
[
"dart-lang",
"http"
] | I want to catch the error response from the server when I send data.
How can I do?
```
///
_channel --< initState
///
onPressed: () {
String body = state.body.value;
command.add(body);
try {
_channel!.sink.add(body);
... | how to catch error response on channel.sink.add? | https://api.github.com/repos/dart-lang/http/issues/1474/comments | 9 | 2021-08-13T16:37:17Z | 2025-01-22T15:56:52Z | https://github.com/dart-lang/http/issues/1474 | 2,804,759,631 | 1,474 |
[
"dart-lang",
"http"
] | I'm making requests with HTTP to AWS API Gateway, where each resource is secured with Cognito as the Authorizer. My App runs fine on Android, where the resources can only be successfully called when a valid JWT from Cognito is included in the headers. But somehow, this doesn't work on Web.
If I turn off the authoriz... | Request authorization with JWT fails on Web with 401, but fine on Android | https://api.github.com/repos/dart-lang/http/issues/607/comments | 1 | 2021-08-12T01:12:48Z | 2021-08-17T21:37:51Z | https://github.com/dart-lang/http/issues/607 | 967,774,896 | 607 |
[
"dart-lang",
"http"
] | the username i pass to the API is going empty it is not getting the value from the shared preference which I am assigning
Future<String> getStringValuesSF() async {
SharedPreferences preferences = await SharedPreferences.getInstance();
String username = preferences.getString('name');
return username... | Not reading the data that i pass to the API post | https://api.github.com/repos/dart-lang/http/issues/606/comments | 1 | 2021-08-11T08:08:09Z | 2021-08-16T22:28:57Z | https://github.com/dart-lang/http/issues/606 | 966,193,485 | 606 |
[
"dart-lang",
"http"
] | Code that causes the issue:
```dart
final channel = WebSocketChannel.connect(
Uri.parse('ws://localhost:8080'),
);
channel.stream.listen((message) {
channel.sink.close(status.goingAway);
});
```
Stack trace:
```console
DOMException: Failed to execute 'close' on 'WebSocket': The code must be eithe... | Attempting to close a websocket from inside of Flutter for web throws a stack trace | https://api.github.com/repos/dart-lang/http/issues/1513/comments | 2 | 2021-08-10T10:57:10Z | 2025-01-22T16:01:45Z | https://github.com/dart-lang/http/issues/1513 | 2,804,771,467 | 1,513 |
[
"dart-lang",
"http"
] | ```dart
void initSocket() async {
String? token = await Preferances.getAuthToken();
Uri ur = Uri.parse('ws://xyz.domain.in:8000');
var channel = IOWebSocketChannel.connect(
ur,
headers: {
"Connection": "upgrade",
"Upgrade": "websocket",
"Authorization": "Bearer $token",
},
... | Unhandled Exception: WebSocketChannelException: WebSocketChannelException: HttpException: Connection closed before full header was received, uri = http://xyz.domain.in:8000 | https://api.github.com/repos/dart-lang/http/issues/1512/comments | 1 | 2021-08-07T11:31:58Z | 2025-01-22T16:01:45Z | https://github.com/dart-lang/http/issues/1512 | 2,804,771,453 | 1,512 |
[
"dart-lang",
"http"
] | I have following problem with the library; App running on an android device stops receiving messages after about 1 minute, then after a few minutes they are all delivered in bulk, then app works as it should for some time and problem repeats.
Everything is working fine in the Android/iOS emulators or iOS hardware. | Listening for incomming messages lags on Android hardware. | https://api.github.com/repos/dart-lang/http/issues/1511/comments | 3 | 2021-08-05T20:14:29Z | 2025-01-22T16:01:44Z | https://github.com/dart-lang/http/issues/1511 | 2,804,771,441 | 1,511 |
[
"dart-lang",
"http"
] | i got a screenshot from one of the customers. in this screenshot is above issue shown.
`http: ^0.13.1`
first time i saw this. any idea how to solve this? or is it a bug?
on Google i found only similar CERTIFICATE_VERIFY_FAILED, but not exactly my CERTIFICATE_VERIFY_FAILED. | Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: application verification failure(handshake.cc:359)) | https://api.github.com/repos/dart-lang/http/issues/604/comments | 1 | 2021-08-05T10:32:03Z | 2021-08-17T22:52:26Z | https://github.com/dart-lang/http/issues/604 | 961,682,631 | 604 |
[
"dart-lang",
"http"
] | Hello!
I'm a JAVA developer and want to connect to a local digest http server in a flutter (android) app.
I have implemented rfc7617 in java and it works correctly by any java http client (like apache http client, google http client and etc).
Now I want to implement it in dart. So I wrote the below code :
```
void... | Digest authentication returns always 401 | https://api.github.com/repos/dart-lang/http/issues/605/comments | 11 | 2021-08-04T21:07:43Z | 2024-01-12T14:53:13Z | https://github.com/dart-lang/http/issues/605 | 963,962,341 | 605 |
[
"dart-lang",
"http"
] | If you create a GET request that has a header of Content-Type = "application/json" and a body of null, C# will accept this on Android and other platforms if you have it set to accept empty bodies.
The same code on Web doesn't work:
```
final request = http.Request(method, uri);
request.body = "";
request.heade... | Web: Null body, Content-Type application/json fails, android, others are fine. | https://api.github.com/repos/dart-lang/http/issues/603/comments | 0 | 2021-08-03T13:46:26Z | 2021-08-03T13:46:26Z | https://github.com/dart-lang/http/issues/603 | 959,135,007 | 603 |
[
"dart-lang",
"http"
] | Per RFC 7540, 5.1 Stream States:
Flow-controlled frames (i.e., DATA) received after sending
RST_STREAM are counted toward the connection flow-control window.
Even though these frames might be ignored, because they are sent
before the sender receives the RST_STREAM, the sender will
c... | DATA frames received before remote receives RST_STREAM incorrectly ignored | https://api.github.com/repos/dart-lang/http/issues/1374/comments | 1 | 2021-07-22T12:53:23Z | 2024-10-18T09:08:11Z | https://github.com/dart-lang/http/issues/1374 | 2,596,930,938 | 1,374 |
[
"dart-lang",
"http"
] | when I try to run my app on iOS and Android, Simulator and physical, i cannot because of this error:
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.13.3/lib/src/io_client.dart:61:7: Error: Can't find ')' to match '('.
(throw ClientException(error.message, error.uri);
^
I f... | Problems on the latest version of http package (1.13.3) | https://api.github.com/repos/dart-lang/http/issues/600/comments | 1 | 2021-07-22T10:32:34Z | 2021-08-17T22:45:36Z | https://github.com/dart-lang/http/issues/600 | 950,518,597 | 600 |
[
"dart-lang",
"http"
] | when I try to run my app on iOS and Android, Simulator and physical, i cannot because of this error:
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.13.3/lib/src/io_client.dart:61:7: Error: Can't find ')' to match '('.
(throw ClientException(error.message, error.uri);
^
I f... | Problems when using the latest version | https://api.github.com/repos/dart-lang/http/issues/599/comments | 0 | 2021-07-22T10:31:22Z | 2021-07-22T10:31:28Z | https://github.com/dart-lang/http/issues/599 | 950,517,676 | 599 |
[
"dart-lang",
"http"
] | In my iOS swift is using Socket.IO-Client-Swift library and https://xxx.xxx.com.
In my Flutter project, I got unsupported https error so I change it to wss://xxx.xxx.com and I got this error:
'Dart Unhandled Exception: WebSocketChannelException: WebSocketChannelException: HandshakeException: Handshake error in clie... | WRONG_VERSION_NUMBER when I use wss instead of https | https://api.github.com/repos/dart-lang/http/issues/1510/comments | 5 | 2021-07-17T05:07:32Z | 2025-01-22T16:05:19Z | https://github.com/dart-lang/http/issues/1510 | 2,804,771,425 | 1,510 |
[
"dart-lang",
"http"
] | Hi!
I'm trying to make a POST request with a body that looks like this:
```
[
{
"id": "9032",
"name": "Carlomagno",
"origin": "web"
}
]
```
Right now is just one object inside the array, but in the future I'm expecting to make a request with more than one object, and getting an array of... | Why can't my body be an array of objects? | https://api.github.com/repos/dart-lang/http/issues/598/comments | 1 | 2021-07-16T13:17:13Z | 2021-08-17T22:59:02Z | https://github.com/dart-lang/http/issues/598 | 946,286,339 | 598 |
[
"dart-lang",
"http"
] | dart2js will stop supporting internet explorer soon - so all supported browser should support `fetch` which allows for streaming. I'm not sure if streaming works on firefox so that will need to be tested.
https://api.dart.dev/stable/2.13.4/dart-html/Window/fetch.html
https://github.com/dart-lang/http/blob/f93c76f... | Migrate to the `fetch` API | https://api.github.com/repos/dart-lang/http/issues/595/comments | 39 | 2021-07-15T19:34:35Z | 2024-11-14T22:11:24Z | https://github.com/dart-lang/http/issues/595 | 945,692,312 | 595 |
[
"dart-lang",
"http"
] | We have this use-case where we set up a websocket connection like this:
```dart
_channel = IOWebSocketChannel.connect(
'wss://${_host(environment)}',
headers: <String, String>{
'Authorization': accessToken,
},
);
```
When the access token is expired, the se... | Include http headers when a websocket fails and throws a WebSocketChannelException | https://api.github.com/repos/dart-lang/http/issues/1509/comments | 0 | 2021-07-14T06:43:21Z | 2025-01-22T16:01:44Z | https://github.com/dart-lang/http/issues/1509 | 2,804,771,405 | 1,509 |
[
"dart-lang",
"http"
] | I want to `POST` data to API with file using `http.MultipartRequest `but it is limiting the data type to `String` means I can only push the body data in form of `Map<String,String>` but here in API data is dynamic mean it has `double` , `int` , `bool` and `String` type data. Here is the code
```
var request = http.... | Unable to pass Map<String,dynamic> data as body in http.MultipartRequest | https://api.github.com/repos/dart-lang/http/issues/594/comments | 1 | 2021-07-12T21:48:48Z | 2021-07-15T19:32:24Z | https://github.com/dart-lang/http/issues/594 | 942,477,857 | 594 |
[
"dart-lang",
"http"
] | I have a local server that will emit numbers 1-10 back to the app when hit. On Flutter android and ios devices, the app procceses each data chunk as they come and it works as expected. On the Flutter Web version, the data is buffered until the end of the stream AND THEN processes the data...how do I get Flutter Web to ... | Flutter Web buffering streamed/chunked data | https://api.github.com/repos/dart-lang/http/issues/593/comments | 3 | 2021-07-12T20:04:29Z | 2021-07-15T20:15:59Z | https://github.com/dart-lang/http/issues/593 | 942,401,171 | 593 |
[
"dart-lang",
"http"
] | On GET requests I found issue that cause memory allocation but never releases that. In that case periodical request cause memory usage of GBs and kill application with memory issue. I found a code part in **http: 0.13.3** lib which allocates memory but not release:
Unfortunately I couldn't find exact issue code but ... | Memory allocation issue on GET request Base64 image | https://api.github.com/repos/dart-lang/http/issues/592/comments | 7 | 2021-07-06T11:12:46Z | 2021-08-19T07:07:40Z | https://github.com/dart-lang/http/issues/592 | 937,784,723 | 592 |
[
"dart-lang",
"http"
] | http that come from dart.library.io (all application except web):
It not add in the header `Content-Length:` also if force all the header to be lowercase, while http header is sensitive case.
This break the connection to legacy http server that expect the `Content-Length:` field in the header, while looking it as s... | Inconsistency between http dart.library.io and dart.library.html | https://api.github.com/repos/dart-lang/http/issues/589/comments | 10 | 2021-07-01T04:10:08Z | 2021-09-10T19:40:18Z | https://github.com/dart-lang/http/issues/589 | 934,357,200 | 589 |
[
"dart-lang",
"http"
] | null | how to set boundary in multi multipart/form-data? | https://api.github.com/repos/dart-lang/http/issues/588/comments | 2 | 2021-06-29T07:54:06Z | 2024-07-27T08:04:06Z | https://github.com/dart-lang/http/issues/588 | 932,332,308 | 588 |
[
"dart-lang",
"http"
] | Hello,
I'm building a flutter app using http package to request a symfony REST API.
I can request my login route and retrieve a JWT token easily. I then store that token using flutter secure storage.
But whenever I try and request the API using this token in the headers: Authorization, I get a 401 error : Inva... | Invalid JWT token on GET request | https://api.github.com/repos/dart-lang/http/issues/587/comments | 1 | 2021-06-28T08:37:13Z | 2021-07-15T19:46:07Z | https://github.com/dart-lang/http/issues/587 | 931,319,517 | 587 |
[
"dart-lang",
"http"
] | I reported the issue on flutter/flutter and they told me to come here https://github.com/flutter/flutter/issues/85146
This issue seems irrelevant to the flutter version as we went through several versions and the issue remains
We have a connection made with https://pub.dev/packages/web_socket_channel
We are se... | Websocket disconnects for no reason on flutter web | https://api.github.com/repos/dart-lang/http/issues/1508/comments | 6 | 2021-06-25T22:44:33Z | 2025-01-22T16:01:43Z | https://github.com/dart-lang/http/issues/1508 | 2,804,771,391 | 1,508 |
[
"dart-lang",
"http"
] | Hey, I have created a simple dart web app however there is a leak which I've tracked down to the `BrowserClient`. It's increasing the number of Listeners in the DOM every http request. My web app is running on a low powered device (Amazon Kindle) and it's causing it to crash after a while due to this leak.
## Browse... | BrowserClient: Listener leak | https://api.github.com/repos/dart-lang/http/issues/586/comments | 1 | 2021-06-25T09:01:30Z | 2021-07-07T12:57:23Z | https://github.com/dart-lang/http/issues/586 | 929,982,707 | 586 |
[
"dart-lang",
"http"
] | The traffic from this package does not show up in the DevTools networking page. Does this package need to be adopted to support DevTools or vice versa? We should update this issue with the expected work (or move to the flutter/devtools repo if we expect the bulk of the work to be done there).
| traffic from this package does not show up in DevTools | https://api.github.com/repos/dart-lang/http/issues/1373/comments | 0 | 2021-06-21T23:23:25Z | 2024-10-18T09:08:11Z | https://github.com/dart-lang/http/issues/1373 | 2,596,930,929 | 1,373 |
[
"dart-lang",
"http"
] | I have some simple code to call this yahoo finance API:
`query = 'https://query1.finance.yahoo.com/v7/finance/quote?symbols=AAPL';
final http.Response response = await http.get(Uri.parse(query));
if (response.statusCode == 200) {
// do stuff here
}`
It works fine in android but when it is run in Flu... | http.get does not complete in flutter web. (Works with android/mobile) | https://api.github.com/repos/dart-lang/http/issues/585/comments | 1 | 2021-06-19T22:17:46Z | 2021-06-20T19:51:56Z | https://github.com/dart-lang/http/issues/585 | 925,476,966 | 585 |
[
"dart-lang",
"http"
] | I am using this and was testing a scenario of deliberately closing the channel via sink.close() then later re-connect and re-do the pubsub subscription.
What I have found is that for some reason, the close() is not recognized by the server so I end up with 2 messages(exactly the same) as the server think that there ... | close() but not really closed ? | https://api.github.com/repos/dart-lang/http/issues/1507/comments | 6 | 2021-06-18T12:36:26Z | 2025-01-22T16:01:43Z | https://github.com/dart-lang/http/issues/1507 | 2,804,771,377 | 1,507 |
[
"dart-lang",
"http"
] | Hi, i am developing a basic app that requires authentication, and i noticed that it works on ios but not on chrome(web).
after a little debugging it seems like the Response object always contains only the 2 headers - content length and content type, and none of the other headers (set cookies etc).
all the configurati... | http response missing headers when using chrome | https://api.github.com/repos/dart-lang/http/issues/582/comments | 9 | 2021-06-15T08:47:46Z | 2022-03-25T12:09:59Z | https://github.com/dart-lang/http/issues/582 | 921,158,882 | 582 |
[
"dart-lang",
"http"
] | While using [firebase_auth_rest](https://pub.dev/packages/firebase_auth_rest) I came across null check exception from `io_client.dart` file.
[Linking](https://github.com/Skycoder42/firebase_auth_rest/issues/3) the issue to here.
. As the documentation indicates, I have to do it through a websocket using **localhost** on port **6868**.
The connection works when I run the project in ... | The connection between flutter and an api through a websocket does not work | https://api.github.com/repos/dart-lang/http/issues/1506/comments | 2 | 2021-06-11T12:51:42Z | 2025-01-22T16:01:42Z | https://github.com/dart-lang/http/issues/1506 | 2,804,771,360 | 1,506 |
[
"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... | Null check operator used on a null value | https://api.github.com/repos/dart-lang/http/issues/580/comments | 1 | 2021-06-09T06:29:13Z | 2021-06-11T19:38:26Z | https://github.com/dart-lang/http/issues/580 | 915,833,473 | 580 |
[
"dart-lang",
"http"
] | I am using the following code to connect the WebSocket server. When the connection is gone, the client trying to reconnect using the same code. But when i restart WebSocket server, i am getting " WebSocketChannelException: WebSocketChannelException: WebSocketException: Connection to 'https://example.com/ws#' was not up... | How can I catch "WebSocketException: Connection to '***#' was not upgraded to websocket" exception | https://api.github.com/repos/dart-lang/http/issues/1505/comments | 7 | 2021-06-04T16:38:21Z | 2025-01-22T16:01:42Z | https://github.com/dart-lang/http/issues/1505 | 2,804,771,341 | 1,505 |
[
"dart-lang",
"http"
] | import 'package:web_socket_channel/html.dart';
var channel =
HtmlWebSocketChannel.connect(Uri.parse('ws://localhost:8864'));
void initWebSocket() async {
channel.stream.listen((message) {
_handleSubmitted(message);
});
}
void sendMessage(String data) {
channel.sink.add(data);
}
run it in ... | WebSocketChannelException: WebSocket connection failed | https://api.github.com/repos/dart-lang/http/issues/1504/comments | 4 | 2021-05-30T06:30:52Z | 2025-01-22T16:01:41Z | https://github.com/dart-lang/http/issues/1504 | 2,804,771,309 | 1,504 |
[
"dart-lang",
"http"
] | Hey I am facing a really weird problem I am not able to solve...
I wrote a client for a wifi router I am working with right now. I am using the bloc architecture for this. So I have my bloc which asks a repository for certain data which is calling methods from the routerApiClient.
In the routerApiClient I import... | Error: Connection closed before full header was received | https://api.github.com/repos/dart-lang/http/issues/577/comments | 3 | 2021-05-26T13:43:43Z | 2023-12-31T15:37:00Z | https://github.com/dart-lang/http/issues/577 | 902,414,816 | 577 |
[
"dart-lang",
"http"
] | can i set 'cipher suite' when my app request server | https://api.github.com/repos/dart-lang/http/issues/576/comments | 1 | 2021-05-26T10:13:21Z | 2021-06-11T21:02:36Z | https://github.com/dart-lang/http/issues/576 | 902,148,216 | 576 | |
[
"dart-lang",
"http"
] | http.get( STRING, .... ) is now http.get( Uri, .... )
YOU NEVER CHANGE AN EXISTING API SIGNATURE! YOU CREATE A NEW FUNCTION.
This is seriously a HUGE problem. HUGE.
Who is running your QA and deployments? This is entirely unacceptable. | YOU CHANGED THE API!! | https://api.github.com/repos/dart-lang/http/issues/574/comments | 2 | 2021-05-25T17:58:04Z | 2021-06-14T16:37:07Z | https://github.com/dart-lang/http/issues/574 | 901,163,133 | 574 |
[
"dart-lang",
"http"
] | I have a backend websocket server written in Python. I'm using the [websockets][1] package and implementing a secured connection:
```python
context = ssl.create_default_context()
server_corroutine = websockets.serve(self._ui_requests, "localhost", 8765, ssl=context)
```
On the front end I have a Flutter Web ap... | Connecting to SSL server | https://api.github.com/repos/dart-lang/http/issues/1503/comments | 2 | 2021-05-20T07:18:45Z | 2025-01-22T16:01:31Z | https://github.com/dart-lang/http/issues/1503 | 2,804,770,909 | 1,503 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.