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" ]
When using http post for getting data from server it gives error SocketException: Connection timed out (OS Error: Connection timed out, errno = 110) It is working fine in iOS but in android sometimes screen get stuck and not getting any data, after few seconds gives connection timeout os error. Sometime it is wo...
SocketException: Connection timed out (OS Error: Connection timed out, errno = 110)
https://api.github.com/repos/dart-lang/http/issues/831/comments
14
2022-11-24T08:44:15Z
2025-02-06T04:05:02Z
https://github.com/dart-lang/http/issues/831
1,462,970,724
831
[ "dart-lang", "http" ]
I am trying to define a connectionTimeout for my BroswerClient object the same as HttpClient. Is there an alternative for that in BrowserClient class? ```dart http.client = kIsWeb ? BrowserClient() : IOClient(HttpClient()..connectionTimeout = connectionTimeout); ```
connectionTimeout parameter for BrowserClient class
https://api.github.com/repos/dart-lang/http/issues/830/comments
1
2022-11-23T17:31:33Z
2023-12-19T18:22:51Z
https://github.com/dart-lang/http/issues/830
1,462,150,010
830
[ "dart-lang", "http" ]
Freezing the page for sending data of more than 10 kilobytes. Can anyone suggest a workaround for this? ``` final openFile = await data.file.open(); Uint8List? read; while ((read = await openFile.read(10000)).isNotEmpty) { channel.sink.add(json .encode({"request": "upload__${file.request...
Freezing the page for sending data of more than 10 kilobytes.
https://api.github.com/repos/dart-lang/http/issues/1470/comments
1
2022-11-23T12:36:21Z
2025-01-22T15:55:15Z
https://github.com/dart-lang/http/issues/1470
2,804,755,768
1,470
[ "dart-lang", "http" ]
This is the code that tests to obtain <code>cookies</code>. ```dart Client client = Client(); if (client is BrowserClient) { client.withCredentials = true; } client.post( Uri.parse("http://127.0.0.1:3136/user/login"), body: { "name": "july", "pass": "1234", ...
The response header problem of the Flutter Web.
https://api.github.com/repos/dart-lang/http/issues/829/comments
0
2022-11-22T09:48:32Z
2022-11-26T03:09:43Z
https://github.com/dart-lang/http/issues/829
1,459,510,594
829
[ "dart-lang", "http" ]
null
How do I send websocket headers with WebSocketChannel.connect?
https://api.github.com/repos/dart-lang/http/issues/1469/comments
7
2022-11-20T00:13:28Z
2025-01-22T15:56:05Z
https://github.com/dart-lang/http/issues/1469
2,804,755,753
1,469
[ "dart-lang", "http" ]
See the code snippet shown here which needs to be corrected: https://pub.dev/packages/web_socket_channel
The Example on pub.dev uses IOWebSocketChannel from io.dart instead of WebSocketChannel from web_socket_channel.dart
https://api.github.com/repos/dart-lang/http/issues/1468/comments
1
2022-11-19T22:26:37Z
2025-01-22T15:55:14Z
https://github.com/dart-lang/http/issues/1468
2,804,755,736
1,468
[ "dart-lang", "http" ]
[`runWithClient`](https://pub.dev/documentation/http/latest/http/runWithClient.html) is not sufficient for the Flutter use case. Flutter sometimes invokes callbacks on the Root Zone and `runWithClient` cannot be used to set `Client` in that `Zone`.
runWithClient cannot be used to configure the client in the root Zone
https://api.github.com/repos/dart-lang/http/issues/828/comments
8
2022-11-18T22:12:54Z
2024-06-26T15:24:57Z
https://github.com/dart-lang/http/issues/828
1,455,891,235
828
[ "dart-lang", "http" ]
The reason is that `CupertinoClient._tasks` uses `taskIdentifier` as a key, which is not guaranteed to be unique across `NSURLSession` instances.
Use of multiple `CupertinoClient`s can result in cancelled requests
https://api.github.com/repos/dart-lang/http/issues/826/comments
0
2022-11-17T23:39:34Z
2022-11-22T17:50:16Z
https://github.com/dart-lang/http/issues/826
1,454,170,563
826
[ "dart-lang", "http" ]
Request works OK when server is not returning 503. IN case when server returns 503 I have exceptions in Android app. 1) Sending request using browser I see: Error 503: Service Unavailable Too many failed authentication attempts 2) Sending request via app I see exception: **"Invalid radix-10 number"** and URL...
GET request throws "Invalid radix-10 number"
https://api.github.com/repos/dart-lang/http/issues/825/comments
4
2022-11-17T07:50:09Z
2023-04-23T22:14:56Z
https://github.com/dart-lang/http/issues/825
1,452,875,949
825
[ "dart-lang", "http" ]
null
`cupertino_http`: Does not include the content-length for automatically decompressed content
https://api.github.com/repos/dart-lang/http/issues/824/comments
1
2022-11-16T19:57:20Z
2022-11-17T18:57:07Z
https://github.com/dart-lang/http/issues/824
1,452,193,708
824
[ "dart-lang", "http" ]
Hello, I wanted to use flutter web client to make api calls to a server which requires me to provide client certificates. Although I was able to do the same using securityContext from dart.io package on iOS and Android, there is no option to do the same on web as io package is not supported on web. Is there a way...
Mutual TLS support for Http Package
https://api.github.com/repos/dart-lang/http/issues/822/comments
8
2022-11-15T15:26:33Z
2022-11-16T15:44:36Z
https://github.com/dart-lang/http/issues/822
1,450,512,898
822
[ "dart-lang", "http" ]
# 🐛 Cannot send HTTP with Bearer Authentication: ClientException (Failed to parse header value) I want to POST and GET an HTTP API that requires *JWT* authentication. However, when I launch the request, it immediately fires **ClientException (Failed to parse header value)**. The locals in the error stack are...
🐛 Cannot send HTTP with Bearer Authentication: ClientException (Failed to parse header value)
https://api.github.com/repos/dart-lang/http/issues/821/comments
8
2022-11-13T10:23:59Z
2024-08-12T23:51:29Z
https://github.com/dart-lang/http/issues/821
1,446,860,670
821
[ "dart-lang", "http" ]
I try to connect websocket server from flutter app and I faced exception. On the otherhand I can connect successfully with Postman and simple NodeJS code to websocket server. Exception: `Unhandled Exception: WebSocketChannelException: WebSocketChannelException: HttpException: Invalid request method, uri = http://pu...
"Invalid request method" Exception
https://api.github.com/repos/dart-lang/http/issues/1467/comments
2
2022-11-10T08:57:06Z
2025-01-22T16:20:55Z
https://github.com/dart-lang/http/issues/1467
2,804,755,717
1,467
[ "dart-lang", "http" ]
Hi there, I have just started using web_socket_channel in a Flutter app not long ago and noticed that the library doesn't properly handle ping message from a WebSocket server. **Scenario:** 1. Successfully connected to a Ktor WebSocket server. 2. Successfully exchanged messages with Ktor WebSocket server. 3. Wh...
Automatic handling of PING messages
https://api.github.com/repos/dart-lang/http/issues/1466/comments
1
2022-11-06T19:49:56Z
2025-01-22T15:55:13Z
https://github.com/dart-lang/http/issues/1466
2,804,755,685
1,466
[ "dart-lang", "http" ]
null
get method has request data by default but no content-length header
https://api.github.com/repos/dart-lang/http/issues/1378/comments
0
2022-11-02T08:52:52Z
2024-10-18T09:08:14Z
https://github.com/dart-lang/http/issues/1378
2,596,930,992
1,378
[ "dart-lang", "http" ]
I detected and error trying to read this RSS https://status.slack.com/feed/rss this is the error ``` Unhandled exception: Error on line 1, column 25: Invalid media type: expected /[^()<>@,;:"\\/[\]?={} \t\x00-\x1F\x7F]+/. ╷ 1 │ text/xml; charset=UTF-8; │ ^ ╵ #0 wrapFormatEx...
Error parsing mime-type with trailing semicolon
https://api.github.com/repos/dart-lang/http/issues/1335/comments
0
2022-10-31T00:24:30Z
2024-10-18T09:02:47Z
https://github.com/dart-lang/http/issues/1335
2,596,917,976
1,335
[ "dart-lang", "http" ]
Hi , I'm currently trying to get the 'Response' object from the StreamedResponse class using the Response.fromStream() method. and in the next line I'm trying to use the stream object of the StreamedResponse class . This throws an error : 'Bad State : the stream has already been listened to'. code snippet th...
Response.fromStream() method haven't cancelled the Stream of StreamedResponse class.
https://api.github.com/repos/dart-lang/http/issues/816/comments
0
2022-10-30T14:06:00Z
2022-11-01T11:05:58Z
https://github.com/dart-lang/http/issues/816
1,428,818,363
816
[ "dart-lang", "http" ]
Using http 0.13.4 Calling 'https://api64.ipify.org?format=json' in a Flutter app (both on iOS and Android) always returns an IPv4 address. But calling the same url in a terminal app on the same device (like Termux on Android) correctly returns an IPv6 address. I am not finding much information about how to resol...
Does not use IPv6 when available
https://api.github.com/repos/dart-lang/http/issues/814/comments
1
2022-10-28T17:41:43Z
2022-10-29T17:40:16Z
https://github.com/dart-lang/http/issues/814
1,427,571,853
814
[ "dart-lang", "http" ]
README.md still features WebSocketChannel as a feature, even though it was moved moved to [the web_socket_channel package](https://pub.dev/packages/web_socket_channel). Consider updating README to reflect that.
Point out WebSocketChannel deprecation in README
https://api.github.com/repos/dart-lang/http/issues/1334/comments
0
2022-10-27T05:02:05Z
2024-10-18T09:02:46Z
https://github.com/dart-lang/http/issues/1334
2,596,917,965
1,334
[ "dart-lang", "http" ]
**http: ^0.13.5** It shows me this error with [namecheap](https://www.namecheap.com/) provider certificates. I did different tests with different domains and certificates with the same provider, but it still gives me the same error. HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILE...
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:393)
https://api.github.com/repos/dart-lang/http/issues/811/comments
3
2022-10-21T22:36:33Z
2022-11-04T03:19:00Z
https://github.com/dart-lang/http/issues/811
1,418,924,150
811
[ "dart-lang", "http" ]
how to decoded formdata and input file
can,t work to lan
https://api.github.com/repos/dart-lang/http/issues/1430/comments
0
2022-10-20T14:30:17Z
2024-12-17T12:51:11Z
https://github.com/dart-lang/http/issues/1430
2,744,860,219
1,430
[ "dart-lang", "http" ]
I can't figure out, A streamed response is only returned if we use a streamed request, So I tried to use a streamed request for just "GET" method, and I don't even understand how to send it, ``` final request = http.StreamedRequest("GET", Uri.parse(url)); final response = await request.send(); print("di...
How to use Streamed Response?
https://api.github.com/repos/dart-lang/http/issues/810/comments
1
2022-10-19T17:20:50Z
2022-10-31T18:45:25Z
https://github.com/dart-lang/http/issues/810
1,415,335,331
810
[ "dart-lang", "http" ]
when I run my flutter on android emulator and send a request , the response message will be cut if the the message is long like this <img width="1360" alt="image" src="https://user-images.githubusercontent.com/55651847/196222952-9f1db9f0-8ed9-4847-9526-18993176834c.png"> I have test the api with postman and get fu...
response.body long response message will be cut with no reason
https://api.github.com/repos/dart-lang/http/issues/809/comments
2
2022-10-17T15:49:39Z
2022-10-20T00:43:25Z
https://github.com/dart-lang/http/issues/809
1,411,817,919
809
[ "dart-lang", "http" ]
when I run my flutter on macos(m2) the exception occurred ```dart [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Connection failed #0 IOClient.send (package:http/src/io_client.dart:88:7) <asynchronous suspension> #1 BaseClient._sendUnstreamed (package:http/src/base_client.dar...
Unhandled Exception: Connection failed
https://api.github.com/repos/dart-lang/http/issues/808/comments
4
2022-10-17T15:36:43Z
2025-04-08T06:35:16Z
https://github.com/dart-lang/http/issues/808
1,411,799,542
808
[ "dart-lang", "http" ]
### Use case: We tried to listen to a web socket stream after we created it. The web socket can't reach the server and fails with an error in the `onError` handler. Finally, when trying to close such a web socket with `await webSocket?.sink.close();`, it hangs in an endless future. ### Research: As far my rese...
Trying to close a never connected websocket returns an endless future
https://api.github.com/repos/dart-lang/http/issues/1465/comments
5
2022-10-12T17:59:58Z
2025-01-22T15:56:04Z
https://github.com/dart-lang/http/issues/1465
2,804,755,670
1,465
[ "dart-lang", "http" ]
The current implementation depends on `com.google.android.gms:play-services-cronet`, which pulls in the Google Play services. This might be undesirable for apps that do not want to have GMS code in them (and those who mainly target Chinese users and do not have GMS available). We should depend on Chromium's API pack...
cronet_http: depend on org.chromium.net:cronet-api instead
https://api.github.com/repos/dart-lang/http/issues/807/comments
4
2022-10-09T07:50:01Z
2023-02-17T02:07:13Z
https://github.com/dart-lang/http/issues/807
1,402,187,982
807
[ "dart-lang", "http" ]
I would like to use `cupertino_http` on my mac directly with `dart test` (out of a Flutter context). Currently running `dart test integration_test/api_test.dart' fails with this error: ``` Invalid argument(s): Failed to load dynamic library 'cupertino_http.framework/cupertino_http': dlopen(cupertino_http.framew...
cuppertino_http: allow normal dart test (without Flutter)
https://api.github.com/repos/dart-lang/http/issues/806/comments
3
2022-10-05T09:41:15Z
2024-02-27T17:08:12Z
https://github.com/dart-lang/http/issues/806
1,397,521,614
806
[ "dart-lang", "http" ]
I have the following sample application: ``` import 'package:flutter/material.dart'; import 'package:web_socket_channel/web_socket_channel.dart'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { ...
Works on iOS (simulator) but not on MacOS as desktop app
https://api.github.com/repos/dart-lang/http/issues/1464/comments
0
2022-10-02T13:41:48Z
2025-01-22T15:56:04Z
https://github.com/dart-lang/http/issues/1464
2,804,755,651
1,464
[ "dart-lang", "http" ]
can anyone help me how to get preloaded data after hitting apis(button pressed) when navigating to next page . before navigating to next page i can load data of that page. so that i can reduce delay in loading data.
Preloaded data fetch from api
https://api.github.com/repos/dart-lang/http/issues/804/comments
0
2022-09-26T13:06:30Z
2022-09-26T13:06:30Z
https://github.com/dart-lang/http/issues/804
1,386,052,543
804
[ "dart-lang", "http" ]
I'm connecting using WebSocketChannel.connect method. It provides callbacks to 'done' and 'error' events. Currently I'm setting connected to true after calling connect method, so when connecting error happens, it gets connected state for a few milliseconds before error handler is executed and sets connected to false...
How to know when connection get established?
https://api.github.com/repos/dart-lang/http/issues/1463/comments
1
2022-09-24T23:03:45Z
2025-01-22T15:55:12Z
https://github.com/dart-lang/http/issues/1463
2,804,755,622
1,463
[ "dart-lang", "http" ]
null
package:http_conformance_tests should very behavior for non-int content-length headers
https://api.github.com/repos/dart-lang/http/issues/802/comments
0
2022-09-20T22:33:19Z
2024-01-12T21:49:26Z
https://github.com/dart-lang/http/issues/802
1,380,070,045
802
[ "dart-lang", "http" ]
null
contentLength property is not sent for streamed responses
https://api.github.com/repos/dart-lang/http/issues/801/comments
0
2022-09-20T22:31:38Z
2022-09-20T23:47:39Z
https://github.com/dart-lang/http/issues/801
1,380,068,853
801
[ "dart-lang", "http" ]
http Headers automatically converting to lowercase on http Request and Bug with http Latest version update or Dart 2.18 version, API tested with Postman and it's also working in Postman.
http Headers automatically converting to lowercase on API calling
https://api.github.com/repos/dart-lang/http/issues/792/comments
0
2022-09-14T08:49:03Z
2023-02-26T18:17:45Z
https://github.com/dart-lang/http/issues/792
1,372,603,059
792
[ "dart-lang", "http" ]
Issue decoding special characters such as: ã --> didn't test with any other special chars, but should be happening too. Such as ç, õ, á, à, ó, í, and so on... # Code: ``` final response = await http.get( serverUrl, ), headers: { "accept": "application/json;", }, )...
Issue Decoding Special Characters (response.body)
https://api.github.com/repos/dart-lang/http/issues/789/comments
7
2022-09-09T21:22:13Z
2025-05-02T19:06:21Z
https://github.com/dart-lang/http/issues/789
1,368,342,451
789
[ "dart-lang", "http" ]
From @lavinov-mercury: Hi! Unfortunately, we are facing crash using `cupertino_http`. I couldn't find specific steps to reproduce it, for us it just happens sometimes after returning from the background or using Hot Restart. I tried to integrate it in 2 ways: with runWithClient (literally copied snippet from the [RE...
cupertino_http: Failure calling Dart_PostCObject_DL
https://api.github.com/repos/dart-lang/http/issues/785/comments
11
2022-09-07T16:33:14Z
2025-04-24T19:56:09Z
https://github.com/dart-lang/http/issues/785
1,364,922,892
785
[ "dart-lang", "http" ]
hello sir actually I am using http client to retry request upon 401 request but on retry I am running another method to restore access token upon completion of my restore process then I want to retry api but before completion my api Is calling again following is my restoreAcessToken.dart ```dart Future<void> restoreA...
client is not waiting to complete my process
https://api.github.com/repos/dart-lang/http/issues/783/comments
3
2022-09-02T05:21:26Z
2022-09-08T15:55:57Z
https://github.com/dart-lang/http/issues/783
1,359,716,428
783
[ "dart-lang", "http" ]
```dart final http.StreamedResponse res = await CupertinoClient.defaultSessionConfiguration().send( http.Request( 'GET', Uri.parse('https://jsonplaceholder.typicode.com/users/1')), ); print('res.request: ${res.request}'); ``` Console: ``` flutter: res.request: null ```
cupertino_http: `BaseResponse.request` is null
https://api.github.com/repos/dart-lang/http/issues/782/comments
2
2022-09-01T15:04:07Z
2022-09-08T16:18:39Z
https://github.com/dart-lang/http/issues/782
1,358,996,740
782
[ "dart-lang", "http" ]
I'm trying to POST a response to a server, and I'm able to do so successfully. However, the response headers for Dart are incomplete, and there is information in the missing headers that I need. Specifically, I'm posting to this URL: ```https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4/Patient?_format=json&_pr...
Incomplete Headers from POST Request
https://api.github.com/repos/dart-lang/http/issues/779/comments
2
2022-08-31T17:28:23Z
2023-02-16T13:44:50Z
https://github.com/dart-lang/http/issues/779
1,357,645,606
779
[ "dart-lang", "http" ]
I use the HTTP package to send data to the company's API. However, I'm having issues on certain cell phone models (Android and iOS), I've been getting "Failed host lookup: "example.com'" connection failure responses. ``` http: ^0.13.5 http_parser: ^4.0.1 ``` I did a lot of research on the error, found some p...
Connection failure for some users: "Failed host lookup: "exemple.com'"
https://api.github.com/repos/dart-lang/http/issues/777/comments
6
2022-08-30T12:22:10Z
2023-02-18T06:49:34Z
https://github.com/dart-lang/http/issues/777
1,355,683,025
777
[ "dart-lang", "http" ]
In which case the default Client will be used.
Allow the Client passed to runWithClient to return null
https://api.github.com/repos/dart-lang/http/issues/769/comments
1
2022-08-22T16:56:50Z
2022-08-26T21:50:27Z
https://github.com/dart-lang/http/issues/769
1,346,719,977
769
[ "dart-lang", "http" ]
The following program will never exit: ```dart import 'package:web_socket_channel/web_socket_channel.dart'; void main() async { final conn = WebSocketChannel.connect(Uri.parse('ws://localhost:8000/ws')); final sub = conn.stream.listen(null); await Future.delayed(Duration(seconds: 2)); await sub.c...
Program never exits when cancelling the `StreamSubscription` of `WebSocketChannel.stream`
https://api.github.com/repos/dart-lang/http/issues/1462/comments
1
2022-08-21T21:06:44Z
2025-01-22T15:56:03Z
https://github.com/dart-lang/http/issues/1462
2,804,755,607
1,462
[ "dart-lang", "http" ]
This issue tracks the implementation of different `package:http Client` implementations. ## Status [`package:http_client_conformance_tests`](https://github.com/dart-lang/http/tree/master/pkgs/http_client_conformance_tests) has been implemented but not released. [`package:cupertino_http`](https://pub.dev/packag...
Create multiple Client implementations to solve different use cases
https://api.github.com/repos/dart-lang/http/issues/764/comments
8
2022-08-18T18:01:19Z
2024-01-09T23:11:11Z
https://github.com/dart-lang/http/issues/764
1,343,429,952
764
[ "dart-lang", "http" ]
In my project, when i have 401 return, stop all API request by flag, call login to update new access token, update access token to local DB. But some time i have two API: 1. Two API request in the same time (API ① and API ②) 2. API ① return response check flag is off => return 401, process: turn on the flag => log...
Can't handle case: Two API request to server in the same time and return 401 (Unauthorized)
https://api.github.com/repos/dart-lang/http/issues/762/comments
1
2022-08-17T07:40:38Z
2022-08-17T19:21:38Z
https://github.com/dart-lang/http/issues/762
1,341,322,002
762
[ "dart-lang", "http" ]
See https://github.com/flutter/flutter/issues/32161
Create tests for URLSessionConfiguration.backgroundSession
https://api.github.com/repos/dart-lang/http/issues/760/comments
0
2022-08-15T19:42:56Z
2022-08-18T23:28:05Z
https://github.com/dart-lang/http/issues/760
1,339,408,944
760
[ "dart-lang", "http" ]
I'm really confused, why the following code below works fine on Android devices, and yet is not working at all on iOS devices... ``` final response = await http.post( Uri.parse(url), body: json.encode( { 'username': username, }, ), ); ``` Is ju...
http.post Json Not Working On iOS?!
https://api.github.com/repos/dart-lang/http/issues/757/comments
1
2022-08-15T00:49:53Z
2022-08-17T19:25:16Z
https://github.com/dart-lang/http/issues/757
1,338,401,100
757
[ "dart-lang", "http" ]
``` final http.StreamedResponse response = await _client.send(request); int currProgress = 0; response.stream.listen((value) { currProgress += value.length; print(currProgress / contentLength); }); ``` `_client.send(request)` awaits for the upload to finish and then after tha...
multipart request does not provide the correct progress
https://api.github.com/repos/dart-lang/http/issues/752/comments
1
2022-08-08T18:07:42Z
2022-11-18T22:19:11Z
https://github.com/dart-lang/http/issues/752
1,332,214,619
752
[ "dart-lang", "http" ]
Hi all. I would really love to know how to get this working locally with [laravel sail]("https://laravel.com/docs/9.x/sail")? I have tried both [laravel-websockets]("https://beyondco.de/docs/laravel-websockets/getting-started/introduction") and [soketi]("https://docs.soketi.app") locally through sail but I keep g...
WSL Laravel Sail: Websocket not upgraded
https://api.github.com/repos/dart-lang/http/issues/1461/comments
4
2022-08-08T13:24:41Z
2025-01-22T15:55:11Z
https://github.com/dart-lang/http/issues/1461
2,804,755,590
1,461
[ "dart-lang", "http" ]
The WebSocket server I use needs to receive a message after the connection. The only way seems to use `WebSocket.connect` instead of `WebSocketChannel.connect` (https://github.com/dart-lang/http/issues/1489): ```dart import 'package:web_socket_channel/io.dart'; // ... IOWebSocketChannel? _channel; // ....
Send web socket message to server directly after connection
https://api.github.com/repos/dart-lang/http/issues/1460/comments
2
2022-07-23T21:18:51Z
2025-01-22T15:56:02Z
https://github.com/dart-lang/http/issues/1460
2,804,755,563
1,460
[ "dart-lang", "http" ]
```dart var response = await http.post( Uri.parse(BASE_URL+"/fucntion/path"), headers: { 'Accept': 'application/json', 'authorization': 'Bearer $token' }, body: { "key1":{ "key2":"value" } } ); ``` Above code...
Simple nested map in body throws cast exception
https://api.github.com/repos/dart-lang/http/issues/736/comments
3
2022-07-22T13:46:08Z
2024-01-08T13:41:55Z
https://github.com/dart-lang/http/issues/736
1,315,031,559
736
[ "dart-lang", "http" ]
### Problem Doing a `http.get` to fetch a 60kB file multiple times increases memory usage over time and does not decrease. The below code is run in a dart application and performs a total of 100 get requests. ```dart import 'package:http/http.dart' as http; void main(List<String> arguments) async { for (in...
Performing http.get to download Files increases Memory usage
https://api.github.com/repos/dart-lang/http/issues/735/comments
2
2022-07-21T21:21:27Z
2022-08-10T01:26:28Z
https://github.com/dart-lang/http/issues/735
1,313,819,024
735
[ "dart-lang", "http" ]
Hello, I have sent multiple messages in a short period of time, but sometimes the server cannot receive some of the messages I sent. I guess the messages may be combined and sent. How can I solve this problem
你好,我在短时间内,我发送了多条消息,有时候服务端接收不到我发送的某些消息,我猜可能是消息被合并发送了,请问我要怎么解决这个问题
https://api.github.com/repos/dart-lang/http/issues/1459/comments
0
2022-07-21T13:49:40Z
2025-01-22T15:56:02Z
https://github.com/dart-lang/http/issues/1459
2,804,755,548
1,459
[ "dart-lang", "http" ]
**Motivation:** With http clients I can do the following: ```dart http.get("/api/route"); ``` I can then proxy the request using an nginx proxy or alike in order to separate my implementation from the deployment details. When I try to do the same thing using websockets as follows, I receive an error: ```dart ...
Relative URLs, e.g. /ws/route
https://api.github.com/repos/dart-lang/http/issues/1458/comments
0
2022-07-18T10:12:00Z
2025-01-22T15:56:01Z
https://github.com/dart-lang/http/issues/1458
2,804,755,534
1,458
[ "dart-lang", "http" ]
get request just awaits for too long, gladly we can use timeout on futures. but what about retrying the request? It just doesn't work. Once a get request seems to take this long, may return response or not, but after this I can't send any requests anymore, or maybe sending but they are waiting that long, and never gett...
sometimes slow requests, and doesn't request at all without restarting application
https://api.github.com/repos/dart-lang/http/issues/734/comments
1
2022-07-18T09:29:28Z
2022-08-17T19:34:30Z
https://github.com/dart-lang/http/issues/734
1,307,655,026
734
[ "dart-lang", "http" ]
Hello. Anyone aware why this lib keeps the `WebSocket` object private and not exposed from outside `WebSocketChannel` class? The way I'm using this lib means I have to access `WebSocket` object. If there's no real reason for this beside making sure parts work correctly, I'd like to contribute a change that exposes i...
[Q] Why is underlying WebSocket object marked private?
https://api.github.com/repos/dart-lang/http/issues/1457/comments
1
2022-07-15T13:19:59Z
2025-01-22T15:56:01Z
https://github.com/dart-lang/http/issues/1457
2,804,755,517
1,457
[ "dart-lang", "http" ]
I am trying to send a Map object as follows: ```dart channel.sink.add({"key": "value"}); ``` I would expect that the same Map object would be received on the server. Instead, a string representation of the object is received: ```dart {key: value} ``` Note the missing quotes. Because of that, the string cann...
Sending Objects/ JSON / Maps using websocket
https://api.github.com/repos/dart-lang/http/issues/1456/comments
1
2022-07-15T11:36:34Z
2025-01-22T15:56:00Z
https://github.com/dart-lang/http/issues/1456
2,804,755,495
1,456
[ "dart-lang", "http" ]
I have the following image https://www.gardeningknowhow.com/wp-content/uploads/2012/10/date-palm.jpg It works fine on browser ![image](https://user-images.githubusercontent.com/16321223/175785180-33636be1-1986-4485-8912-c4e5b5860985.png) but not using this lib ````dart get(Uri.parse("https://www.gardening...
HTTP request failed, statusCode: 504 but works fine on Browser!!
https://api.github.com/repos/dart-lang/http/issues/733/comments
1
2022-07-14T08:59:49Z
2023-04-01T07:47:20Z
https://github.com/dart-lang/http/issues/733
1,304,480,698
733
[ "dart-lang", "http" ]
When an exception (such as a `SocketException` due to an invalid port) is thrown during the socket connection in the `dart:io` implementation, the [error is added to the stream](https://github.com/dart-lang/web_socket_channel/blob/99dbdc5769e19b9eeaf69449a59079153c6a8b1f/lib/io.dart#L97), but the sink is not completed....
Sink.done not completing when the connection fails to be established (dart:io)
https://api.github.com/repos/dart-lang/http/issues/1455/comments
0
2022-07-09T15:57:31Z
2025-01-22T15:56:00Z
https://github.com/dart-lang/http/issues/1455
2,804,755,477
1,455
[ "dart-lang", "http" ]
how to add progress value on sending data ????
Progress bar value
https://api.github.com/repos/dart-lang/http/issues/730/comments
1
2022-07-06T06:39:04Z
2022-09-14T06:50:16Z
https://github.com/dart-lang/http/issues/730
1,295,264,964
730
[ "dart-lang", "http" ]
Connection failed (OS Error: Machine is not on the network, errno=64) - Change wi-fi network, are facing this issue. Case 1: Connect to Wi-fi network (ex- Situ Wifi) => try to login => Login successfuly - [InternetAddress('142.250.199.174', IPv4), InternetAddress('2404:6800:4009:82e::200e', IPv6)] Case 2: ...
SocketException: Connection failed (OS Error: Machine is not on the network, errno = 64
https://api.github.com/repos/dart-lang/http/issues/729/comments
6
2022-07-04T07:26:02Z
2022-07-13T12:34:22Z
https://github.com/dart-lang/http/issues/729
1,292,744,574
729
[ "dart-lang", "http" ]
Right now `StreamedRequest.sink` is declared as an `EventSink<List<int>>`: ```dart /// The sink to which to write data that will be sent as the request body. /// /// This may be safely written to before the request is sent; the data will be /// buffered. /// /// Closing this signals the end of the ...
StreamedRequest.sink should be a StreamSink
https://api.github.com/repos/dart-lang/http/issues/727/comments
2
2022-06-28T23:24:56Z
2023-06-20T19:23:33Z
https://github.com/dart-lang/http/issues/727
1,288,003,978
727
[ "dart-lang", "http" ]
Hi! I can't get any response header from xhr response. Only "content-type" -> "application/json" and "content-length" -> "206" are retrieved I did some debug and this only happen when executing send method from BrowserClient. Instead, with the same api, in flutter using IoClient all works as expected. Of cours...
Can't retrieve response headers on flutter web
https://api.github.com/repos/dart-lang/http/issues/726/comments
5
2022-06-28T22:06:36Z
2023-12-18T16:41:26Z
https://github.com/dart-lang/http/issues/726
1,287,954,993
726
[ "dart-lang", "http" ]
There's already a TODO in window_handler.dart for this, but this just recently bit me. Basically we can get in a state in our application where if we have enough streams going there's not enough CPU available to read from the socket quick enough. The first symptom I noticed was increased memory usage in these cases. In...
Smarter logic for when to send window updates
https://api.github.com/repos/dart-lang/http/issues/1377/comments
3
2022-06-27T13:27:09Z
2024-10-18T09:08:14Z
https://github.com/dart-lang/http/issues/1377
2,596,930,983
1,377
[ "dart-lang", "http" ]
Flutter: 3.0.2, 3.0.3 dart: 2.17.5 OS: windows, macos With minimal project: ```bash flutter create dart_websocket_channel ``` Update `pubspec.yaml` with: ```yaml web_socket_channel: ^2.2.0 ``` Adding the following snippet to `main`: ```dart // Importing exactly the same libs import 'package:flutter/ma...
[WEB] [3.0] Unsupported operation: Platform._version
https://api.github.com/repos/dart-lang/http/issues/1454/comments
7
2022-06-24T04:19:43Z
2025-01-22T15:55:59Z
https://github.com/dart-lang/http/issues/1454
2,804,755,460
1,454
[ "dart-lang", "http" ]
## Problem I was just debugging the performance of my flutter app and noticed that requests sometimes take very long. For example, a specific request takes about 100ms to complete, when testing it through my website ~ i.e. javascript and 130ms when testing it with Postman. However in my app this request sometimes t...
Requests 2x slower than in Postman or Web ?
https://api.github.com/repos/dart-lang/http/issues/723/comments
6
2022-06-23T13:01:50Z
2024-05-04T22:37:51Z
https://github.com/dart-lang/http/issues/723
1,282,373,044
723
[ "dart-lang", "http" ]
i have a python code using python requests that makes a request like this: ```request.post(url, {'requisicao': SomeNumber})``` it works and returns me the page to scrape or do whatever i want when doing the same on dart using: ```http.post(url, {'requisicao': SomeNumber})``` it gives me status code 500, does not w...
Unexpected behavior on http.post requests
https://api.github.com/repos/dart-lang/http/issues/720/comments
2
2022-06-17T03:26:34Z
2022-08-17T19:37:52Z
https://github.com/dart-lang/http/issues/720
1,274,506,345
720
[ "dart-lang", "http" ]
Is there a way to know if connected successfully or with error? Also for diisconnection. Thanks
Cannot find a way to know when dis/connection happens.
https://api.github.com/repos/dart-lang/http/issues/1453/comments
7
2022-06-08T18:43:56Z
2025-01-22T15:57:12Z
https://github.com/dart-lang/http/issues/1453
2,804,755,443
1,453
[ "dart-lang", "http" ]
I have a Flutter app that uses `web_socket_channel: ^2.2.0` to create a WebSocketChannel instance which the Flutter app uses to receive and send data from/to a secure WebSocket server implemented in Node.js. The Flutter app behaves differently under these cases: **The Flutter mobile and macOS apps work as expecte...
WebSocketChannel instance of 'IOWebSocketChannel' on mobile and desktop, but 'minified:a5h' on web
https://api.github.com/repos/dart-lang/http/issues/1452/comments
1
2022-06-06T06:38:53Z
2025-01-22T15:55:58Z
https://github.com/dart-lang/http/issues/1452
2,804,755,418
1,452
[ "dart-lang", "http" ]
Show error when I use localhost socket: > _[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: WebSocketChannelException: WebSocketChannelException: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 53340_ When I use a remote socket, there i...
Cannot connect localhost websocket?
https://api.github.com/repos/dart-lang/http/issues/1514/comments
2
2022-06-03T02:19:40Z
2025-01-22T16:01:56Z
https://github.com/dart-lang/http/issues/1514
2,804,771,842
1,514
[ "dart-lang", "http" ]
null
support for Interceptor
https://api.github.com/repos/dart-lang/http/issues/710/comments
6
2022-06-02T09:59:33Z
2024-07-16T03:45:06Z
https://github.com/dart-lang/http/issues/710
1,257,964,766
710
[ "dart-lang", "http" ]
********************************************************** **This is not the repository you want to file issues in!** ********************************************************** Note that a failing HTTP connection is almost certainly not caused by a bug in package:http. This package is a wrapper around the Http...
Connection reset by peer errno = 104, address = xxx.xxx.xxx.xxx, port = xxxxx
https://api.github.com/repos/dart-lang/http/issues/702/comments
2
2022-05-28T18:46:52Z
2022-05-31T18:44:43Z
https://github.com/dart-lang/http/issues/702
1,251,700,588
702
[ "dart-lang", "http" ]
In some cases it throws `SocketException` e.g. when the [host name is invalid](https://github.com/dart-lang/http/blob/87d43798ae0fe7264ecda9d0dbc3e491a2abab65/test/io/client_test.dart#L104) The browser client always throws `ClientException`. The dart:io Client should always throw ClientException so that exception...
The dart:io Client should always throw ClientException
https://api.github.com/repos/dart-lang/http/issues/701/comments
1
2022-05-27T18:01:44Z
2022-06-16T20:09:17Z
https://github.com/dart-lang/http/issues/701
1,251,103,044
701
[ "dart-lang", "http" ]
The code in `client.dart`: ```dart /// If you only need to send a single request, it's usually easier to use /// [head], [get], [post], [put], [patch], or [delete] instead. ... abstract class Client { ``` The links generated for `head`, etc. are to the methods in `Client` when they should be to the functions...
Client doc links to HTTP functions (e.g. get) are incorrect.
https://api.github.com/repos/dart-lang/http/issues/698/comments
0
2022-05-25T18:36:36Z
2022-05-31T16:22:47Z
https://github.com/dart-lang/http/issues/698
1,248,526,254
698
[ "dart-lang", "http" ]
It should be possible for users of `package:http` to select their `Client` implementation in addition to the provided defaults. Something like: ```dart void main() { if (Platform.isAndroid) { http.Client.global = AndroidAPIsClient(<optional configuration>); } else if (Platform.isIOS) { http.Clien...
Allow the user to select their own `Client` in addition to using the `IOClient` and `BrowserClient` defaults
https://api.github.com/repos/dart-lang/http/issues/696/comments
0
2022-05-23T22:14:29Z
2022-05-31T16:51:45Z
https://github.com/dart-lang/http/issues/696
1,245,752,508
696
[ "dart-lang", "http" ]
Hi to All, i'm experiance a strange behavior with http.post request during android app closing. If i put app on background it works always correctly but with pushing back button to close app sometimes 90% of times the request fail without reporting any exception, failure or response. Stepping into code i saw tha...
Undocument fail when execut post during app closing
https://api.github.com/repos/dart-lang/http/issues/693/comments
1
2022-05-10T08:20:18Z
2022-05-10T22:57:05Z
https://github.com/dart-lang/http/issues/693
1,230,792,647
693
[ "dart-lang", "http" ]
https://github.com/dart-lang/web_socket_channel/blob/99dbdc5769e19b9eeaf69449a59079153c6a8b1f/lib/html.dart#L88 There must be a better way to report **why** and **where** the error was detected and, more importantly, what the specific error was, so that the fundamental cause can be corrected. This would make debuggi...
Report the specific reason(s) for 'WebSocket connection failed.'
https://api.github.com/repos/dart-lang/http/issues/1493/comments
1
2022-05-05T04:04:18Z
2025-01-22T15:57:11Z
https://github.com/dart-lang/http/issues/1493
2,804,760,459
1,493
[ "dart-lang", "http" ]
I am trying to install web_socket_channel 2.2.0 in flutter and I get this error - ``` The current Dart SDK version is 2.16.2. Because build_runner >=0.10.1 <1.12.0 depends on web_socket_channel ^1.0.9 and build_runner >=0.9.1+1 <1.10.12 depends on crypto >=0.9.2 <3.0.0, build_runner >=0.9.1+1 <1.12.0 requir...
Unable to install web_socket_channel 2.2.0
https://api.github.com/repos/dart-lang/http/issues/1492/comments
1
2022-05-03T18:56:34Z
2025-01-22T15:57:11Z
https://github.com/dart-lang/http/issues/1492
2,804,760,443
1,492
[ "dart-lang", "http" ]
When using post request, even if you set content type headers the normal way, library will overwrite application json content and add charset to it. This is not how default library for flutter http requests should handle these requests, especially without ability to overwrite it (easily), the only solution to this t...
HttpClient postUrl request appends non standard strings to headers
https://api.github.com/repos/dart-lang/http/issues/690/comments
1
2022-04-29T11:45:09Z
2022-05-03T18:11:29Z
https://github.com/dart-lang/http/issues/690
1,220,614,976
690
[ "dart-lang", "http" ]
I'm unable to connect with coldfusion web socket server with this package
websocket connection issue
https://api.github.com/repos/dart-lang/http/issues/1491/comments
1
2022-04-22T06:38:00Z
2025-01-22T15:57:10Z
https://github.com/dart-lang/http/issues/1491
2,804,760,423
1,491
[ "dart-lang", "http" ]
Hi there, I'm trying to upload a binary file to Dropbox using this lib. Following https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload, my code is: ```dart import 'package:http/http.dart' as http; Map<String,String> headers = { 'Authorization': 'Bearer MY_TOKEN', 'Content-type': 'application/oct...
Unable to upload a binary file (Dropbox)
https://api.github.com/repos/dart-lang/http/issues/689/comments
1
2022-04-19T19:54:30Z
2022-04-26T00:42:23Z
https://github.com/dart-lang/http/issues/689
1,208,798,275
689
[ "dart-lang", "http" ]
When I tried to use http with "Content-Type": "application/x-www-form-urlencoded", I got a weird result which did not happen with the Dio package. the status code are both 200, but the returned text is not readable with http package. Am I doing something wrong? ``` void translateWithHttp() async { String url...
is there a bug related to "Content-Type": "application/x-www-form-urlencoded"?
https://api.github.com/repos/dart-lang/http/issues/686/comments
2
2022-03-28T05:55:52Z
2022-04-13T20:57:16Z
https://github.com/dart-lang/http/issues/686
1,182,926,583
686
[ "dart-lang", "http" ]
I connect to the esp 32 using wifi_iot library and works fine (only for android). I try to call a get request to the hosted server but the dosn't recognize the GET method. when I try some open url online it works fine. I tried many libraries such as Dio http and more, and used httpLogger to see what it logs, but sho...
http request not working with server hosted on ESP32
https://api.github.com/repos/dart-lang/http/issues/685/comments
1
2022-03-21T09:05:59Z
2022-04-13T20:23:27Z
https://github.com/dart-lang/http/issues/685
1,175,085,709
685
[ "dart-lang", "http" ]
Hello everyone i cann't solve that http issue. Please help me. ![image](https://user-images.githubusercontent.com/37295297/159065320-653749f7-6f56-404e-86e3-d0f8d0323c46.png) I'm developing an app for windows but this problem happened ![image](https://user-images.githubusercontent.com/37295297/159065687-3cf062...
Target of URI doesn't exist: 'package:http/http.dart'.
https://api.github.com/repos/dart-lang/http/issues/684/comments
0
2022-03-18T18:50:02Z
2022-03-18T19:10:17Z
https://github.com/dart-lang/http/issues/684
1,173,905,049
684
[ "dart-lang", "http" ]
I try to fetch data of BTC prices from the API. The price of the coin is always the same, even when using the hot-restart. The only way that can update the price is to reopen the program. (No problem in the Python) API: https://api.bitkub.com/api/market/ticker depencies: `http: ^0.13.4` Basic code: ```...
Data from the API not change.
https://api.github.com/repos/dart-lang/http/issues/683/comments
2
2022-03-18T06:55:10Z
2022-04-11T14:39:03Z
https://github.com/dart-lang/http/issues/683
1,173,245,378
683
[ "dart-lang", "http" ]
## debug log ``` Launching lib\main.dart on SM G610F in debug mode... lib\main.dart:1 Warning: Mapping new ns [http://schemas.android.com/repository/android/common/02]() to old ns [http://schemas.android.com/repository/android/common/01]() Warning: Mapping new ns [http://schemas.android.com/repository/android/g...
http package src error message while debugging project
https://api.github.com/repos/dart-lang/http/issues/678/comments
4
2022-03-13T10:06:26Z
2022-03-17T16:47:01Z
https://github.com/dart-lang/http/issues/678
1,167,536,288
678
[ "dart-lang", "http" ]
Access to XMLHttpRequest at 'https://maps.googleapis.com/maps/api/place/autocomplete/json?key=AIz*******mXQ_4M_H**************rt5&input=%7BNam%7D&sessiontoken=657ac******-g56j-****-5fgk-18f5f064ee26&location=09.1454,56.2549' from origin 'http://localhost:40*58/' has been blocked by CORS policy: No 'Access-Control-Allow...
XMLHttpRequest error
https://api.github.com/repos/dart-lang/http/issues/677/comments
2
2022-03-10T13:37:20Z
2022-04-26T23:22:58Z
https://github.com/dart-lang/http/issues/677
1,165,238,107
677
[ "dart-lang", "http" ]
version:2.1.0 , Code compiles, error at runtime: Couldn't resolve the package 'web_socket_channel' in 'package:web_socket_channel/web_socket_channel.dart'. lib/plugins/roslib/lib/core/ros.dart:5:8: Error: Not found: 'package:web_socket_channel/web_socket_channel.dart' import 'package:web_socket_channel/web_socket_c...
Error: Couldn't resolve the package 'web_socket_channel' in 'package:web_socket_channel/web_socket_channel.dart'.
https://api.github.com/repos/dart-lang/http/issues/1490/comments
1
2022-03-07T02:03:43Z
2025-01-22T15:57:10Z
https://github.com/dart-lang/http/issues/1490
2,804,760,406
1,490
[ "dart-lang", "http" ]
原因是因为在file域里面Content-Type在Content-Disposition之前,因此出现了该问题,oss这里是需要Content-Type在Content-Disposition之后才可以正常的。 0.13.3左右版本,MultipartRequest._headerForFile的Content-Type会在Content-Disposition之前。 把Content-Type和Content-Disposition顺序替换一下就正常了
上传图片到aliyunOss会出现The body of your POST request is not well-formed multipart/form-data错误
https://api.github.com/repos/dart-lang/http/issues/676/comments
1
2022-03-05T13:23:50Z
2022-09-17T08:21:11Z
https://github.com/dart-lang/http/issues/676
1,160,350,430
676
[ "dart-lang", "http" ]
Months ago i created a function to send images as base64 to my server in order to save them and it worked. Today i used that function and i am getting a weird exception when i try to post the image. Here's my function Uri url = Uri.parse("https://myserver/myApis"); Map data = { ... ... ...
Package fails to send images as base64
https://api.github.com/repos/dart-lang/http/issues/675/comments
3
2022-03-03T08:32:56Z
2024-11-01T08:05:03Z
https://github.com/dart-lang/http/issues/675
1,158,117,001
675
[ "dart-lang", "http" ]
De-obfuscated stack-trace : #0 _HttpClientConnection.send (dart:_http/http_impl.dart:2116:23) #1 _CryptoUtils.bytesToBase64 (dart:_http/crypto.dart) #2 new _Uri.https (dart:core/uri.dart:1462:12)
_HttpClientConnection.send (dart:_http/http_impl.dart:2116:23)
https://api.github.com/repos/dart-lang/http/issues/674/comments
0
2022-03-03T06:22:40Z
2022-03-03T06:22:40Z
https://github.com/dart-lang/http/issues/674
1,158,020,411
674
[ "dart-lang", "http" ]
If i try to send an image to my HTML via Android 7, the flutter app keeps loading forever, but only in android 7, i tested in android 10 and 11 and works fine. This have started after we activate HTTPS at this site. My upload function: ``` Future<bool> upload() async { var stream = http.ByteStream(DelegatingS...
Send images from android 7 not working
https://api.github.com/repos/dart-lang/http/issues/673/comments
0
2022-02-28T20:20:54Z
2022-03-07T17:18:10Z
https://github.com/dart-lang/http/issues/673
1,154,512,455
673
[ "dart-lang", "http" ]
I am trying to call post url but the body payload needs to be empty. While requesting the api from postman, it is working fine. However, when calling from dart http.post it is not working. Here is my code ``` final response = await http.post(Uri.parse("$baseUrl/api/logout"), headers: { "Accept...
dart / flutter not able to make http post request with empty body
https://api.github.com/repos/dart-lang/http/issues/672/comments
0
2022-02-25T15:32:11Z
2022-02-25T15:32:11Z
https://github.com/dart-lang/http/issues/672
1,150,585,201
672
[ "dart-lang", "http" ]
"HandshakeException: Connection terminated during handshake" or "{"code":401,"message":"Unauthorized"}" error when using flutter HttpClient for SNI request. Ask the operation and maintenance and learn that the two types of errors are different for SSL certificates. Using an RSA certificate will result in a 401 error, a...
I want to set the ServerName of TLS to verify the https SNI certificate
https://api.github.com/repos/dart-lang/http/issues/671/comments
0
2022-02-25T08:20:45Z
2022-02-25T09:46:31Z
https://github.com/dart-lang/http/issues/671
1,150,168,411
671
[ "dart-lang", "http" ]
Trying to make api call from flutter using **http** package but getting this error...the api is doesn't require any custom headers or configuration. And it's not even blocked at firewall level...The logs of the apis say that the request is received and response is also sent from their end, but I'm not able to receive t...
Failed to parse HTTP, 32 is expected to be a Hex digit
https://api.github.com/repos/dart-lang/http/issues/669/comments
3
2022-02-22T11:49:22Z
2024-11-04T05:48:48Z
https://github.com/dart-lang/http/issues/669
1,146,811,708
669
[ "dart-lang", "http" ]
Current: ```dart Request('POST', Uri.http("localhost:8080", "/api/$method")); ``` Desired: ```dart Request('POST', Uri.http("localhost:8080", "/api/$method"), headers: { "key" : "value" }); ``` Thanks.
Add header parameter to Request option
https://api.github.com/repos/dart-lang/http/issues/668/comments
0
2022-02-17T13:29:43Z
2022-02-17T13:29:43Z
https://github.com/dart-lang/http/issues/668
1,141,340,886
668
[ "dart-lang", "http" ]
I am trying to make a post request, HTTP package sends OPTIONS as the method in the header instead of POST. ```dart await http.post( Uri.parse('http://localhost:8080/api/login'), headers: <String, String>{ 'Content-Type': 'application/json; charset=UTF-8', }, body: jsonEncode...
Web uses OPTIONS method instead of POST
https://api.github.com/repos/dart-lang/http/issues/667/comments
3
2022-02-17T13:21:14Z
2022-05-06T23:29:10Z
https://github.com/dart-lang/http/issues/667
1,141,331,411
667
[ "dart-lang", "http" ]
Hi, I am working against a site that requires the headers of a particular request ot be sent in a particular order. However, the http client seems to send the headers out of order every time. For example, consider this simple test to run against the library ``` @TestOn('vm') import 'package:http/http....
Client sends headers out of order.
https://api.github.com/repos/dart-lang/http/issues/666/comments
1
2022-02-11T20:08:00Z
2022-02-16T00:17:44Z
https://github.com/dart-lang/http/issues/666
1,133,040,917
666
[ "dart-lang", "http" ]
In Flutter app I execute every 5 seconds this code: Map<String, String> headers = {HttpHeaders.contentTypeHeader: "application/x-google-protobuf"}; response = await get(Uri.parse(url), headers: headers) 1. On Android works as expected. 2. On iOS I see 1 stale connections before my real request. It is ...
Mysterious stale connection in iOS
https://api.github.com/repos/dart-lang/http/issues/665/comments
1
2022-02-09T08:32:16Z
2022-03-17T19:05:57Z
https://github.com/dart-lang/http/issues/665
1,128,207,981
665
[ "dart-lang", "http" ]
I dont see any event when socket is connected to server or am i mistaken?
How to get event on socket connected
https://api.github.com/repos/dart-lang/http/issues/1489/comments
2
2022-02-08T10:13:33Z
2025-01-22T15:57:09Z
https://github.com/dart-lang/http/issues/1489
2,804,760,381
1,489
[ "dart-lang", "http" ]
This method has very little usage, and it feels unnecessary to have yet another utility that creates a single-request client. If the bit of code which handles creating a `StreamedResponse` is the useful part we should expose it some other way. cc @jakemac53 @kevmoo - for a second opinion
Drop BaseRequest.send() method
https://api.github.com/repos/dart-lang/http/issues/663/comments
1
2022-02-01T01:17:58Z
2022-02-01T15:45:38Z
https://github.com/dart-lang/http/issues/663
1,120,126,173
663
[ "dart-lang", "http" ]
When trying to make an HTTP request in a Flutter app, the following error is thrown (in `release`/`profile` mode only): ``` NoSuchMethodError: method not found: '$index' on null TypeError: Cannot read properties of undefined (reading '$index') at Object._contentTypeForHeaders (http://localhost:4200/main.dart.j...
NoSuchMethodError: method not found: '$index' on null TypeError: Cannot read properties of undefined (reading '$index')
https://api.github.com/repos/dart-lang/http/issues/662/comments
0
2022-01-27T17:16:56Z
2022-01-27T17:16:56Z
https://github.com/dart-lang/http/issues/662
1,116,540,525
662