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"
] | Sample code is here
```
final request = http.MultipartRequest('POST', Uri.parse("your_server_url"));
request.files.add(http.MultipartFile.fromBytes("file", file.bytes, filename: file.name)); //your server may require a different key than "file"
final response = await request.send();
// No... | How I can get response data when calling multipart post request ? | https://api.github.com/repos/dart-lang/http/issues/573/comments | 3 | 2021-05-17T13:54:16Z | 2024-07-12T22:02:49Z | https://github.com/dart-lang/http/issues/573 | 893,358,053 | 573 |
[
"dart-lang",
"http"
] | 在网页上面测试没问题 但是在flutter中报“Bad response 'Sec-WebSocket-Accept' header” | Bad response 'Sec-WebSocket-Accept' header | https://api.github.com/repos/dart-lang/http/issues/1502/comments | 1 | 2021-05-16T05:41:00Z | 2025-01-22T16:01:31Z | https://github.com/dart-lang/http/issues/1502 | 2,804,770,893 | 1,502 |
[
"dart-lang",
"http"
] | I have one issue while working on flutter, whenever i tried to calling the http.put request strange issue occurred.
Here is my main code.
```
saveBookMarksLogin(id) async {
final prefs = await SharedPreferences.getInstance();
var bookmarkData = {
"Id": userId,
"newsId": id,
};
t... | I have one issue while working on flutter, whenever i tried to calling the http.put request strange issue occurred. | https://api.github.com/repos/dart-lang/http/issues/572/comments | 1 | 2021-05-15T06:20:55Z | 2021-07-15T21:58:27Z | https://github.com/dart-lang/http/issues/572 | 892,369,693 | 572 |
[
"dart-lang",
"http"
] | Hi, I am trying to connect with a php api rest, I can successfully post request and retrieve information back to login my api.
When I use post/get with 'header' param, I get an error, on flutter web only, mobile works fine.
my code:
```
static Future<dynamic> postApiRequest(String url, String bearerToken) async {... | Flutter Web - "XMLHttpRequest error" when headers included on http.post method | https://api.github.com/repos/dart-lang/http/issues/571/comments | 2 | 2021-05-14T19:22:47Z | 2021-06-22T19:33:01Z | https://github.com/dart-lang/http/issues/571 | 892,178,469 | 571 |
[
"dart-lang",
"http"
] | hello, thanks for your package. I don't know much about this so please forgive my ignorance. Is there any way to get the data while the app is closed with this package? thank you! | working in the background | https://api.github.com/repos/dart-lang/http/issues/1501/comments | 0 | 2021-05-13T17:35:43Z | 2025-01-22T16:01:30Z | https://github.com/dart-lang/http/issues/1501 | 2,804,770,877 | 1,501 |
[
"dart-lang",
"http"
] | Hi I am posting json like this
```
final res = await http.post(
Uri.http("${getApiHost()}", "${getApiBasePath()}/final"),
headers: {
'Content-type': 'application/json',
'Accept': 'application/json',
},
body: '{"transactionChanges":[{"id":"2","billCode":"... | Json with list inside an object throws an error | https://api.github.com/repos/dart-lang/http/issues/569/comments | 2 | 2021-05-05T18:42:27Z | 2021-05-07T00:36:44Z | https://github.com/dart-lang/http/issues/569 | 876,734,922 | 569 |
[
"dart-lang",
"http"
] | Hey!!
I want to upload files with ```web_socket_channel``` but didn't find any documentation related to it. Can someone please help me with this??
Thank you. | File Upload with web_socket_channel | https://api.github.com/repos/dart-lang/http/issues/1500/comments | 0 | 2021-05-05T16:37:18Z | 2025-01-22T16:01:30Z | https://github.com/dart-lang/http/issues/1500 | 2,804,770,861 | 1,500 |
[
"dart-lang",
"http"
] | Error: XMLHttpRequest error.
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 906:28 get current
packages/http/src/browser_client.dart 84:22 <fn>
C:/b/s/w/ir/cache... | Error: XMLHttpRequest error. | https://api.github.com/repos/dart-lang/http/issues/568/comments | 8 | 2021-05-05T09:35:55Z | 2021-07-15T19:47:20Z | https://github.com/dart-lang/http/issues/568 | 876,261,528 | 568 |
[
"dart-lang",
"http"
] | It seems like neither `abort` or `cancel` method are provided from http package, though there is `abort` in dart:io package for httpClientRequest.
Is it safe to call `close` on client for multipart request?
```dart
class MultipartRequest extends http.MultipartRequest {
/// Creates a new [MultipartRequest].
... | Abort or cancel multipart request | https://api.github.com/repos/dart-lang/http/issues/567/comments | 2 | 2021-05-04T23:28:31Z | 2024-11-01T08:05:04Z | https://github.com/dart-lang/http/issues/567 | 875,919,621 | 567 |
[
"dart-lang",
"http"
] | The package works fine for Flutter for Windows etc but as soon as i want to connect to my api with Flutter Web, id get "XMLHttpRequest error".. im very sure its not my fault; I really just tried the exact same code for the two different platforms. | Request Error in Flutter Web | https://api.github.com/repos/dart-lang/http/issues/563/comments | 3 | 2021-04-27T19:42:36Z | 2021-07-15T19:50:32Z | https://github.com/dart-lang/http/issues/563 | 869,202,900 | 563 |
[
"dart-lang",
"http"
] | I am experiencing a hang using http.get with a URL built using http. It does works for https. The site supports both http and https.
//This works as expected
var url = **Uri.https**("www.easyscoregolfapp.com","");
var response = await http.get(url);
//This will hang on the http.get(...)
var url = **Uri.http*... | http.get(uri) hangs when accessing URL with http, works with https. Website supports both secured and non-secured requests. | https://api.github.com/repos/dart-lang/http/issues/562/comments | 1 | 2021-04-27T19:26:29Z | 2021-07-15T19:54:09Z | https://github.com/dart-lang/http/issues/562 | 869,191,295 | 562 |
[
"dart-lang",
"http"
] | pub-cache/hosted/pub.dartlang.org/http-0.13.1/lib/src/io_client.dart:30:24: Error: The getter 'calawait' isn't defined for the class 'IOClient'.
- 'IOClient' is from 'package:http/src/io_client.dart' ('pub-cache/hosted/pub.dartlang.org/http-0.13.1/lib/src/io_client.dart').
Try correcting the name to the name of an e... | The getter 'calawait' isn't defined for the class 'IOClient' | https://api.github.com/repos/dart-lang/http/issues/561/comments | 2 | 2021-04-26T09:57:40Z | 2021-07-15T19:49:24Z | https://github.com/dart-lang/http/issues/561 | 867,515,265 | 561 |
[
"dart-lang",
"http"
] | Hi, I have checked the documentation but I haven't seen backpressure implementation. How can I do this in Flutter? Thank you in advance. | Backpressure implementation | https://api.github.com/repos/dart-lang/http/issues/1499/comments | 0 | 2021-04-23T10:41:40Z | 2025-01-22T16:01:29Z | https://github.com/dart-lang/http/issues/1499 | 2,804,770,848 | 1,499 |
[
"dart-lang",
"http"
] | Is there a built-in way to set a ping message and interval or do we have to create it manually?
Thank you | Does this library have a way to set a ping interval and custom ping message? | https://api.github.com/repos/dart-lang/http/issues/1498/comments | 0 | 2021-04-22T17:56:32Z | 2025-01-22T16:01:29Z | https://github.com/dart-lang/http/issues/1498 | 2,804,770,831 | 1,498 |
[
"dart-lang",
"http"
] | Great plugins! but i run in to this problem when try to make a get request, It only return response "text/html;charset=UTF-8" as header content type , even i try to set it to application/json
final response = await http.get(url, headers: {
'Content-Type': 'application/json',
'Accept': 'applica... | How to set 'content-type': 'application/json' in header? | https://api.github.com/repos/dart-lang/http/issues/557/comments | 3 | 2021-04-20T10:48:20Z | 2021-08-27T00:41:03Z | https://github.com/dart-lang/http/issues/557 | 862,684,785 | 557 |
[
"dart-lang",
"http"
] | Hello,
After upgrade to flutter 2.0 null safety I've encountered an error in the application.
`pub upgrade`
```
Because every version of flutter_driver from sdk depends on crypto 2.1.5 and web_socket_channel 2.0.0 depends on crypto ^3.0.0, flutter_driver from sdk is incompatible with web_socket_channel 2.0.0.... | flutter_driver from sdk is incompatible with web_socket_channel 2.0.0 | https://api.github.com/repos/dart-lang/http/issues/1497/comments | 0 | 2021-04-19T11:02:26Z | 2025-01-22T16:01:28Z | https://github.com/dart-lang/http/issues/1497 | 2,804,770,805 | 1,497 |
[
"dart-lang",
"http"
] | Hey!
Recently our Websocketserver protocol changed slightly and every incoming message includes a 0x90 at the beginning. This causes the Websocket to close, without ever printing the message. No errormessage either. As soon as the message is sent, onDone will be called and the message is gone.
Is there a way to ... | Sending hex causes onDone being called with no error | https://api.github.com/repos/dart-lang/http/issues/1496/comments | 1 | 2021-04-19T06:33:29Z | 2025-01-22T16:01:28Z | https://github.com/dart-lang/http/issues/1496 | 2,804,770,791 | 1,496 |
[
"dart-lang",
"http"
] | Hello. It seems like you have small problem in the README. It says:
```dart
import 'package:web_socket_channel/web_socket_channel.dart';
import 'package:web_socket_channel/status.dart' as status;
main() async {
var channel = IOWebSocketChannel.connect(Uri.parse('ws://localhost:1234'));
channel.stream.l... | [docs] IOWebSocketChannel undefined | https://api.github.com/repos/dart-lang/http/issues/1495/comments | 1 | 2021-04-18T08:44:38Z | 2025-01-22T16:01:28Z | https://github.com/dart-lang/http/issues/1495 | 2,804,770,771 | 1,495 |
[
"dart-lang",
"http"
] | 1. web_socket_channel:^1.2.0
2. flutter:2.0.0
response:
`[31, 139, 8, 0, 0, 0, 0, 0, 0, 0, 21, 78, 187, 14, 130, 64, 16, 252, 21, 51, 245, 177, 97, 23, 110, 129, 235, 16, 72, 48, 26, 45, 60, 27, 59, 16, 10, 11, 26, 197, 138, 240, 239, 222, 77, 51, 153, 204, 35, 179, 225, 181, 76, 112, 248, 254, 70, 250, 12, 235,... | How does the message data returned by web_socket_channel monitor Unit8List turn into Map | https://api.github.com/repos/dart-lang/http/issues/1494/comments | 0 | 2021-04-17T05:08:08Z | 2025-01-22T16:01:27Z | https://github.com/dart-lang/http/issues/1494 | 2,804,770,756 | 1,494 |
[
"dart-lang",
"http"
] | Hi, I have a question about how I can set pingInterval using WebSocketChannel.
I can set it by
`IOWebSocketChannel.connect(Uri.parse(url), pingInterval: Duration(seconds: 3)`
It works well for iOS and Android. But for web, I got Error: Unsupported operation: Platform._version.
Then I found instead of IOWebSo... | [Ping Interval] WebSocketChannel.connect with pingInterval | https://api.github.com/repos/dart-lang/http/issues/1563/comments | 4 | 2021-04-12T22:01:09Z | 2025-01-22T16:03:27Z | https://github.com/dart-lang/http/issues/1563 | 2,804,775,375 | 1,563 |
[
"dart-lang",
"http"
] | ```
WebSocketChannel channel;
channel = IOWebSocketChannel.connect("wss://XXXX.com");
channel.stream.listen((message) async* {
print(message);
}
}, onDone: () {
print("Stream disconnected");
}, onError: (error) {
print('Error: $error');
});
```
When I use the a... | async * or sync * is broken? | https://api.github.com/repos/dart-lang/http/issues/1562/comments | 1 | 2021-04-12T21:30:42Z | 2025-01-22T16:03:26Z | https://github.com/dart-lang/http/issues/1562 | 2,804,775,363 | 1,562 |
[
"dart-lang",
"http"
] | Originally noted at https://github.com/flutter/flutter/issues/80138#issuecomment-817725219.
Given the following code:
```dart
import 'dart:convert';
import 'dart:io';
import 'package:http_multi_server/http_multi_server.dart';
main() async {
var server = await HttpMultiServer.bind('any', 0);
print('L... | Using 'any' as hostname may fail to bind to IPv6 loopback but still return IPv6 loopback from server.address.host | https://api.github.com/repos/dart-lang/http/issues/1431/comments | 0 | 2021-04-12T17:32:22Z | 2024-12-17T12:51:19Z | https://github.com/dart-lang/http/issues/1431 | 2,744,860,494 | 1,431 |
[
"dart-lang",
"http"
] | Originally noted at https://github.com/flutter/flutter/issues/80138#issuecomment-817725219.
Given the following code:
```dart
import 'dart:convert';
import 'dart:io';
import 'package:http_multi_server/http_multi_server.dart';
main() async {
var server = await HttpMultiServer.bind('any', 0);
print('L... | Using 'any' as hostname may fail to bind to IPv6 loopback but still return IPv6 loopback from server.address.host | https://api.github.com/repos/dart-lang/http/issues/1429/comments | 0 | 2021-04-12T17:32:22Z | 2024-12-17T12:51:11Z | https://github.com/dart-lang/http/issues/1429 | 2,744,860,191 | 1,429 |
[
"dart-lang",
"http"
] | `
channel = IOWebSocketChannel.connect(Uri.encode(MY_SOCKET_URL));
`
I'm listening to this channel and the snapshot returns
`WebSocketChannelException: WebSocketException: Connection to 'http://dev-system.worksamurai.com.au:0/api/websocket/messages/support?accessToken=oi+wBZblSq=&id=48#' was not upgraded to w... | Connection to {MY_SOCKET_URL} was not upgraded to websocket | https://api.github.com/repos/dart-lang/http/issues/1561/comments | 7 | 2021-04-09T14:09:02Z | 2025-01-22T16:03:26Z | https://github.com/dart-lang/http/issues/1561 | 2,804,775,346 | 1,561 |
[
"dart-lang",
"http"
] | Dear.
when using Post with mobile or desktop app it work fine but when run using web it show this error (XMLHttpRequest error.)
I enable CORS in IIS10
***********************************************************
this is my flutter code:
class GlobalVal
{
static String ip_address ='172.16.200.188:9090';
sta... | XMLHttpRequest error. when using post with asp.net web api | https://api.github.com/repos/dart-lang/http/issues/553/comments | 1 | 2021-04-05T10:41:55Z | 2021-07-15T22:10:15Z | https://github.com/dart-lang/http/issues/553 | 850,277,669 | 553 |
[
"dart-lang",
"http"
] | null | can we send image and video through this library | https://api.github.com/repos/dart-lang/http/issues/1560/comments | 1 | 2021-03-31T05:06:00Z | 2025-01-22T16:03:26Z | https://github.com/dart-lang/http/issues/1560 | 2,804,775,336 | 1,560 |
[
"dart-lang",
"http"
] | please add http 2 server push | make http 2 server push | https://api.github.com/repos/dart-lang/http/issues/1372/comments | 1 | 2021-03-26T15:25:28Z | 2024-10-18T09:08:10Z | https://github.com/dart-lang/http/issues/1372 | 2,596,930,919 | 1,372 |
[
"dart-lang",
"http"
] | <h1>Flutter App crashed after getting this exception </h1>
**Exception has occurred.
SocketException (SocketException: OS Error: No route to host, errno = 113, address = 10.162.18.32, port = 60208)**
THE same URL is accessible from the testing phone, Postman.
also tried with
```dart
try {
} on SocketE... | Flutter try catch can't catch SocketException ( Exception has occurred. SocketException (SocketException: OS Error: No route to host, errno = 113) | https://api.github.com/repos/dart-lang/http/issues/551/comments | 33 | 2021-03-23T04:53:18Z | 2024-03-26T03:14:51Z | https://github.com/dart-lang/http/issues/551 | 838,346,785 | 551 |
[
"dart-lang",
"http"
] | when i try to connect over the following link:
` http://192.168.4.1/wifisave?s=asdasd&p=10001010101010&ip=192.168.1.202&gw=192.168.1.1&sn=255.255.255.0&email=new@test.com&pass=123456789&alarm=1`
I get the following error
> The Content-Length header occurred more than once, at most one is allowed.
even thought i... | [Error] the Content-Length header occurred more than once, at most one is allowed. | https://api.github.com/repos/dart-lang/http/issues/550/comments | 8 | 2021-03-22T21:35:21Z | 2021-04-13T20:05:01Z | https://github.com/dart-lang/http/issues/550 | 838,126,931 | 550 |
[
"dart-lang",
"http"
] | I think add a proxy,
..findProxy = (_) => 'PROXY 192.168.1.10:8888';
what to do ???
| how to use add proxy | https://api.github.com/repos/dart-lang/http/issues/549/comments | 1 | 2021-03-21T10:10:44Z | 2022-02-11T05:51:32Z | https://github.com/dart-lang/http/issues/549 | 837,035,253 | 549 |
[
"dart-lang",
"http"
] | Before the 0.13.0 version i had
`String url = 'http://192.168.1.2:3000'; //My ipv4, with localhost:3000 doesn't work or 127.0.0.1:3000`
`final res = await http.post(
'$url/domiciliary/login',
headers: {"Content-Type": "application/json"},
body: body
);`
`final res = await http.pos... | With the new version 0.13.0 i can't make http request using localhost | https://api.github.com/repos/dart-lang/http/issues/548/comments | 6 | 2021-03-19T20:35:03Z | 2021-06-11T15:52:23Z | https://github.com/dart-lang/http/issues/548 | 836,341,838 | 548 |
[
"dart-lang",
"http"
] | Hi,
I'm experiencing an issue when I build my app for web: OPTIONS method is used instead of GET by the http package which is very strange. The same app (the same code) when used in iOS simulator or on iOS mobile devices works fine, but not when used for web:
```
[✓] Flutter (Channel stable, 2.0.0, on Mac OS X ... | OPTIONS method is used instead of GET when using for web | https://api.github.com/repos/dart-lang/http/issues/547/comments | 1 | 2021-03-19T20:04:30Z | 2021-03-30T20:32:49Z | https://github.com/dart-lang/http/issues/547 | 836,317,034 | 547 |
[
"dart-lang",
"http"
] |
_http: ^0.13.0_
`import 'package:http/http.dart' as http;`
it's my code
```
var client = http.Client();
try {
var uriResponse = await client.post('https://example.com/whatsit/create',
body: {'name': 'doodle', 'color': 'blue'});
} finally {
client.close();
}
```
... | The argument type 'String' can't be assigned to the parameter type 'Uri'. | https://api.github.com/repos/dart-lang/http/issues/542/comments | 0 | 2021-03-16T06:02:45Z | 2021-03-16T06:03:35Z | https://github.com/dart-lang/http/issues/542 | 832,444,765 | 542 |
[
"dart-lang",
"http"
] | I get the upper error.
My function:
void _incrementCounter() async {
String url = 'https://jsonplaceholder.typicode.com/posts';
Response response = await get(url); // sample info available in response
}
import 'package:http/http.dart'; is made.
| The argument type 'String' can't be assigned to the parameter type 'Uri'. | https://api.github.com/repos/dart-lang/http/issues/541/comments | 1 | 2021-03-15T14:36:59Z | 2021-03-15T14:49:03Z | https://github.com/dart-lang/http/issues/541 | 831,877,543 | 541 |
[
"dart-lang",
"http"
] | `WebSocketChannel.connect` and `WebSocketChannel.sink.add` dose not send message immediately.
I wrote this simple websocket client, which send message twice with 5 sec delay.
Part1 works as I thought, but Part2 does not connnect/send on time, but happen when I close stream.
```dart
import 'dart:io';
import '... | [Dart][question] connecting/sending blocked until disconnect. | https://api.github.com/repos/dart-lang/http/issues/1559/comments | 1 | 2021-03-14T14:01:38Z | 2025-01-22T16:03:25Z | https://github.com/dart-lang/http/issues/1559 | 2,804,775,319 | 1,559 |
[
"dart-lang",
"http"
] | Just tested the code on android, everything works fine unless web build throws an error like this:
> Unsupported operation: Platform._version
> The relevant error-causing widget was
> MyApp
> lib/main.dart:6
> When the exception was thrown, this was the stack
> dart-sdk/lib/_internal/js_dev_runtime/private/d... | Unsupported operation: Platform._version - on Flutter 2.0.0 Web | https://api.github.com/repos/dart-lang/http/issues/1558/comments | 4 | 2021-03-14T10:42:30Z | 2025-01-22T16:03:25Z | https://github.com/dart-lang/http/issues/1558 | 2,804,775,306 | 1,558 |
[
"dart-lang",
"http"
] | I am using node js in the back-end. Whenever i try to connect to my web-sockets it gives this error
**WebSocketChannelException: WebSocketChannelException: WebSocketException: Connection to 'http://192.168.43.20:3001#' was not upgraded to websocket**
my code
```
> testSocket() async{
> var channel = IOWebSoc... | Getting error while connecting to socket server | https://api.github.com/repos/dart-lang/http/issues/1557/comments | 2 | 2021-03-13T08:29:56Z | 2025-01-22T16:03:24Z | https://github.com/dart-lang/http/issues/1557 | 2,804,775,274 | 1,557 |
[
"dart-lang",
"http"
] | Current latest http doesn't support "Flutter 2.0" null safety logic. This needs to be fixed, else not possible to use this feature for app and all other packages. | Need null safety support | https://api.github.com/repos/dart-lang/http/issues/540/comments | 2 | 2021-03-12T10:18:59Z | 2021-03-14T04:00:47Z | https://github.com/dart-lang/http/issues/540 | 829,967,862 | 540 |
[
"dart-lang",
"http"
] | ## Steps to Reproduce
<!-- You must include full steps to reproduce so that we can reproduce the problem. -->
1. Create a new application and import the http package (minimal example provided here)
2. Run the app on an iOS 10 device (I have no other device to test...)
3. Make the app start an http call
**Exp... | http request crashes on iOS 10 with Flutter 2 | https://api.github.com/repos/dart-lang/http/issues/539/comments | 1 | 2021-03-11T08:42:34Z | 2021-03-12T09:25:16Z | https://github.com/dart-lang/http/issues/539 | 828,928,837 | 539 |
[
"dart-lang",
"http"
] | I updated my `http` package to the latest version which is `0.13.0`. I read the documentation and used it my code.
I had this error "The argument type `String` can't be assigned to the parameter type `Uri`. "
To my surprise, I found out that the documentation was outdated.
There is a breaking change in version `0.1... | Outdated documentation | https://api.github.com/repos/dart-lang/http/issues/538/comments | 4 | 2021-03-10T19:25:40Z | 2021-03-24T23:44:43Z | https://github.com/dart-lang/http/issues/538 | 828,228,152 | 538 |
[
"dart-lang",
"http"
] | when i am use http package in my app it show me error regarding String cann't assign in Uri

| when i am use http package in my app it show me error regarding String cann't assign in Uri | https://api.github.com/repos/dart-lang/http/issues/537/comments | 7 | 2021-03-08T15:22:37Z | 2021-03-09T21:23:16Z | https://github.com/dart-lang/http/issues/537 | 824,665,939 | 537 |
[
"dart-lang",
"http"
] | Today I clean install flutter 2.0 and my project is not working in below line. Before upgrade this line **http.get(Uri.encodeFull** was working. I look to find any information and documentation is outdated and doesn't include new changes. Any idea?
`var _response = await http.get(Uri.encodeFull("www.googleapis.co... | await http.get(Uri.encodeFull doesn't work with Flutter 2.0 | https://api.github.com/repos/dart-lang/http/issues/536/comments | 2 | 2021-03-06T13:28:21Z | 2021-03-07T09:00:48Z | https://github.com/dart-lang/http/issues/536 | 823,648,079 | 536 |
[
"dart-lang",
"http"
] | Future<void> getData() async {
var response = await http.get('http://covid19.th-stat.com/api/open/today');
print(response.body);
print('get Data...');
}
--the error
lib/screen.dart:22:35: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'. - 'Uri' is from 'dart:core'... | why use http ^0.13.0 in flutter error | https://api.github.com/repos/dart-lang/http/issues/1332/comments | 1 | 2021-03-04T17:18:38Z | 2024-10-18T09:02:45Z | https://github.com/dart-lang/http/issues/1332 | 2,596,917,924 | 1,332 |
[
"dart-lang",
"http"
] | I have this request working on a Linux terminal:
`curl -X POST "https://my-api.plantnet.org/v2/identify/all?api-key=11111111111111111111" -H "accept: application/json" -F "organs=flower" -F "organs=leaf" -F "images=@images/image_1.jpeg" -F "images=@images/image_2.jpeg"
`
As you may have seen there are two **mult... | To handle multi-VALUE fields in a POST request | https://api.github.com/repos/dart-lang/http/issues/534/comments | 0 | 2021-03-04T17:03:45Z | 2021-03-04T17:03:45Z | https://github.com/dart-lang/http/issues/534 | 822,324,103 | 534 |
[
"dart-lang",
"http"
] | Version 0.13.0 has this Uri thing instead of String.
| Outdated documentation | https://api.github.com/repos/dart-lang/http/issues/533/comments | 5 | 2021-03-04T01:47:48Z | 2021-03-09T18:04:51Z | https://github.com/dart-lang/http/issues/533 | 821,670,901 | 533 |
[
"dart-lang",
"http"
] | I have successfully uploaded the app in TestFlight in iOS Platform. It ask for the following messsage:
"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 requirements, whereas the use... | Does this plugin make HTTPS connections using URLSession in the iOS | https://api.github.com/repos/dart-lang/http/issues/532/comments | 1 | 2021-03-03T18:42:52Z | 2021-03-24T23:42:57Z | https://github.com/dart-lang/http/issues/532 | 821,383,275 | 532 |
[
"dart-lang",
"http"
] | How do I get the actual error messages coming from different status codes like 422, 401 or 405. I want the actual error JSON that is coming from the server. | Handing Error Responses | https://api.github.com/repos/dart-lang/http/issues/531/comments | 1 | 2021-02-26T07:14:28Z | 2021-07-15T20:11:26Z | https://github.com/dart-lang/http/issues/531 | 817,107,372 | 531 |
[
"dart-lang",
"http"
] | 我用其他方式(http://coolaf.com/tool/chattest)可以正常连接,但是在flutter里报了以下错误:
flutter: WebSocketChannelException: WebSocketChannelException: WebSocketException: Response header 'Sec-WebSocket-Accept' is the wrong length | 'Sec-WebSocket-Accept' is the wrong length | https://api.github.com/repos/dart-lang/http/issues/1556/comments | 1 | 2021-02-25T02:54:20Z | 2025-01-22T16:03:24Z | https://github.com/dart-lang/http/issues/1556 | 2,804,775,255 | 1,556 |
[
"dart-lang",
"http"
] | We have made a flutter app where we are calling a Rest API's using **http: ^0.12.2** plugin. App seems to be working fine when we use mobile network but not working fine when we use Wifi network. This is basically for Australia region. We don't know what exactly the issue is or with specifically for HTTP plugin that we... | HTTP request fails when we try with Wifi network but works fine with mobile netowrk | https://api.github.com/repos/dart-lang/http/issues/530/comments | 2 | 2021-02-24T06:59:08Z | 2023-07-28T12:48:15Z | https://github.com/dart-lang/http/issues/530 | 815,171,952 | 530 |
[
"dart-lang",
"http"
] | Is there any way to provide `headers` to an `HtmlWebSocketChannel`? Right now it seems that only `url` and `protocols` are available right now.
I'm assuming this is because `dart:html` WebSocket doesn't allow you to do that, and I think https://github.com/flutter/flutter/issues/39998 is the right place to ask about ... | [Web] headers in HtmlWebSocketChannel? | https://api.github.com/repos/dart-lang/http/issues/1555/comments | 1 | 2021-02-20T17:19:23Z | 2025-01-22T16:03:23Z | https://github.com/dart-lang/http/issues/1555 | 2,804,775,239 | 1,555 |
[
"dart-lang",
"http"
] | flutter_test from sdk depends on meta 1.3.0-nullsafety.6.
_Originally posted by @yang-lile in https://github.com/dart-lang/http/issues/528#issuecomment-779757001_ | flutter_test from sdk depends on meta 1.3.0-nullsafety.6. | https://api.github.com/repos/dart-lang/http/issues/529/comments | 1 | 2021-02-16T10:53:31Z | 2021-02-16T11:26:18Z | https://github.com/dart-lang/http/issues/529 | 809,205,349 | 529 |
[
"dart-lang",
"http"
] | After update to iOS 14.4 all http request in 4G are blocked, Wifi is ok.
| With iOS 14.4 no 4G data | https://api.github.com/repos/dart-lang/http/issues/527/comments | 1 | 2021-02-11T15:44:58Z | 2021-07-15T22:07:40Z | https://github.com/dart-lang/http/issues/527 | 806,511,194 | 527 |
[
"dart-lang",
"http"
] | Any plans to migrate this package to null safety?
My app depends on it, I cannot prepare for null safety without it | Null safety | https://api.github.com/repos/dart-lang/http/issues/1554/comments | 1 | 2021-02-07T18:08:56Z | 2025-01-22T16:03:23Z | https://github.com/dart-lang/http/issues/1554 | 2,804,775,221 | 1,554 |
[
"dart-lang",
"http"
] | I am a flutter user and I am trying to use this package for Websocket communications.
When trying out the codes in the README.md, Android Studio reports that `IOWebSocketChannel` is not defined anywhere. After digging, I found out that `IOWebSocketChannel` is declared in `libs/io.dart` and `io.dart` is not exported in... | Missing import | https://api.github.com/repos/dart-lang/http/issues/1553/comments | 2 | 2021-02-02T16:37:46Z | 2025-01-22T16:03:12Z | https://github.com/dart-lang/http/issues/1553 | 2,804,774,820 | 1,553 |
[
"dart-lang",
"http"
] | please make http2 for web | http2 for web/windows/linux/mac | https://api.github.com/repos/dart-lang/http/issues/1371/comments | 1 | 2021-02-02T14:05:37Z | 2024-10-18T09:08:09Z | https://github.com/dart-lang/http/issues/1371 | 2,596,930,862 | 1,371 |
[
"dart-lang",
"http"
] | Response data decode than show Json format exceptions error..how to handle | Format Exceptions | https://api.github.com/repos/dart-lang/http/issues/525/comments | 1 | 2021-02-02T03:09:35Z | 2021-07-15T22:09:47Z | https://github.com/dart-lang/http/issues/525 | 798,884,664 | 525 |
[
"dart-lang",
"http"
] | copy-paste example:
```
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:io';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(Bui... | send empty {} in Flutter for Web | https://api.github.com/repos/dart-lang/http/issues/522/comments | 5 | 2021-01-27T13:19:29Z | 2021-01-28T18:02:52Z | https://github.com/dart-lang/http/issues/522 | 795,094,864 | 522 |
[
"dart-lang",
"http"
] | We currently have over a thousand lines of code to support a single API:
https://github.com/dart-lang/web_socket_channel/blob/c57baea6168b446a27745cf188fb0f54d539de2c/lib/src/channel.dart#L98-L102
That API has very little usage. I think the only Dart team usage may be from `shelf_web_socket`.
As far as I can t... | Remove code copied from the SDK | https://api.github.com/repos/dart-lang/http/issues/1552/comments | 0 | 2021-01-26T19:19:30Z | 2025-01-22T16:03:11Z | https://github.com/dart-lang/http/issues/1552 | 2,804,774,806 | 1,552 |
[
"dart-lang",
"http"
] | Get connection state in order to know if the socket could connect to an url.
in HTMLWebSocketChannel you only need to expose _webSocket.readyState attribute as:
int get readyState => _webSocket.readyState; | Get connection state | https://api.github.com/repos/dart-lang/http/issues/1551/comments | 0 | 2021-01-26T12:57:02Z | 2025-01-22T16:03:11Z | https://github.com/dart-lang/http/issues/1551 | 2,804,774,792 | 1,551 |
[
"dart-lang",
"http"
] | in http2 demo there is such code to deal message;
```
var stream = transport.makeRequest(headers, endStream: true);
await for (var message in stream.incomingMessages) {
```
but if the connection is closed after makeRequest, then the await will hung there; | http2 hung at await for stream.incomingMessages | https://api.github.com/repos/dart-lang/http/issues/1370/comments | 2 | 2021-01-21T09:00:48Z | 2024-10-18T09:08:08Z | https://github.com/dart-lang/http/issues/1370 | 2,596,930,851 | 1,370 |
[
"dart-lang",
"http"
] | https://android-developers.googleblog.com/2018/08/introducing-android-9-pie.html see "HTTPS by default" section.
I have tried to use the security allowance they describe in my Flutter app, but I still get the error that http is not allowed on the platform when trying to do a post when using this library. Android 6-8 ... | Http is not allowed on Android 9 and up | https://api.github.com/repos/dart-lang/http/issues/520/comments | 2 | 2021-01-20T17:28:46Z | 2021-01-26T17:07:16Z | https://github.com/dart-lang/http/issues/520 | 790,177,285 | 520 |
[
"dart-lang",
"http"
] | E/flutter (29567): [ERROR:flutter/lib/ui/ui_dart_state.cc(184)] Unhandled Exception: **Bad state: Insecure HTTP is not allowed by platform:** http://192.168.111.20:8098
E/flutter (29567): #0 _HttpClient._openUrl (dart:_http/http_impl.dart:2435:7)
E/flutter (29567): dart-lang/http#1604 _HttpClient.openUrl (d... | Why WebSocketChannel not allowed unsecure urls ? | https://api.github.com/repos/dart-lang/http/issues/1550/comments | 1 | 2021-01-17T05:40:39Z | 2025-01-22T16:03:11Z | https://github.com/dart-lang/http/issues/1550 | 2,804,774,782 | 1,550 |
[
"dart-lang",
"http"
] | Failure case:
1. create a `MultipartRequest` (with default `followRedirects` setting)
2. server processes the request and returns `303` response.
3. `MultipartRequest.send()` throws:
```
SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 63122
closing 63114
dart:_http ... | MultipartRequest on redirect gives confusing error | https://api.github.com/repos/dart-lang/http/issues/519/comments | 0 | 2021-01-15T19:32:45Z | 2021-01-15T19:32:45Z | https://github.com/dart-lang/http/issues/519 | 787,144,089 | 519 |
[
"dart-lang",
"http"
] | Please add support for form data in HTTP post request body parameter.
I was using map as parameter, but the API accepts form data only. So, I always got "bad data" error.
Then I shifted to DIO and worked like a charm!
After hours of wondering, I found that HTTP does not support formdata yet.
Please add the... | Add support for formdata in body parameter. | https://api.github.com/repos/dart-lang/http/issues/518/comments | 1 | 2021-01-15T15:15:47Z | 2021-06-10T19:16:07Z | https://github.com/dart-lang/http/issues/518 | 786,971,463 | 518 |
[
"dart-lang",
"http"
] | Was advised to forward an issue here. Could you please consider checking https://github.com/flutter/flutter/issues/73924#issue-785713985
The problem occurs sometimes with wrong values of Date headers in response. In such circumstances headers obtained in app even differs from that in Chrome console network pane.
... | In some indeterminate cases there is a wrong Date value in http Response | https://api.github.com/repos/dart-lang/http/issues/517/comments | 2 | 2021-01-14T10:00:55Z | 2021-01-15T06:12:44Z | https://github.com/dart-lang/http/issues/517 | 785,850,969 | 517 |
[
"dart-lang",
"http"
] | how to post api && make web support | how to post api && make web support | https://api.github.com/repos/dart-lang/http/issues/1369/comments | 0 | 2021-01-14T09:06:59Z | 2024-10-18T09:08:08Z | https://github.com/dart-lang/http/issues/1369 | 2,596,930,841 | 1,369 |
[
"dart-lang",
"http"
] | ../../../.pub-cache/hosted/pub.dartlang.org/web_socket_channel-1.1.0/lib/html.dart:8:8: Error: Not found: 'dart:html'
import 'dart:html';
^
../../../.pub-cache/hosted/pub.dartlang.org/web_socket_channel-1.1.0/lib/html.dart:21:9: Error: Type 'WebSocket' not found.
final WebSocket _webSocket;
^^^^^^... | no idea | https://api.github.com/repos/dart-lang/http/issues/1549/comments | 0 | 2021-01-13T11:50:46Z | 2025-01-22T16:03:10Z | https://github.com/dart-lang/http/issues/1549 | 2,804,774,766 | 1,549 |
[
"dart-lang",
"http"
] | I don't know if this is a `nginx` issue or `web_socket_channel` issue or something else.
I'm looking for help.
My nodejs websocket server displays info when connection is made. With an iOS device, it's fine. With Android, nothing.
The nodejs code:
```
server.on('connection', function connection(client) { ... | iOS is fine, Android not so much... | https://api.github.com/repos/dart-lang/http/issues/1548/comments | 1 | 2021-01-07T23:53:15Z | 2025-01-22T16:03:10Z | https://github.com/dart-lang/http/issues/1548 | 2,804,774,746 | 1,548 |
[
"dart-lang",
"http"
] | Unsupported operation: Platform._version
The relevant error-causing widget was
MaterialApp
lib/main.dart:18
When the exception was thrown, this was the stack
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 216:49 throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 289:5 ... | [Web] Unsupported operation: Platform._version | https://api.github.com/repos/dart-lang/http/issues/1547/comments | 6 | 2021-01-07T13:43:04Z | 2025-01-22T16:03:09Z | https://github.com/dart-lang/http/issues/1547 | 2,804,774,732 | 1,547 |
[
"dart-lang",
"http"
] | i have created web service on my personal server in same network .. this web server is working fine and available on same network .
i have test with postman from android device . and i also create one native andorid application using java .its working fine in native android .
but in a flutter, i have test three lib... | while Making any Http Request on real device to server by using IP and port getting SocketException and wrong port number in logs | https://api.github.com/repos/dart-lang/http/issues/516/comments | 3 | 2021-01-07T10:54:01Z | 2021-08-30T04:33:58Z | https://github.com/dart-lang/http/issues/516 | 781,222,796 | 516 |
[
"dart-lang",
"http"
] | Why on the iPhone, after disconnecting the network connection, onDone will not execute. Normal on the Android side. | Why on the iPhone, after disconnecting the network connection, onDone will not execute. Normal on the Android side. | https://api.github.com/repos/dart-lang/http/issues/1546/comments | 0 | 2021-01-06T09:57:52Z | 2025-01-22T16:03:09Z | https://github.com/dart-lang/http/issues/1546 | 2,804,774,724 | 1,546 |
[
"dart-lang",
"http"
] | I have some question that asked before in stack overflow without good responses, May be it's a feature request I'm not sure, Please help me
I have an instance of [Client](https://pub.dev/documentation/http/latest/http/Client-class.html) in my application, it is the only client that I send request to the server, Toda... | Max connection, concurrent requests | https://api.github.com/repos/dart-lang/http/issues/515/comments | 3 | 2021-01-03T17:24:13Z | 2021-01-14T20:03:25Z | https://github.com/dart-lang/http/issues/515 | 777,681,032 | 515 |
[
"dart-lang",
"http"
] | When I tried sending get request passing header "Authorization" its not working. When I changed Authorization to authorization in server its working fine. | Forcing headers to convert in lowercase | https://api.github.com/repos/dart-lang/http/issues/514/comments | 2 | 2021-01-03T06:56:24Z | 2021-03-02T10:46:32Z | https://github.com/dart-lang/http/issues/514 | 777,586,136 | 514 |
[
"dart-lang",
"http"
] | Can we get a nullsafety version and release? My library uses Crypto and the Test package, and I can't publish a nullsafety version of my library because `test` depends on `web_socket_channel` which depends on the non-nullsafety version of `crypto`. `crypto` now has the `3.0.0-nullsafety.0` version of their library now.... | Nullsafety version and release | https://api.github.com/repos/dart-lang/http/issues/1545/comments | 6 | 2020-12-30T23:05:08Z | 2025-01-22T16:03:09Z | https://github.com/dart-lang/http/issues/1545 | 2,804,774,711 | 1,545 |
[
"dart-lang",
"http"
] | I am working on a flutter project for android whose most of the work is to scrap a site. I am using post request for logging in or get a authenticated pages or download files, everything was working fine since yesterday afternoon (29/12/2020 - 3:00PM IST) but when I tried to build the project by yesterday night I was n... | POST request doesn't get resolved | https://api.github.com/repos/dart-lang/http/issues/513/comments | 1 | 2020-12-30T04:43:01Z | 2021-01-04T11:21:00Z | https://github.com/dart-lang/http/issues/513 | 776,239,928 | 513 |
[
"dart-lang",
"http"
] | Example code and a full description can be found here: https://github.com/n0npax/dart-test-http2
Basically, a header like the one below was accepted by the library and passed to the downstream service.
```dart
var headers = [
// ...
Header.ascii(':scheme', uri.scheme),
Header.ascii('test0', "llama0\r\... | CRLF injection using headers | https://api.github.com/repos/dart-lang/http/issues/1368/comments | 1 | 2020-12-25T21:09:57Z | 2024-10-18T09:08:07Z | https://github.com/dart-lang/http/issues/1368 | 2,596,930,833 | 1,368 |
[
"dart-lang",
"http"
] | I believe there is a security issue with the current implementation of `Request`.
The full example can be found [here](https://github.com/n0npax/dart-test-http)
## What's wrong:
`Request` is passing method verb as is to the stream without any kind of validation.
basically:
```dart
var r = Request(
"G... | Header injection and path forgery [security issue] | https://api.github.com/repos/dart-lang/http/issues/511/comments | 1 | 2020-12-23T11:07:32Z | 2021-04-30T00:50:56Z | https://github.com/dart-lang/http/issues/511 | 773,674,973 | 511 |
[
"dart-lang",
"http"
] | Hi there,
I was recently going through this repo's documentation. Http package has been very useful in all my flutter projects , so I was searching for the Contribution Guidelines but didn't get anything .
Neither any Contribution.md file nor anything in the wiki. It would be great if maintainers or anyone can ... | Didn't Found any Contribution Guidelines (Contribution.md file) | https://api.github.com/repos/dart-lang/http/issues/510/comments | 0 | 2020-12-20T19:58:52Z | 2024-01-13T01:30:16Z | https://github.com/dart-lang/http/issues/510 | 771,686,179 | 510 |
[
"dart-lang",
"http"
] | when connect to some http2 website, it shows this error | Incoming frame is too big | https://api.github.com/repos/dart-lang/http/issues/1367/comments | 0 | 2020-12-12T11:37:32Z | 2024-10-18T09:08:06Z | https://github.com/dart-lang/http/issues/1367 | 2,596,930,823 | 1,367 |
[
"dart-lang",
"http"
] | `http` has a [`retry`](https://pub.dev/packages/retry) package where we can configure our retry strategy.
Many Apps, like mine, need to have a contiguous and reliable websocket connection. We can achieve something like this now on this library listening for the Stream `done`, but that's not simple. It would be a lot... | Add retry logic | https://api.github.com/repos/dart-lang/http/issues/1544/comments | 5 | 2020-12-10T01:59:11Z | 2025-01-22T16:03:08Z | https://github.com/dart-lang/http/issues/1544 | 2,804,774,695 | 1,544 |
[
"dart-lang",
"http"
] | This issue can serve as a status check for people interested in the null safety release of this package. | Migrate to null-safety | https://api.github.com/repos/dart-lang/http/issues/1366/comments | 1 | 2020-12-08T13:32:06Z | 2024-10-18T09:08:06Z | https://github.com/dart-lang/http/issues/1366 | 2,596,930,814 | 1,366 |
[
"dart-lang",
"http"
] | Hi there,
for debugging purposes I want to log all http requests and responses. Therefore; I would be great, if the http.Request and the http.Response classes had a method, which returns all the data, like headers, method, body, status code etc. as a json or a string. Is there some easy way to achieve this, which I ... | Get all request and response data as string or json | https://api.github.com/repos/dart-lang/http/issues/505/comments | 0 | 2020-12-04T07:50:43Z | 2020-12-04T07:50:43Z | https://github.com/dart-lang/http/issues/505 | 756,887,352 | 505 |
[
"dart-lang",
"http"
] | **Steps to Reproduce**
1. Create a new project.
2. Import the package http or dio.
3. Make a simple post http request to a rest api.
**Expected results:**
1. I have executed the same rest api on postman and it worked.
2. I need execute a simple post http request, using the http package or dio.
**Actual resul... | [Http] ClientException. Failed to Parse HTTP. 67 does not match 13. | https://api.github.com/repos/dart-lang/http/issues/503/comments | 4 | 2020-12-02T12:25:49Z | 2023-02-16T18:11:56Z | https://github.com/dart-lang/http/issues/503 | 755,229,522 | 503 |
[
"dart-lang",
"http"
] | I want to listen to the progress during the image download. It works well in android and ios but in the web I only get this listen to callback when the image is downloaded.
```
var _response = await Client().send(Request("GET",
Uri.parse("https://upload.wikimedia.org/wikipedia/commons/f/ff/Pizigani_1367_... | Http client stream listen only called when the file is downloading | https://api.github.com/repos/dart-lang/http/issues/502/comments | 2 | 2020-12-02T06:53:26Z | 2021-07-15T20:13:41Z | https://github.com/dart-lang/http/issues/502 | 755,000,957 | 502 |
[
"dart-lang",
"http"
] | Is there already a plan to migrate this library to null safety? | Migration to null safety | https://api.github.com/repos/dart-lang/http/issues/501/comments | 21 | 2020-11-20T14:39:20Z | 2021-01-29T00:31:48Z | https://github.com/dart-lang/http/issues/501 | 747,541,788 | 501 |
[
"dart-lang",
"http"
] | Hi,
I've created a quite simple code for testing the capabilities of the websocket via Flutter web.
On the server-side, I'm using the SimpleWebsocketServer python module.
I can connect to the server but I can't send anything there, it doesn't arrive but there is no error on any side.
Here is my client code (Flu... | Unable to communicate regardless of successful connection | https://api.github.com/repos/dart-lang/http/issues/1533/comments | 1 | 2020-11-17T23:39:07Z | 2025-01-22T16:02:21Z | https://github.com/dart-lang/http/issues/1533 | 2,804,772,961 | 1,533 |
[
"dart-lang",
"http"
] | Class IOWebSocketChannel has only a very simple constructor.
By browsing a little bit through the code I saw internally the HttpClient class is used.
Are there any plans to expose the SecurityContext by an optional constructor parameter or another convenience constructor in IOWebSocketChannel, thus making self-si... | Enable self-signed certificates or third-party CA's in IOWebSocketChannel | https://api.github.com/repos/dart-lang/http/issues/1532/comments | 6 | 2020-11-15T13:22:43Z | 2025-01-22T16:02:21Z | https://github.com/dart-lang/http/issues/1532 | 2,804,772,945 | 1,532 |
[
"dart-lang",
"http"
] | ```
factory WebSocketChannel.connect(Uri uri) => platform.connect(uri);
```
there is no way to send sub-protocols atm. | allow to pass protocols to WebSocketChannel.connect | https://api.github.com/repos/dart-lang/http/issues/1531/comments | 3 | 2020-11-12T20:08:16Z | 2025-01-22T16:02:20Z | https://github.com/dart-lang/http/issues/1531 | 2,804,772,921 | 1,531 |
[
"dart-lang",
"http"
] | When a response is received with the Content-Type header set to "application/json" (without specifying the charset) the parser incorrectly assumes the response to be encoded as ISO-8859-1 (Latin-1)
The comments in the code refer to document RFC-2616 and incorrectly concludes the default encoding must be Latin-1. While... | Default charset for "application/json" incorrect | https://api.github.com/repos/dart-lang/http/issues/1331/comments | 3 | 2020-11-11T12:18:31Z | 2024-10-18T09:02:44Z | https://github.com/dart-lang/http/issues/1331 | 2,596,917,906 | 1,331 |
[
"dart-lang",
"http"
] | When a `ClientException` is thrown [from here in `io_client.dart`](https://github.com/dart-lang/http/blob/7774121a406fedb0502fce7cc224476c1ac78469/lib/src/io_client.dart#L65), it does not preserve the original HttpException's stacktrace (because of [this still open issue](https://github.com/dart-lang/sdk/issues/30741) ... | HttpException stacktrace is lost when ClientException is thrown | https://api.github.com/repos/dart-lang/http/issues/498/comments | 9 | 2020-11-09T22:10:20Z | 2023-09-25T20:11:30Z | https://github.com/dart-lang/http/issues/498 | 739,399,254 | 498 |
[
"dart-lang",
"http"
] | ### New Issue Checklist
- [ ] I have searched for a similar issue in the [project](https://github.com/flutterchina/dio/issues) and found none
### Issue Info
| Info | Value | |
| ------------------------------ | --------------------... | Unable to download from Google Drive or OneDrive | https://api.github.com/repos/dart-lang/http/issues/495/comments | 1 | 2020-11-08T23:14:38Z | 2021-07-15T21:42:51Z | https://github.com/dart-lang/http/issues/495 | 738,576,654 | 495 |
[
"dart-lang",
"http"
] | I have a sample app that makes http get requests to Unsplash's API. The results are in the form of `application/json`, encoded in UTF-8. Unfortunately, the `content-type` on the return is `application/json`, not `application/json; charset=utf-8`.
See https://github.com/flutter/samples/issues/586 for details.
Ask:... | Need to override application/json default content decoder to UTF-8 | https://api.github.com/repos/dart-lang/http/issues/494/comments | 3 | 2020-11-07T00:59:08Z | 2021-07-15T22:17:15Z | https://github.com/dart-lang/http/issues/494 | 738,123,404 | 494 |
[
"dart-lang",
"http"
] | A similar question was asked before but without a resolution. I want to get the connection state after I called HtmlWebSocketChannel.connect.
The reason is hat I want to display a successful connection in the statusbar and add the Url to a history list. Right now I can only get a callback if the connection failed. Bu... | Get connection state after connect | https://api.github.com/repos/dart-lang/http/issues/1530/comments | 2 | 2020-11-04T09:59:55Z | 2025-01-22T16:02:20Z | https://github.com/dart-lang/http/issues/1530 | 2,804,772,888 | 1,530 |
[
"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... | Unhandled exception: NoSuchMethodError: The getter 'length' was called on null. Receiver: null Tried calling: length | https://api.github.com/repos/dart-lang/http/issues/492/comments | 1 | 2020-11-04T04:38:06Z | 2021-01-05T22:51:48Z | https://github.com/dart-lang/http/issues/492 | 735,804,952 | 492 |
[
"dart-lang",
"http"
] | I'm trying to upload a large file (around 2 GB in size) on an express server.
## Problem facing
The code that I was running
```
import 'package:http/http.dart' as http;
Uri url = Uri.parse('web url');
void main(List<String> arguments) {
print('Hello!');
var request = http.MultipartRequest('POST', url);
... | FileSystemException: Cannot retrieve length of file, path = '/home/{username}/{File name}.mp4' (OS Error: No such file or directory, errno = 2) | https://api.github.com/repos/dart-lang/http/issues/490/comments | 1 | 2020-11-02T15:21:07Z | 2021-07-15T22:03:46Z | https://github.com/dart-lang/http/issues/490 | 734,592,936 | 490 |
[
"dart-lang",
"http"
] | **Description:**
As per the project requirement i need to send the headers to the http post request.
but after adding the headers, it is not forwarded to the API
For all the below scenarios mentioned, even after sending the request headers, API doesn't receive any of the provided headers information.
**Example :... | Http Headers are not forwarded to API-URL | https://api.github.com/repos/dart-lang/http/issues/488/comments | 1 | 2020-10-28T14:16:18Z | 2020-11-03T16:00:27Z | https://github.com/dart-lang/http/issues/488 | 731,484,562 | 488 |
[
"dart-lang",
"http"
] | I've create Board View List function by fetching json url via flutter When I run with
**flutter run -d windows** it works properly as this below

But when I run with **flutter run -d chrome** It is not w... | Why flutter run -d chrome can't fetch json url but flutter run -d windows can fetch | https://api.github.com/repos/dart-lang/http/issues/487/comments | 1 | 2020-10-28T03:28:41Z | 2021-07-15T21:43:32Z | https://github.com/dart-lang/http/issues/487 | 731,058,277 | 487 |
[
"dart-lang",
"http"
] | **Bug Description**
When parsing `set-cookie`, some semicolon `;` will be parsed as comma `,`
**Example**
{set-cookie: csrftoken=ZA7fXs4ScVxMLdMIhWlFEK3ZNVJPsZ1hTi10UDYTxKladlSGcehmx3piUi7f9lLv; expires=Tue, 26 Oct 2021 02:23:26 GMT; Max-Age=31449600; `Path=/; SameSite=Lax,sessionid=m7jhocc4gvob79r4txtl9r0nuws25yr... | Issue on parsing set-cookie | https://api.github.com/repos/dart-lang/http/issues/486/comments | 5 | 2020-10-27T02:36:27Z | 2024-01-12T21:33:39Z | https://github.com/dart-lang/http/issues/486 | 730,049,910 | 486 |
[
"dart-lang",
"http"
] | Hello,
Following[ this stackoverflow issue](https://stackoverflow.com/questions/64241766/how-to-get-a-cookie-in-flutter-web-from-header) that Someone created, i have the exact same problem :
I have a problem with HTTP request on the latest beta version of Flutter Web in 1.22 (Flutter 1.22.0-12.4.pre).
I have a se... | [Web] Use `withCredentails = true` by default | https://api.github.com/repos/dart-lang/http/issues/484/comments | 5 | 2020-10-13T11:52:43Z | 2024-11-05T03:48:08Z | https://github.com/dart-lang/http/issues/484 | 720,161,350 | 484 |
[
"dart-lang",
"http"
] | http requests takes too much time even just for fetching text fields! | https://api.github.com/repos/dart-lang/http/issues/483/comments | 1 | 2020-10-11T19:13:03Z | 2021-07-15T22:09:05Z | https://github.com/dart-lang/http/issues/483 | 718,906,656 | 483 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.