Skip to content

Commit 3781798

Browse files
committed
fix urls
1 parent 683c29c commit 3781798

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
A composable, Future-based library for making HTTP requests.
22

3-
[![pub package](https://img.shields.io/pub/v/http.svg)](https://pub.dartlang.org/packages/http)
3+
[![pub package](https://img.shields.io/pub/v/http.svg)](https://pub.dev/packages/http)
44
[![Build Status](https://travis-ci.org/dart-lang/http.svg?branch=master)](https://travis-ci.org/dart-lang/http)
55

66
This package contains a set of high-level functions and classes that make it
@@ -42,17 +42,17 @@ You can also exert more fine-grained control over your requests and responses by
4242
creating [Request][] or [StreamedRequest][] objects yourself and passing them to
4343
[Client.send][].
4444

45-
[Request]: https://pub.dartlang.org/documentation/http/latest/http/Request-class.html
46-
[StreamedRequest]: https://pub.dartlang.org/documentation/http/latest/http/StreamedRequest-class.html
47-
[Client.send]: https://pub.dartlang.org/documentation/http/latest/http/Client/send.html
45+
[Request]: https://pub.dev/documentation/http/latest/http/Request-class.html
46+
[StreamedRequest]: https://pub.dev/documentation/http/latest/http/StreamedRequest-class.html
47+
[Client.send]: https://pub.dev/documentation/http/latest/http/Client/send.html
4848

4949
This package is designed to be composable. This makes it easy for external
5050
libraries to work with one another to add behavior to it. Libraries wishing to
5151
add behavior should create a subclass of [BaseClient][] that wraps another
5252
[Client][] and adds the desired behavior:
5353

54-
[BaseClient]: https://pub.dartlang.org/documentation/http/latest/http/BaseClient-class.html
55-
[Client]: https://pub.dartlang.org/documentation/http/latest/http/Client-class.html
54+
[BaseClient]: https://pub.dev/documentation/http/latest/http/BaseClient-class.html
55+
[Client]: https://pub.dev/documentation/http/latest/http/Client-class.html
5656

5757
```dart
5858
class UserAgentClient extends http.BaseClient {

lib/src/multipart_request.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final _newlineRegExp = RegExp(r"\r\n|\r|\n");
2121
/// This request automatically sets the Content-Type header to
2222
/// `multipart/form-data`. This value will override any value set by the user.
2323
///
24-
/// var uri = Uri.parse("http://pub.dartlang.org/packages/create");
24+
/// var uri = Uri.parse("https://example.com/create");
2525
/// var request = new http.MultipartRequest("POST", uri);
2626
/// request.fields['user'] = '[email protected]';
2727
/// request.files.add(new http.MultipartFile.fromPath(

0 commit comments

Comments
 (0)