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"
] | After PR #980 is merged we no longer need [java_http_test.dart](https://github.com/dart-lang/http/blob/067bff3b4727ed8633177010ff12d1121e764861/pkgs/java_http/test/java_http_test.dart), therefore the file will be removed in a future PR ([context](https://github.com/dart-lang/http/pull/980#discussion_r1253693596)).
I... | [java_http] Remove redundant files | https://api.github.com/repos/dart-lang/http/issues/982/comments | 2 | 2023-07-07T06:49:18Z | 2023-08-17T16:49:26Z | https://github.com/dart-lang/http/issues/982 | 1,792,916,086 | 982 |
[
"dart-lang",
"http"
] | null | ip as host to support httpdns | https://api.github.com/repos/dart-lang/http/issues/1381/comments | 0 | 2023-07-03T08:19:41Z | 2024-10-18T09:08:17Z | https://github.com/dart-lang/http/issues/1381 | 2,596,931,028 | 1,381 |
[
"dart-lang",
"http"
] | I've come across issue using Fetch that >64KiB request are failing with keep-alive:
> __4.5. HTTP-network-or-cache fetch__
>
> > 8.10.5: If the sum of _contentLength_ and _inflightKeepaliveBytes_ is greater
> > than 64 kibibytes, then return a [network error](https://fetch.spec.whatwg.org/#concept-network-error).... | [http_client_conformance_tests] Test large payload. | https://api.github.com/repos/dart-lang/http/issues/977/comments | 4 | 2023-07-01T16:55:46Z | 2024-02-08T04:54:18Z | https://github.com/dart-lang/http/issues/977 | 1,784,084,243 | 977 |
[
"dart-lang",
"http"
] | Right now native clients drain the stream of StreamedRequest before making a request.
https://github.com/dart-lang/http/blob/d68081f50f0f0a8928e42237e937dcc69cc5d890/pkgs/cupertino_http/lib/src/cupertino_client.dart#L236
This makes it impossible to track the progress of uploading files for example. | Support for StreamedRequest | https://api.github.com/repos/dart-lang/http/issues/974/comments | 4 | 2023-06-27T17:40:34Z | 2023-08-10T18:34:42Z | https://github.com/dart-lang/http/issues/974 | 1,777,446,068 | 974 |
[
"dart-lang",
"http"
] | We are facing http connection issue when using CupertinoClient.
CC: @brianquinlan would you be so kind as to take a quick look at this? Just noticed you might know why this occurs.
To reproduce:
- create a CupertinoClient as per code below
- make http connection to whatever web api
- http client will stall and... | [ios] [CupertinoClient] http connection issue: nw_path_necp_check_for_updates Failed to copy updated result (22) | https://api.github.com/repos/dart-lang/http/issues/972/comments | 8 | 2023-06-26T17:02:50Z | 2023-08-27T09:26:57Z | https://github.com/dart-lang/http/issues/972 | 1,775,208,990 | 972 |
[
"dart-lang",
"http"
] | We cannot use RetryClient in `Isolate.run` because of the use of `StreamController` in `StreamedRequest` for making a copy of requests.
<details>
<summary>Example</summary>
main.dart
```dart
import 'dart:isolate';
import 'package:http/http.dart';
import 'package:http/retry.dart';
import 'test_server.da... | RetryClient doesn't work in isolates | https://api.github.com/repos/dart-lang/http/issues/970/comments | 0 | 2023-06-23T10:23:14Z | 2023-06-23T10:23:14Z | https://github.com/dart-lang/http/issues/970 | 1,771,209,445 | 970 |
[
"dart-lang",
"http"
] | Please check [here](https://github.com/cfug/dio/issues/1878) for a write-up on this bug.
I have found a solution to this bug, documenting this here in order to help other people if they may face the same issue.
I extended the MultipartRequest, adding in my own custom logic to the content length, and finalize met... | Sending a .wav file through FormData using MultipartFile adds headers which corrupt the file | https://api.github.com/repos/dart-lang/http/issues/969/comments | 2 | 2023-06-22T19:53:15Z | 2024-07-27T08:04:05Z | https://github.com/dart-lang/http/issues/969 | 1,770,305,244 | 969 |
[
"dart-lang",
"http"
] | I'm trying to run `http_client_conformance_tests` against fetch based client ([`fetch_client`](https://github.com/Zekfad/fetch_client)) and test streaming request body.
Locally, using online servers everything works fine, but using `http_client_conformance_tests` brings some mystical error:
Running web test with `can... | [http_client_conformance_tests] ERR_H2_OR_QUIC_REQUIRED | https://api.github.com/repos/dart-lang/http/issues/968/comments | 8 | 2023-06-21T14:12:43Z | 2023-06-23T18:34:23Z | https://github.com/dart-lang/http/issues/968 | 1,767,699,985 | 968 |
[
"dart-lang",
"http"
] | > Please describe the bug and how to reproduce it.
I ran into a trouble using http package when I was consuming an API because the http package is using lower-case headers.
The RFC specification says headers must be case-**insensitive**, but some third-party services are implemented in a case-**sensitive** way.
... | Multipart request headers must be Camel-Case not lower-case. Or at least provide some way to specify it | https://api.github.com/repos/dart-lang/http/issues/967/comments | 1 | 2023-06-19T03:35:13Z | 2023-07-03T04:54:13Z | https://github.com/dart-lang/http/issues/967 | 1,762,664,516 | 967 |
[
"dart-lang",
"http"
] | Hello,
We noticed that first http request is pretty slow due to connection delay and subsequent request are fast.
Inside app we call same server on different endpoints and the slow request occurs every time a new endpoint is called first time.
This impairs experience coz with our current implementation a slow res... | [iOS] Slow request on first connection "for each new endpoints" | https://api.github.com/repos/dart-lang/http/issues/964/comments | 0 | 2023-06-15T18:20:22Z | 2023-06-15T18:20:22Z | https://github.com/dart-lang/http/issues/964 | 1,759,331,681 | 964 |
[
"dart-lang",
"http"
] | I am trying to connect a Flutter application to a server that I developed in .NET Core. After establishing the connection, the application disconnects when it receives a message. I have been unable to find a solution. When I connect to the server using Postman, Hercules, or other client applications, there are no issue... | Error. When the server sends a message or receives a message, the connection is being disrupted. | https://api.github.com/repos/dart-lang/http/issues/1641/comments | 0 | 2023-06-15T16:20:21Z | 2025-01-22T16:06:50Z | https://github.com/dart-lang/http/issues/1641 | 2,804,782,972 | 1,641 |
[
"dart-lang",
"http"
] | I have a flutter app which works well for many users Android and iOS
A single user receives this exception while sending a post request
Handshake Exception Handshake error in client (OS Error: Certificate Verify Failed Application Verification Failure Handshake.cc:393)
his device is iPad 6, iOS 14.8.1
what c... | Handshake Exception Handshake error in client (OS Error: Certificate Verify Failed Application Verification Failure Handshake.cc:393) | https://api.github.com/repos/dart-lang/http/issues/963/comments | 4 | 2023-06-15T08:54:13Z | 2024-06-23T16:42:12Z | https://github.com/dart-lang/http/issues/963 | 1,758,358,997 | 963 |
[
"dart-lang",
"http"
] | Facing the above issue when uploading an image to the server. | InternalError: Expression evaluation in async frames is not supported. No frame with index 30.. | https://api.github.com/repos/dart-lang/http/issues/962/comments | 2 | 2023-06-14T14:43:55Z | 2023-06-14T14:47:06Z | https://github.com/dart-lang/http/issues/962 | 1,757,077,529 | 962 |
[
"dart-lang",
"http"
] | Is it possible to pass ConnectionTimeout to IOClient, in version http:1.0.0 method signature not allow me do it ("createHttpClient").
For example, something like this.
```
//Stub
http.Client createHttpClient({
Duration? connectionTimeout,
}) {
throw UnsupportedError('Stub');
}
```
```
//html
http.... | ConnectionTimeout as argument in createHttpClient | https://api.github.com/repos/dart-lang/http/issues/961/comments | 0 | 2023-06-14T13:00:00Z | 2023-06-14T13:00:26Z | https://github.com/dart-lang/http/issues/961 | 1,756,854,311 | 961 |
[
"dart-lang",
"http"
] | null | Rename the `NSError` wrapper `Error` to something that does not clash with `Error` in `dart:core` | https://api.github.com/repos/dart-lang/http/issues/960/comments | 1 | 2023-06-13T17:31:35Z | 2025-05-02T17:46:54Z | https://github.com/dart-lang/http/issues/960 | 1,755,362,116 | 960 |
[
"dart-lang",
"http"
] | This is a tracking issue for Alexander James' gSoC project:
[GSoC Idea](https://github.com/dart-lang/sdk/wiki/Dart-GSoC-2023-Project-Ideas#idea-build-a-dart-http-client-using-java-apis)
[Google Group](https://groups.google.com/g/dart-http-gsoc-2023)
[Calendar](https://calendar.google.com/calendar/embed?src=913904eb9... | Create a new package:http Client based on Java APIs | https://api.github.com/repos/dart-lang/http/issues/957/comments | 0 | 2023-06-05T17:37:57Z | 2023-06-05T17:37:57Z | https://github.com/dart-lang/http/issues/957 | 1,742,234,670 | 957 |
[
"dart-lang",
"http"
] | After http v1.0.0 was release, we cannot use Mockito to mock http anymore.
We get:

The reason is that the class ByteStream was marked as final in that PR #920 and Mockito can't mock final classes.
Based on the [suggesti... | Can't mock final classes using Mockito. | https://api.github.com/repos/dart-lang/http/issues/956/comments | 1 | 2023-06-04T10:17:08Z | 2024-01-12T22:22:07Z | https://github.com/dart-lang/http/issues/956 | 1,740,284,862 | 956 |
[
"dart-lang",
"http"
] | ```
An error occurred when I ran the plugin to macOS:
Error saving log: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={NSFilePath=../build/macos/Logs/Build/D3BF9E93-BCB0-41D7-8C3C-51B31C4CE6FD.xcactivitylog, NSLocalizedDescription=Permission denied} | User info: {
NSFilePath = "../build/macos/... | Error saving log: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" | https://api.github.com/repos/dart-lang/http/issues/1640/comments | 2 | 2023-06-02T13:05:41Z | 2025-05-17T08:05:00Z | https://github.com/dart-lang/http/issues/1640 | 2,804,782,607 | 1,640 |
[
"dart-lang",
"http"
] | my code is a little different from the big await loop in example:
```dart
final req = transport.makeRequest(
headers.entries.map((e) => Header.ascii(e.key, e.value)).toList(growable: false),
endStream: false,
);
req.sendData(utf8.encode(body), endStream: true);
final incoming = req.incomingMessages.asB... | How to catch the exception thrown by 'ClientTransportConnection.terminate'? | https://api.github.com/repos/dart-lang/http/issues/1380/comments | 0 | 2023-06-01T06:54:58Z | 2024-10-18T09:08:15Z | https://github.com/dart-lang/http/issues/1380 | 2,596,931,017 | 1,380 |
[
"dart-lang",
"http"
] | We should update the readme for package:cupertino_http (https://github.com/dart-lang/http/blob/master/pkgs/cupertino_http/README.md); it currently says 'Status: Experimental' and that it's published through labs.dart.dev. | Update the readme to reflect the status change | https://api.github.com/repos/dart-lang/http/issues/955/comments | 1 | 2023-05-31T21:49:58Z | 2023-05-31T23:07:45Z | https://github.com/dart-lang/http/issues/955 | 1,735,080,515 | 955 |
[
"dart-lang",
"http"
] | Hi,
I use http package to connect through the proxy in windows and it works.
`
httpClient.findProxy = (uri) {
return "PROXY ip:port";
};
IOClient client = IOClient(httpClient);
`
The problem is I have to manually configure it on each computer.
How can I autodetect if windows has a pr... | Autodetect proxy in windows | https://api.github.com/repos/dart-lang/http/issues/953/comments | 4 | 2023-05-31T13:38:04Z | 2024-02-16T10:48:41Z | https://github.com/dart-lang/http/issues/953 | 1,734,254,173 | 953 |
[
"dart-lang",
"http"
] | Feature Request: Support Network Inspector in Android Studio.
Unsure of feasibility. Currently experiencing the following IDE notice:
**Network Inspector Data Unavailable:** There is no information for the
network traffic you've selected.
See update notes: https://developer.android.com/studio/debug/networ... | Support Android Studio Network Inspector | https://api.github.com/repos/dart-lang/http/issues/946/comments | 0 | 2023-05-25T19:07:15Z | 2023-05-25T19:11:37Z | https://github.com/dart-lang/http/issues/946 | 1,726,350,096 | 946 |
[
"dart-lang",
"http"
] | I run the request code inside a try/catch block, but this exception seems to not be catched:
```
Future<bool> _serverAvailable() async {
try {
final response = await http
.get(Uri.parse(availabilityUrl))
.timeout(const Duration(seconds: 5), onTimeout: () {
return http.Response('Inte... | SoketException: Se agotó el tiempo de espera del semáforo (Semaphore timeout) | https://api.github.com/repos/dart-lang/http/issues/945/comments | 2 | 2023-05-24T06:47:56Z | 2023-11-11T15:37:58Z | https://github.com/dart-lang/http/issues/945 | 1,723,288,713 | 945 |
[
"dart-lang",
"http"
] | I am facing an issue related to http request from flutter app to the server.
I have got connection timeout exception(110) on certain Android devices on mobile network but on wifi it works fine.
I have been facing this issue for last 3 months, I have tried all the solutions available related to this but I did not g... | Connection Timeout Exception on mobile network | https://api.github.com/repos/dart-lang/http/issues/939/comments | 1 | 2023-05-19T18:37:12Z | 2023-06-27T18:32:29Z | https://github.com/dart-lang/http/issues/939 | 1,717,662,391 | 939 |
[
"dart-lang",
"http"
] | The failure is not consistent but at least one test seems to fail at least 90% of the time. The failing test is not consistent between runs.
It looks like failing tests are not run (I added prints to the test entry points in #934).
When run with verbose i.e. `flutter test --verbose integration_test/`, the logs ar... | cupertino_http tests are failing are head when run using github workflows | https://api.github.com/repos/dart-lang/http/issues/938/comments | 10 | 2023-05-19T00:03:20Z | 2023-05-30T16:44:26Z | https://github.com/dart-lang/http/issues/938 | 1,716,421,803 | 938 |
[
"dart-lang",
"http"
] | https://github.com/flutter/flutter/issues/126650
After upgrading Flutter 3.10.0 users have been getting Invalid Internet Address Error when requesting with http.
Issue explained on detail on URL above. Is it http package related to this? thanks!
 async {
try {
await get(Uri.parse('https://google.com'));
} catch (e... | Disjoint behavior for network level errors between native & web | https://api.github.com/repos/dart-lang/http/issues/927/comments | 1 | 2023-05-12T09:23:54Z | 2023-09-20T11:36:58Z | https://github.com/dart-lang/http/issues/927 | 1,707,277,616 | 927 |
[
"dart-lang",
"http"
] | The streaming request will only return the result once on the flutter web platform, and cannot return the result of a single word, but it can return a single result on android and ios. Is it because the streaming request on the web side does not support returning words one by one? | The streaming request will only return the result once on the flutter web platform。 | https://api.github.com/repos/dart-lang/http/issues/926/comments | 2 | 2023-05-12T06:17:39Z | 2025-05-02T17:48:54Z | https://github.com/dart-lang/http/issues/926 | 1,707,006,172 | 926 |
[
"dart-lang",
"http"
] | Below is the implementation I am using for handling web socket requests.
`WebSocketChannel.connect(Uri.parse(endpoint))`
```
final messageController = StreamController(onCancel: () {
channel.sink.close();
});
channel.stream.listen(messageController.add, cancelOnError: true, onError:... | App crashes even when exceptions are handled | https://api.github.com/repos/dart-lang/http/issues/1639/comments | 5 | 2023-05-08T23:00:39Z | 2025-01-22T16:06:39Z | https://github.com/dart-lang/http/issues/1639 | 2,804,782,593 | 1,639 |
[
"dart-lang",
"http"
] | dart-lang/web_socket_channel#240 added the `ready` property, which completes when the connection is established. It also [completes with errors](https://github.com/iota9star/web_socket_channel/blob/651ec998114635718ed2760c54ebd08ca34bc531/lib/html.dart#LL103C7-L103C22) when the connection fails. This results in uncaugh... | `ready` completes with exceptions and is therefore a breaking change | https://api.github.com/repos/dart-lang/http/issues/1638/comments | 2 | 2023-05-07T13:39:30Z | 2025-01-22T16:06:39Z | https://github.com/dart-lang/http/issues/1638 | 2,804,782,575 | 1,638 |
[
"dart-lang",
"http"
] | I was trying to connect my WebSocket server through a Unix Domain Socket, but the library was telling me that it does not have support for this protocol variation. I understand that this is not a widespread use of WebSocket, but its inclusion could be an important extra.
| Support for ws+unix:// schema for UNIX Domain Socket | https://api.github.com/repos/dart-lang/http/issues/1637/comments | 0 | 2023-05-06T17:21:02Z | 2025-01-22T16:06:38Z | https://github.com/dart-lang/http/issues/1637 | 2,804,782,560 | 1,637 |
[
"dart-lang",
"http"
] | I have an implementation in this https://github.com/dart-lang/http/pull/923
But sending multiple pings in a row does not work. See:
https://developer.apple.com/forums/thread/729437
| Support `[NSURLSessionWebSocketTask sendPingWithPongReceiveHandler:]` | https://api.github.com/repos/dart-lang/http/issues/924/comments | 0 | 2023-05-05T18:55:11Z | 2023-05-09T22:18:49Z | https://github.com/dart-lang/http/issues/924 | 1,698,053,110 | 924 |
[
"dart-lang",
"http"
] | ...this means that it uses memory proportional to the size of the upload.
Apple has a different API concept for upload streams - instead of providing a stream, you provide a callable that produces that stream. We could copy that pattern to avoid the copying. | RetryClient duplicates the input stream in order to able to resend it | https://api.github.com/repos/dart-lang/http/issues/919/comments | 0 | 2023-05-03T16:56:51Z | 2023-05-03T16:56:51Z | https://github.com/dart-lang/http/issues/919 | 1,694,453,277 | 919 |
[
"dart-lang",
"http"
] | null | Add Dart 3 class modifiers | https://api.github.com/repos/dart-lang/http/issues/918/comments | 0 | 2023-05-03T16:39:27Z | 2023-05-09T17:45:39Z | https://github.com/dart-lang/http/issues/918 | 1,694,426,510 | 918 |
[
"dart-lang",
"http"
] | ```
Stream<List<int>> pseudoFileGenerator(int size) async* {
List<int> list = [];
for (int i = 0; i < size; i++) {
list.add(i);
if (i % 1024 == 0) {
print('1kb');
yield List.from(list);
list = [];
}
}
if (list.isEmpty == false) {
yield List.from(list);
}
}
//... | MultipartRequest is not working correctly on Flutter WEB | https://api.github.com/repos/dart-lang/http/issues/917/comments | 1 | 2023-05-03T12:16:58Z | 2024-01-30T19:10:42Z | https://github.com/dart-lang/http/issues/917 | 1,693,962,101 | 917 |
[
"dart-lang",
"http"
] | See https://github.com/dart-lang/sdk/issues/41376#issuecomment-1525036848 | Support web sockets | https://api.github.com/repos/dart-lang/http/issues/916/comments | 1 | 2023-05-01T22:28:39Z | 2025-05-02T17:50:23Z | https://github.com/dart-lang/http/issues/916 | 1,691,498,243 | 916 |
[
"dart-lang",
"http"
] | I run my code and lock my phone for a few seconds. In the debug mode, the socket continues to send messages, but in the release and the profile it retransfers, and when I unlock the phone, it goes into onDone with closeCode 1002.
WebSocketChannel? channel;
int generate() {
channel = WebSocket... | The release mode closes the socket on iOS in the background | https://api.github.com/repos/dart-lang/http/issues/1636/comments | 0 | 2023-04-27T08:30:53Z | 2025-01-22T16:06:38Z | https://github.com/dart-lang/http/issues/1636 | 2,804,782,543 | 1,636 |
[
"dart-lang",
"http"
] | Create a multipart request with more than one file passed in:
```
final request = http.MultipartRequest(
type.toString().split('.').last, Uri.parse(apiUrl))
..headers.addAll(toStringMap(headers))
..files.addAll(files);
```
`files` is a `List<MultipartFile>` of length > 1
I've confirmed that t... | Multipart request with multiple files only sends the last file | https://api.github.com/repos/dart-lang/http/issues/913/comments | 0 | 2023-04-24T17:50:01Z | 2023-04-24T17:53:17Z | https://github.com/dart-lang/http/issues/913 | 1,681,755,147 | 913 |
[
"dart-lang",
"http"
] | Hello, I'm sorry if its not correct issue theme. I get errors with http packege when i try to asseble code on phone or windows. Thank you for you for your help in advance
The errors i get:
`Launching lib\main.dart on Windows in debug mode...
main.dart:1
/C:/Users/Admin/AppData/Local/Pub/Cache/hosted/pub.dev/http-0.... | Errors at HTTP | https://api.github.com/repos/dart-lang/http/issues/912/comments | 1 | 2023-04-24T08:54:38Z | 2023-04-30T20:30:26Z | https://github.com/dart-lang/http/issues/912 | 1,680,759,927 | 912 |
[
"dart-lang",
"http"
] | I'm looking for create an instance of request for all of my network request.
In my case i'm using the `headers: {'Content-Type': 'application/json'} `header, and i recode it for every request.
There is a way to config an instance of request and use it for all the requests?? I googled it and didn't find.
Something ... | Config the header once for all the request | https://api.github.com/repos/dart-lang/http/issues/911/comments | 3 | 2023-04-23T14:25:32Z | 2023-05-16T15:17:36Z | https://github.com/dart-lang/http/issues/911 | 1,680,045,791 | 911 |
[
"dart-lang",
"http"
] | I have noticed that the transmission speed (i.e. for sending files) is only about 7 MB/s on my Android device (Samsung Galaxy S21). This however, only happens if I use HTTPS. On HTTP, the speed is about 40-50 MB/s.
I only changed between HTTP and HTTPS, there are no other changes.
This strange behaviour seem to o... | Slow speed on HTTPS and Android | https://api.github.com/repos/dart-lang/http/issues/909/comments | 1 | 2023-04-18T23:58:08Z | 2023-04-19T00:05:49Z | https://github.com/dart-lang/http/issues/909 | 1,673,973,370 | 909 |
[
"dart-lang",
"http"
] | When building a flutter application using web_socket_channel version 2.3.0 or 2.4.0 I get the following error:
```
Launching lib/main.dart on Stephen’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: BRLDS4F7K4
Running pod install...
Runn... | GraphQLWebSocketChannel Missing Implementations | https://api.github.com/repos/dart-lang/http/issues/1635/comments | 0 | 2023-04-14T15:20:58Z | 2025-01-22T16:06:38Z | https://github.com/dart-lang/http/issues/1635 | 2,804,782,527 | 1,635 |
[
"dart-lang",
"http"
] | The Dart SDK exports `HttpStatus` constants for both `dart:io` and `dart:html`. Actually using them in a platform-agnostic way is not particularly straightforward and is awkward.
Since one of the purposes of `package:http` is to provide a unified interface, it'd be nice if `package:http` exported them too. | It'd be nice if package:http exported HttpStatus constants | https://api.github.com/repos/dart-lang/http/issues/905/comments | 1 | 2023-04-03T06:14:06Z | 2024-01-19T13:38:08Z | https://github.com/dart-lang/http/issues/905 | 1,651,407,895 | 905 |
[
"dart-lang",
"http"
] | I tried to established clean HTTP protocol in order to use in web scraping service.
but I found that http package established a websocket protocol with server instead of HTTP!!!! | unexpected websocket establishing | https://api.github.com/repos/dart-lang/http/issues/902/comments | 0 | 2023-04-01T07:42:05Z | 2023-04-01T07:42:05Z | https://github.com/dart-lang/http/issues/902 | 1,650,348,306 | 902 |
[
"dart-lang",
"http"
] | I'm calling get request for LDAP authentication, In my application its returning JSESSIONID, but with postman for the same request its getting LtpaToken2 and JSESSIONID(Attached Screenshot for reference).
I'm using [http](https://pub.dev/packages/http) package.
I have 2 questions:
Any one know, it is possible ... | Unable to get multiple cookie from get request - http | https://api.github.com/repos/dart-lang/http/issues/901/comments | 2 | 2023-03-28T14:12:11Z | 2023-04-01T17:27:18Z | https://github.com/dart-lang/http/issues/901 | 1,644,051,796 | 901 |
[
"dart-lang",
"http"
] | These 3 classes should be changed to `mixin`, otherwise the usages marked below them are an error with Dart language version 3.0
* CancellableMixin https://github.com/dart-lang/http2/blob/7518027ec82527e0204bd43c4a1408321903113a/lib/src/error_handler.dart#L43
* https://github.com/dart-lang/http2/blob/7518027e... | Dart 3 compatibility: some classes are used as mixins | https://api.github.com/repos/dart-lang/http/issues/1379/comments | 0 | 2023-03-27T10:46:10Z | 2024-10-18T09:08:15Z | https://github.com/dart-lang/http/issues/1379 | 2,596,931,005 | 1,379 |
[
"dart-lang",
"http"
] | It would be awesome if the `http` package would add support for [xsrf/csrf prevention](https://en.wikipedia.org/wiki/Cross-site_request_forgery#Prevention). Especially a cookie to token csrf prevention implementation would be very helpful to easily interact with [django applications](https://docs.djangoproject.com/en/4... | support XSRF/CSRF prevention | https://api.github.com/repos/dart-lang/http/issues/900/comments | 0 | 2023-03-26T12:27:33Z | 2023-03-26T13:01:04Z | https://github.com/dart-lang/http/issues/900 | 1,640,890,286 | 900 |
[
"dart-lang",
"http"
] | I am using the oauth2 package to get an authenticated client. This uses the http package client.
When the request does not succeed, browser_client only prints "XMLHttpRequest error.".
I have seen the comment on the code:
```
// Unfortunately, the underlying XMLHttpRequest API doesn't expose any
// specific infor... | No matter the error cause or status code, there are no details about it when a request fails. | https://api.github.com/repos/dart-lang/http/issues/899/comments | 1 | 2023-03-23T10:26:23Z | 2023-03-23T11:13:58Z | https://github.com/dart-lang/http/issues/899 | 1,637,246,419 | 899 |
[
"dart-lang",
"http"
] | ## Describe
When attempting to use `MultipartRequest` in the `http` package, the documentation states that files should be added to a list. However, attempting to add files to the provided `files` list results in the error `"Unsupported operation: Cannot add to an unmodifiable list"`. The issue seems to be caused by... | Fix: cannot add files to MultipartFile list. | https://api.github.com/repos/dart-lang/http/issues/897/comments | 0 | 2023-03-22T10:28:26Z | 2023-03-23T12:50:56Z | https://github.com/dart-lang/http/issues/897 | 1,635,483,628 | 897 |
[
"dart-lang",
"http"
] | I'm facing `Failed host lookup: 'api.xyz.io'` and `Software caused connection abort` some users on crashlytics logs. when i send http request on my app opening loading screen.
`Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Software caused connection abort. Error thrown Init User.
... | Software caused connection abort & Failed host lookup: 'api.xyz.io' | https://api.github.com/repos/dart-lang/http/issues/896/comments | 0 | 2023-03-21T19:47:32Z | 2023-03-21T22:07:20Z | https://github.com/dart-lang/http/issues/896 | 1,634,593,156 | 896 |
[
"dart-lang",
"http"
] | Unhandled Exception: HttpException: Content-Length must contain only digits, uri = http://192.168.200.1/AWIP.html
E/flutter ( 5783): #0 _HttpHeaders._addContentLength (dart:_http/http_headers.dart:383:9)
E/flutter ( 5783): #1 _HttpHeaders._add (dart:_http/http_headers.dart:359:11)
E/flutter ( 5783): #2 ... | Unhandled Exception: HttpException: Content-Length must contain only digits, uri = http://192.168.123.1/xyz.html | https://api.github.com/repos/dart-lang/http/issues/894/comments | 6 | 2023-03-20T14:47:26Z | 2023-08-15T17:02:20Z | https://github.com/dart-lang/http/issues/894 | 1,632,265,368 | 894 |
[
"dart-lang",
"http"
] | I am trying to connect my device with HC-05 using this but I am unable to connect and getting the error
"getBluetoothService() called with no BluetoothManagerCallback"
any solution for this.
I am basically running the example provided by them for testing. | Can we connect device to HC-05 using this package. | https://api.github.com/repos/dart-lang/http/issues/893/comments | 0 | 2023-03-20T10:28:43Z | 2023-03-20T10:29:15Z | https://github.com/dart-lang/http/issues/893 | 1,631,815,538 | 893 |
[
"dart-lang",
"http"
] | E/flutter (25854): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Connection refused
E/flutter (25854): #0 IOClient.send (package:http/src/io_client.dart:88:7)
E/flutter (25854): <asynchronous suspension>
E/flutter (25854): #1 BaseClient._sendUnstreamed (package:http/src/base_clien... | Http package refused connection on mobile network many time but on wifi works fine after updating http package | https://api.github.com/repos/dart-lang/http/issues/892/comments | 7 | 2023-03-15T18:53:21Z | 2023-05-29T18:37:37Z | https://github.com/dart-lang/http/issues/892 | 1,626,079,386 | 892 |
[
"dart-lang",
"http"
] | The package doesn't provide a way to see what the web-server actually responded with when the connection isn't upgraded. An example would be to open web sockets based on some URL which includes a UUID. A normal behavior of the web server would be to return a 404 error when is exact resource is not found.
What happe... | It's currently not possible to retrieve the HTTP error/status code (like 404) when connecting to a WebSocket | https://api.github.com/repos/dart-lang/http/issues/1634/comments | 3 | 2023-03-11T15:40:33Z | 2025-01-22T16:06:37Z | https://github.com/dart-lang/http/issues/1634 | 2,804,782,516 | 1,634 |
[
"dart-lang",
"http"
] | Hi there.
I requested a .com address in Korean.
The address is '감자.com'.
However, I received the following error result.
<img width="1140" alt="스크린샷 2023-03-09 오후 9 22 23" src="https://user-images.githubusercontent.com/50290684/224022370-5a94099a-b67e-43b9-a31e-5dd682e35752.png">
| Can't request Korean domain address. | https://api.github.com/repos/dart-lang/http/issues/890/comments | 2 | 2023-03-09T12:25:08Z | 2023-05-15T15:12:57Z | https://github.com/dart-lang/http/issues/890 | 1,617,129,606 | 890 |
[
"dart-lang",
"http"
] | I recently rolled out cupertino_http for a small percentage of users in a production app and I see some crashes associated with it.
I did not reproduce it myself yet, but I thought I'd share the stack trace here:
```
OS Version: iOS 15.7.3 (19H307)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
... | [cuperino_http] Crash in cupertino_http | https://api.github.com/repos/dart-lang/http/issues/887/comments | 9 | 2023-03-08T14:02:11Z | 2023-04-13T19:59:08Z | https://github.com/dart-lang/http/issues/887 | 1,615,329,137 | 887 |
[
"dart-lang",
"http"
] | hi guys,for title, i can't found and search that scheme | How to set the ”Timeout“ parameter | https://api.github.com/repos/dart-lang/http/issues/1633/comments | 2 | 2023-02-26T14:19:14Z | 2025-01-22T16:06:37Z | https://github.com/dart-lang/http/issues/1633 | 2,804,782,501 | 1,633 |
[
"dart-lang",
"http"
] | the op_close (8), is sending out about 20sec after I call channel.sink.close(...). why? why not send out the op_close immediately?
This single problem basically renders this whole package useless: we can't reconnect quickly. I checked many other complained the same issue.
Another issue, can we pass up the ws.rea... | op_close (8) is sending out about 20sec after channel.sink.close is called | https://api.github.com/repos/dart-lang/http/issues/1632/comments | 1 | 2023-02-26T07:14:41Z | 2025-01-22T16:06:36Z | https://github.com/dart-lang/http/issues/1632 | 2,804,782,476 | 1,632 |
[
"dart-lang",
"http"
] | https://pub.dev/documentation/http/latest/http/BaseRequest/maxRedirects.html says
> If this number is exceeded the [BaseResponse](https://pub.dev/documentation/http/latest/http/BaseResponse-class.html) future will signal a `RedirectException`. Defaults to 5.
...but it actually fires a `ClientException`, and there... | Docs for maxRedirects mention wrong exception | https://api.github.com/repos/dart-lang/http/issues/882/comments | 0 | 2023-02-25T01:00:49Z | 2023-04-04T16:01:23Z | https://github.com/dart-lang/http/issues/882 | 1,599,460,439 | 882 |
[
"dart-lang",
"http"
] | Hello,
i'm trying to send a POST to my server. I'm sure about the server is working, becouse it accept POST from another client and it works perfectly.
Using wireshark i discovered that i'm sending a message without a header, so the server refuse it with 411 error (Length required), but i think the problem is that th... | Header missing on post send | https://api.github.com/repos/dart-lang/http/issues/880/comments | 1 | 2023-02-24T08:34:38Z | 2023-03-11T02:36:43Z | https://github.com/dart-lang/http/issues/880 | 1,598,174,731 | 880 |
[
"dart-lang",
"http"
] | [](https://www.youtube.com/watch?v=PDidvyocF8g)
https://www.youtube.com/shorts/PDidvyocF8g
- http://devbandhu.ppms.co.in/API/Attendance/InsertAttendanceInputData
[https://drive.google.com/file/d/1stLJt4vf4JeKhfgnT0NEZIUUPyYcW4Zs/view?usp=sharing... | In JIO 4G & 5G not able to post the data Samsung | https://api.github.com/repos/dart-lang/http/issues/878/comments | 1 | 2023-02-22T13:09:37Z | 2023-02-23T02:44:47Z | https://github.com/dart-lang/http/issues/878 | 1,595,077,637 | 878 |
[
"dart-lang",
"http"
] | _(Flutter maintainers pointed me here, original issue: https://github.com/flutter/flutter/issues/121143)_
When my flutter app goes in to the background it gets SocketExceptions when it tries to make http requests (examples captured by Crashlytics included below). I assume this is something to do with Android OS' ene... | [http] Requests fail with SocketException when flutter app goes in to background | https://api.github.com/repos/dart-lang/http/issues/877/comments | 4 | 2023-02-22T10:52:01Z | 2024-09-10T12:31:49Z | https://github.com/dart-lang/http/issues/877 | 1,594,884,799 | 877 |
[
"dart-lang",
"http"
] | Hi!
I'd like to give some feedback on cronet_http:
Currently, it is not possible to initiate http requests from an different isolate than the main isolate.
This due to the usage of `setMessageHandler()` in the call to `receiveBroadcastStream()`: https://github.com/dart-lang/http/blob/e2c4e6f7aea17e89a6c56d0ff3... | [cronet_http] Support running in a different isolate | https://api.github.com/repos/dart-lang/http/issues/876/comments | 16 | 2023-02-22T10:06:32Z | 2023-12-07T17:43:32Z | https://github.com/dart-lang/http/issues/876 | 1,594,815,681 | 876 |
[
"dart-lang",
"http"
] | When I use `MultipartFile` constructors I could not specify the `contentType` property because `MediaType` from `http_parser` package is used internally in `multipart_file.dart` file and not exported into the target project. | `MediaType` is not exported to parent project | https://api.github.com/repos/dart-lang/http/issues/873/comments | 3 | 2023-02-15T11:48:15Z | 2024-06-26T12:47:37Z | https://github.com/dart-lang/http/issues/873 | 1,585,716,934 | 873 |
[
"dart-lang",
"http"
] | # Info you may need
* Dart SDK version: 2.19.0 (stable) (Mon Jan 23 11:29:09 2023 -0800) on "windows_x64"
* Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b06b8b2710 (3 weeks ago) • 2023-01-23 16:55:55 -0800
Engine • revision b24591ed32
Tools • Dart 2.19.0 • DevTools 2... | Unhandled exception that can never be handled | https://api.github.com/repos/dart-lang/http/issues/872/comments | 2 | 2023-02-15T00:42:35Z | 2023-07-13T11:14:12Z | https://github.com/dart-lang/http/issues/872 | 1,585,032,132 | 872 |
[
"dart-lang",
"http"
] | The file “io_client.dart” in the “http” library contains a spelling error in the word “Implements”.
This error appears on line 20 of the file and is causing confusion for developers using the library. | Incorrect spelling of “Implements” in “/http/lib/src/io_client.dart” | https://api.github.com/repos/dart-lang/http/issues/870/comments | 0 | 2023-02-14T22:52:43Z | 2023-03-02T18:30:10Z | https://github.com/dart-lang/http/issues/870 | 1,584,946,171 | 870 |
[
"dart-lang",
"http"
] | The goal would be to have sensible default implementations for each platform e.g. `CupertinoClient` on macOS/iOS, `CronetClient` on Android, `IOClient` elsewhere.
One complexity here would be that differentiated configuration (e.g. using ephemeral sessions with `cupertino_http`-only) would be difficult/impossible an... | Investigate creating a federated plugin for package:http | https://api.github.com/repos/dart-lang/http/issues/867/comments | 0 | 2023-02-07T23:42:22Z | 2023-02-07T23:42:22Z | https://github.com/dart-lang/http/issues/867 | 1,575,205,554 | 867 |
[
"dart-lang",
"http"
] | The goal would be to remove any easy-to-remove dependencies to reduce the number of version constraints we package:http imposes on users. | Investigate removing dependencies from package:http | https://api.github.com/repos/dart-lang/http/issues/866/comments | 0 | 2023-02-07T23:36:36Z | 2023-02-07T23:36:36Z | https://github.com/dart-lang/http/issues/866 | 1,575,199,017 | 866 |
[
"dart-lang",
"http"
] | Crash when connection time out. It should just call error callback and not raise crashes
```
Unhandled Exception: SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address = 192.168.1.52, port = 49954
E/flutter (28902): #0 _NativeSocket.startConnect (dart:io-patch/socket... | Crash | https://api.github.com/repos/dart-lang/http/issues/1523/comments | 0 | 2023-02-07T10:17:37Z | 2025-01-22T16:02:00Z | https://github.com/dart-lang/http/issues/1523 | 2,804,772,044 | 1,523 |
[
"dart-lang",
"http"
] | No response when the uploaded file is binary
https://github.com/dart-lang/http/issues/1480 | Is there any way to upload Binary Message? | https://api.github.com/repos/dart-lang/http/issues/1522/comments | 1 | 2023-02-06T10:24:43Z | 2025-01-22T16:01:59Z | https://github.com/dart-lang/http/issues/1522 | 2,804,772,029 | 1,522 |
[
"dart-lang",
"http"
] | [Commit a90e740](https://github.com/dart-lang/web_socket_channel/commit/a90e740dad4739d578e09eb0e076ac2846f9404e) Is not compatible with version 2.2.0 and causes breaking changes on dependent libraries and frameworks. Minor version incrementing should add functionality in a [backwards compatible manner](https://semver.... | Breaking changes in 2.3.0 | https://api.github.com/repos/dart-lang/http/issues/1521/comments | 1 | 2023-02-03T15:58:06Z | 2025-01-22T16:01:59Z | https://github.com/dart-lang/http/issues/1521 | 2,804,772,013 | 1,521 |
[
"dart-lang",
"http"
] | The http requests were working fine before. Recently, I am getting an issue like this
> Access to XMLHttpRequest at 'https://www.google.com/' from origin 'http://localhost:33121' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header ... | CORS issue for Flutter Web | https://api.github.com/repos/dart-lang/http/issues/864/comments | 1 | 2023-02-03T09:48:20Z | 2023-04-24T10:38:53Z | https://github.com/dart-lang/http/issues/864 | 1,569,551,952 | 864 |
[
"dart-lang",
"http"
] | `dart:io` has a handy `ContentType` class that allows programmers to `parse` the `content-type` response header. [Docs](https://api.dart.dev/stable/2.19.1/dart-io/ContentType-class.html).
It'd be nice to have this class (and other `HeaderValue`s) available through `package:http`, (or anywhere else outside of `dart:i... | Bring `class ContentType` to `package:http` | https://api.github.com/repos/dart-lang/http/issues/863/comments | 12 | 2023-02-03T00:14:46Z | 2024-04-12T00:16:16Z | https://github.com/dart-lang/http/issues/863 | 1,568,965,772 | 863 |
[
"dart-lang",
"http"
] | /E:/src/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.13.5/lib/src/browser_client.dart:64:15: Error: The getter 'xh' isn't defined for the class 'BrowserClient'.
- 'BrowserClient' is from 'package:http/src/browser_client.dart' ('/E:/src/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.13.5/lib/src/browser_client.... | I got this error while running the project on the web | https://api.github.com/repos/dart-lang/http/issues/861/comments | 4 | 2023-01-29T06:22:21Z | 2023-08-28T15:29:56Z | https://github.com/dart-lang/http/issues/861 | 1,561,145,298 | 861 |
[
"dart-lang",
"http"
] | **Issue Summary:**
The http package in Flutter does not work when the app is killed and a push notification is received, which is preventing the app from making necessary HTTP requests in the callback triggered by the push notification.
**Steps to reproduce:**
Kill the app by swiping it away from the recent apps... | HTTP package not functioning within push notifications callback when app is killed | https://api.github.com/repos/dart-lang/http/issues/860/comments | 0 | 2023-01-28T23:35:21Z | 2023-01-28T23:35:21Z | https://github.com/dart-lang/http/issues/860 | 1,561,050,951 | 860 |
[
"dart-lang",
"http"
] | Hello.
My team uses this package to send files. While testing my project, I discovered the following thing: on all tested systems (Windows 10 & Ubuntu 22.04.1) there is a memory leak.
To be more precise, the application sends the file in parts in several isolates, its own `IOWebSocketChannel` is created for each isol... | Memory leaking when using isolates with channels | https://api.github.com/repos/dart-lang/http/issues/1520/comments | 5 | 2023-01-26T13:18:53Z | 2025-01-22T16:06:56Z | https://github.com/dart-lang/http/issues/1520 | 2,804,771,995 | 1,520 |
[
"dart-lang",
"http"
] | The httpClient is throwing error with valid CN with custom CA:
```
Failed httpGet HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: Hostname mismatch(handshake.cc:393))
```
client.badCertificateCallback shows :
cert.subject = `/CN=192.168.1.109`
host=`192.168.1.109` | SecurityContext with custom CA throws Hostname mismatch | https://api.github.com/repos/dart-lang/http/issues/857/comments | 0 | 2023-01-23T19:31:08Z | 2023-01-23T19:31:45Z | https://github.com/dart-lang/http/issues/857 | 1,553,645,656 | 857 |
[
"dart-lang",
"http"
] | When I close the internet connection to test what happens in onDone method,
Trying to handle exception but it doesn't handle;
```
try {
_channel = IOWebSocketChannel.connect(
Uri.parse("wss://MY_URL.com/ws/"),
);
} on SocketException {
print("HANDLE");
}
```
This code works on web_socket_cha... | web_socket_channel 2.3.0 - IOWebSocketChannel.connect Doesn't Handle SocketException | https://api.github.com/repos/dart-lang/http/issues/1519/comments | 6 | 2023-01-22T10:53:06Z | 2025-01-22T16:05:20Z | https://github.com/dart-lang/http/issues/1519 | 2,804,771,960 | 1,519 |
[
"dart-lang",
"http"
] | This is best practice for libraries. | Have a single cronet_http.dart file in the lib/ directory | https://api.github.com/repos/dart-lang/http/issues/856/comments | 1 | 2023-01-19T18:03:54Z | 2023-01-26T17:57:55Z | https://github.com/dart-lang/http/issues/856 | 1,549,675,837 | 856 |
[
"dart-lang",
"http"
] | This is best practice for libraries. | Have a single cupertino_http.dart file in the lib/ directory | https://api.github.com/repos/dart-lang/http/issues/855/comments | 1 | 2023-01-19T18:03:49Z | 2023-01-26T17:58:20Z | https://github.com/dart-lang/http/issues/855 | 1,549,675,702 | 855 |
[
"dart-lang",
"http"
] |
When I am uploading a video of 500mb to the server, then it gives me error -
**RangeError: Array buffer allocation failed**
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/native_typed_data.dart 1069:7 _create1
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib... | Can't Send large files through http multipart flutter web | https://api.github.com/repos/dart-lang/http/issues/854/comments | 6 | 2023-01-19T06:46:09Z | 2024-02-12T18:54:17Z | https://github.com/dart-lang/http/issues/854 | 1,548,602,449 | 854 |
[
"dart-lang",
"http"
] | I'm doing a simple http request (http.get(uri, headers: _headers)
I have differents errors:
`Software caused connection abort`
`Bad file descriptor`
`Failed to parse header value`
`Failed host lookup: 'xxxxxxxx.execute-api.eu-west-3.amazonaws.com'`
Here is the stacktrace (always the same for differents... | GET works but flutter throw an error | https://api.github.com/repos/dart-lang/http/issues/850/comments | 3 | 2023-01-11T14:35:23Z | 2023-01-18T21:43:08Z | https://github.com/dart-lang/http/issues/850 | 1,529,170,655 | 850 |
[
"dart-lang",
"http"
] | How can I tell you how often to get information from the socket link? | delayed | https://api.github.com/repos/dart-lang/http/issues/1518/comments | 1 | 2023-01-06T21:12:13Z | 2025-01-22T16:01:58Z | https://github.com/dart-lang/http/issues/1518 | 2,804,771,935 | 1,518 |
[
"dart-lang",
"http"
] | I am using Dart to create a Chrome extension.
But, In Manifest V3, XMLHttpRequest is not supported in background pages (provided by Service Workers). Please consider using its modern replacement, fetch().
So I feel that should add or replace the ability to Post and Get using fetch() instead of XMLHttpRequest.
This [... | ReferenceError: XMLHttpRequest is not defined | https://api.github.com/repos/dart-lang/http/issues/849/comments | 0 | 2023-01-06T13:30:39Z | 2023-01-06T13:30:39Z | https://github.com/dart-lang/http/issues/849 | 1,522,597,898 | 849 |
[
"dart-lang",
"http"
] | I am facing issue with a GET url which response status code - 303, throwing error "Bad state: Response has no Location header for redirect" but with postman url working fine. | API response status code 301 - 303 not handled | https://api.github.com/repos/dart-lang/http/issues/848/comments | 0 | 2023-01-06T08:55:17Z | 2023-01-06T08:55:17Z | https://github.com/dart-lang/http/issues/848 | 1,522,210,905 | 848 |
[
"dart-lang",
"http"
] | null | ios 处于后台时,收不到消息。当切换为前台时,会立马推消息 | https://api.github.com/repos/dart-lang/http/issues/1517/comments | 0 | 2023-01-03T06:00:31Z | 2025-01-22T16:01:57Z | https://github.com/dart-lang/http/issues/1517 | 2,804,771,919 | 1,517 |
[
"dart-lang",
"http"
] | Flutter: 3.3.1
Dart: 2.18.2
web_socket_channel: ^2.2.0
Calling **add** method like this works properly (which means that a message is sent every time):
`channel.sink.add(message)`
Calling this method with a cascade operator causes that action is performed only on a first call (second and subsequent calls don't... | Calling add method with cascade operator invoke function only once | https://api.github.com/repos/dart-lang/http/issues/1516/comments | 0 | 2022-12-30T21:21:02Z | 2025-01-22T16:01:57Z | https://github.com/dart-lang/http/issues/1516 | 2,804,771,896 | 1,516 |
[
"dart-lang",
"http"
] | The `Request` class sets the content type explicitly regardless of the http method and the body length. https://github.com/dart-lang/http/blob/88f6fc6edc8b941b4a0acc1bd6de51625b54bcc3/pkgs/http/lib/src/request.dart#L91
I believe that setting an empty body for a GET request should leave the content type empty, but it... | Content-Type gets set for a GET request with an empty body | https://api.github.com/repos/dart-lang/http/issues/841/comments | 0 | 2022-12-23T21:15:06Z | 2024-06-30T21:46:37Z | https://github.com/dart-lang/http/issues/841 | 1,509,783,573 | 841 |
[
"dart-lang",
"http"
] |
<img width="1378" alt="Screenshot 2022-12-19 at 16 45 04" src="https://user-images.githubusercontent.com/46102107/208396453-e7697828-0700-4f2f-b814-df702eb3a1d8.png">
Due to JSON decode take 40.5ms on main isolate hence create a UI jank.
Maybe we can move the decode function to a background isolate using the [co... | transformResponse take too long | https://api.github.com/repos/dart-lang/http/issues/1336/comments | 4 | 2022-12-19T09:49:44Z | 2024-10-18T09:02:47Z | https://github.com/dart-lang/http/issues/1336 | 2,596,917,988 | 1,336 |
[
"dart-lang",
"http"
] | Hi devs.
On other platforms I use the following implementation to send headers and it works really great.
```dart
IOWebSocketChannel.connect(
url,
protocols: protocols,
headers: {'Authorization': "Bearer $accessToken"},
);
```
Now problem comes on flutter web, since I... | How to send headers on web | https://api.github.com/repos/dart-lang/http/issues/1515/comments | 10 | 2022-12-18T09:04:53Z | 2025-01-22T16:01:56Z | https://github.com/dart-lang/http/issues/1515 | 2,804,771,855 | 1,515 |
[
"dart-lang",
"http"
] | Hi devs.
On other platforms I use the following implementation to send headers and it works really great.
```dart
IOWebSocketChannel.connect(
url,
protocols: protocols,
headers: {'Authorization': "Bearer $accessToken"},
);
```
Now problem comes on flutter web, since I... | How to send headers on web | https://api.github.com/repos/dart-lang/http/issues/1473/comments | 10 | 2022-12-18T09:04:53Z | 2025-01-22T15:56:06Z | https://github.com/dart-lang/http/issues/1473 | 2,804,755,825 | 1,473 |
[
"dart-lang",
"http"
] | ```
final uri = Uri.parse("ws://192.168.0.167:8080");
debugPrint("connecting... ${uri.host} ${uri.port}");
final socket = WebSocketChannel.connect(uri);
```
the uri is correctly getting parsed
but the socket throws exception after a minute, Connection TimedOut and displays wrong port, I didn't hav... | trying to connect to wrong port | https://api.github.com/repos/dart-lang/http/issues/1472/comments | 6 | 2022-12-14T04:24:05Z | 2025-01-22T16:01:58Z | https://github.com/dart-lang/http/issues/1472 | 2,804,755,802 | 1,472 |
[
"dart-lang",
"http"
] | Hi, I've been wondering around the use of this plugin and Apple's Encryption Export Regulations.
According to Apple's site:
> Typically, the use of encryption that’s built into the operating system—for example, when your app makes HTTPS connections using URLSession—is exempt from export documentation upload requi... | HTTPS connections NOT using URLSession in the iOS (Apple - Complying with Encryption Export Regulations) | https://api.github.com/repos/dart-lang/http/issues/838/comments | 0 | 2022-12-13T16:19:19Z | 2022-12-13T16:19:19Z | https://github.com/dart-lang/http/issues/838 | 1,494,617,034 | 838 |
[
"dart-lang",
"http"
] | We should consider publishing a `1.0.0` version of package:http (it's one of our `dart.dev` packages). | Consider publishing a `1.0.0` version of package:http | https://api.github.com/repos/dart-lang/http/issues/837/comments | 2 | 2022-12-07T15:49:28Z | 2024-06-28T21:33:23Z | https://github.com/dart-lang/http/issues/837 | 1,482,237,869 | 837 |
[
"dart-lang",
"http"
] | I am subscribing to list of coins
` channel.sink.add(jsonEncode({
"action": "subscribe",
"quotes": coins,
}));
`
this is what I get when subscribe:
`
[{"T":"b","S":"BTC/USD","o":47993.71,"c":47982.6,"h":48000,"l":47... | How to put incoming subscription data into a model class ? | https://api.github.com/repos/dart-lang/http/issues/1471/comments | 1 | 2022-12-05T06:30:13Z | 2025-01-22T15:56:06Z | https://github.com/dart-lang/http/issues/1471 | 2,804,755,787 | 1,471 |
[
"dart-lang",
"http"
] | I have an issue with the Flutter HTTP plugin in the Android 12+ version. App-consuming REST API calls using the Flutter HTTP plugin (Version: 0.13.5).
All API calls are HTTPS service calls with the domain name. API calls take 10+ seconds to provide the response whereas the same API calls took only less than a second i... | In Android 12+, the REST API calls are very slow in WiFi network | https://api.github.com/repos/dart-lang/http/issues/836/comments | 2 | 2022-12-04T14:30:27Z | 2024-04-05T12:36:58Z | https://github.com/dart-lang/http/issues/836 | 1,474,870,129 | 836 |
[
"dart-lang",
"http"
] | Why the Headers in get and post method is a Map<String, String>, can't it be Map<String, dynamic>? | Headers | https://api.github.com/repos/dart-lang/http/issues/835/comments | 0 | 2022-12-04T12:27:58Z | 2022-12-05T05:21:28Z | https://github.com/dart-lang/http/issues/835 | 1,474,772,727 | 835 |
[
"dart-lang",
"http"
] | Hi,
I am trying to send logs to grafana. The url looks like this
https://337640:eyJrIjoiOGVkMzcxOTVhYWM5ZTAxYjE0MmJkODllNTZjM2MxMDAwNTNmNjE0OSIsIm4iOiJmZGdkZmciLCJpZCI6NzU0NzQ4fQ==@logs-prod3.grafana.net/loki/api/v1/push
(this is a mock key).
The package is unable to detect the correct format.
| Error with keys in url | https://api.github.com/repos/dart-lang/http/issues/834/comments | 1 | 2022-12-02T23:45:59Z | 2022-12-02T23:48:54Z | https://github.com/dart-lang/http/issues/834 | 1,473,584,761 | 834 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.