Skip to content

Commit 45f4082

Browse files
authored
Tweak formatting of template (#266)
The default view the user will see is not markdown rendered - it's the text directly. Update formatting to look a bit nicer in that view since we don't care what the rendered view will look like - we don't expect the issue to get submitted. Also prefix numbers to the filenames to order the issues.
1 parent a7ca652 commit 45f4082

File tree

4 files changed

+35
-34
lines changed

4 files changed

+35
-34
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: An HTTP request fails when made through this client.
3+
about: You are attempting to make a GET or POST and getting an unexpected
4+
exception or status code.
5+
6+
---
7+
8+
**********************************************************
9+
**This is not the repository you want to file issues in!**
10+
**********************************************************
11+
12+
Note that a failing HTTP connection is almost certainly not caused by a bug in
13+
package:http.
14+
15+
This package is a wrapper around the HttpClient from dart:io and HttpRequest
16+
from dart:html. Before filing a bug here verify that the issue is not surfaced
17+
when using those interfaces directly.
18+
19+
https://api.dartlang.org/stable/dart-io/HttpClient-class.html
20+
https://api.dartlang.org/stable/dart-html/HttpRequest-class.html
21+
22+
# Common problems:
23+
24+
- A security policy prevents the connection.
25+
- Running in an emulator that does not have outside internet access.
26+
- Using Android and not requesting internet access in the manifest.
27+
https://github.com/flutter/flutter/issues/29688
28+
29+
30+
None of these problems are influenced by the code in this repo.
31+
32+
# Diagnosing:
33+
34+
- Attempt the request outside of Dart, for instance in a browser or with `curl`.
35+
- Attempt the request with the dart:io or dart:html equivalent code paths.
File renamed without changes.
File renamed without changes.

.github/ISSUE_TEMPLATE/FAILING_CONNECTION.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)