Skip to content

Commit 27e9fa0

Browse files
authored
Update issue templates (#794)
1 parent 20c8da0 commit 27e9fa0

7 files changed

+105
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: package:cronet_http - I'd like a new feature
3+
about: You are using package:cronet_http and would like a new feature to make it easier
4+
to make http requests.
5+
title: ''
6+
labels: package:cronet_http, type-enhancement
7+
assignees: brianquinlan
8+
9+
---
10+
11+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: package:cronet_http - I found a bug
3+
about: You found that something which is expected to work, doesn't.
4+
title: ''
5+
labels: package:cronet_http, type-bug
6+
assignees: brianquinlan
7+
8+
---
9+
10+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: package:cupertino_http - I'd like a new feature
3+
about: You are using package:cupertino_http and would like a new feature to make it
4+
easier to make http requests.
5+
title: ''
6+
labels: package:cupertino_http, type-enhancement
7+
assignees: brianquinlan
8+
9+
---
10+
11+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: package:cupertino_http - I found a bug
3+
about: You found that something which is expected to work, doesn't.
4+
title: ''
5+
labels: package:cupertino_http, type-bug
6+
assignees: brianquinlan
7+
8+
---
9+
10+
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: package:http - Failing Connection
3+
about: You are attempting to make a GET or POST and getting an unexpected exception
4+
or status code.
5+
title: ''
6+
labels: package:http, type-bug
7+
assignees: ''
8+
9+
---
10+
11+
**********************************************************
12+
**This is not the repository you want to file issues in!**
13+
**********************************************************
14+
15+
Note that a failing HTTP connection is almost certainly not caused by a bug in
16+
package:http.
17+
18+
This package is a wrapper around the HttpClient from dart:io and HttpRequest
19+
from dart:html. Before filing a bug here verify that the issue is not surfaced
20+
when using those interfaces directly.
21+
22+
https://api.dart.dev/stable/dart-io/HttpClient-class.html
23+
https://api.dart.dev/stable/dart-html/HttpRequest-class.html
24+
25+
# Common problems:
26+
27+
- A security policy prevents the connection.
28+
- Running in an emulator that does not have outside internet access.
29+
- Using Android and not requesting internet access in the manifest.
30+
https://github.com/flutter/flutter/issues/29688
31+
32+
None of these problems are influenced by the code in this repo.
33+
34+
# Diagnosing:
35+
36+
- Attempt the request outside of Dart, for instance in a browser or with `curl`.
37+
- Attempt the request with the dart:io or dart:html equivalent code paths.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: package:http - I'd like a new feature
3+
about: You are using package:http and would like a new feature to make it easier
4+
to make http requests.
5+
title: ''
6+
labels: package:http, type-enhancement
7+
assignees: ''
8+
9+
---
10+
11+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: package:http - I found a bug
3+
about: You found that something which is expected to work, doesn't. The same capability
4+
works when using `dart:io` or `dart:html` directly.
5+
title: ''
6+
labels: package:http, type-bug
7+
assignees: ''
8+
9+
---
10+
11+
Please describe the bug and how to reproduce it.
12+
13+
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
14+
15+
A failure to make an http request is more often a problem with the environment than with the client.

0 commit comments

Comments
 (0)