http_utils 1.6.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 74

Over time this should become a collection of useful HTTP-Tools...

If the documentation links don't not work - pls. got to GitHub - there it they'll work

ResponseStatus #

Commonly used status codes defined by HTTP<br> Dart Documentation for ResponseStatus here

URIBuilder #

Helps you to compose URIs.<br> Dart Documentation for URIBuilder here

For further documentation please refere to the Unit-Tests.<br> ApiDoc for Apaches URIBuilder

HTTPStatus #

Brings status-code to a more readable form. Dart Documentation fur HTTPStatus is here (Unit-Tests)

http_utils on PUB

License #

Copyright 2017 Michael Mitterer, IT-Consulting and Development Limited,
Austrian Branch

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, 
software distributed under the License is distributed on an 
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
either express or implied. See the License for the specific language 
governing permissions and limitations under the License.

If this plugin is helpful for you - please (Circle) me.

Change Log for http_utils #

Provides some HTTP related classes portet from Apache HTTP client lib

Unreleased #

Feature #

v1.6 - 2017-12-13

Refactor #

  • Preparation for Jenkins, versions constraints 53e6002

v1.4.1 - 2016-11-16

Docs #

v1.4.0 - 2015-12-04

Docs #

  • Grinder-Support + new test-format 373cb68

This CHANGELOG.md was generated with Changelog for Dart

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  http_utils: ^1.6.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:http_utils/http_utils.dart';
  
Version Uploaded Documentation Archive
1.6.3 Aug 23, 2018 Go to the documentation of http_utils 1.6.3 Download http_utils 1.6.3 archive
1.6.1 Jun 4, 2018 Go to the documentation of http_utils 1.6.1 Download http_utils 1.6.1 archive
1.5.4 Dec 13, 2017 Go to the documentation of http_utils 1.5.4 Download http_utils 1.5.4 archive
1.5.1 Dec 7, 2017 Go to the documentation of http_utils 1.5.1 Download http_utils 1.5.1 archive
1.4.2 Nov 16, 2016 Go to the documentation of http_utils 1.4.2 Download http_utils 1.4.2 archive
1.4.1 Nov 16, 2016 Go to the documentation of http_utils 1.4.1 Download http_utils 1.4.1 archive
1.4.0 Dec 4, 2015 Go to the documentation of http_utils 1.4.0 Download http_utils 1.4.0 archive
1.3.2 Oct 3, 2014 Go to the documentation of http_utils 1.3.2 Download http_utils 1.3.2 archive
1.3.1 Oct 1, 2014 Go to the documentation of http_utils 1.3.1 Download http_utils 1.3.1 archive
1.3.0 Oct 1, 2014 Go to the documentation of http_utils 1.3.0 Download http_utils 1.3.0 archive

All 32 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
55
Health:
Code health derived from static analysis. [more]
97
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
74
Learn more about scoring.

We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.13

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:http_utils/http_utils.dart.

Health suggestions

Fix lib/src/URIBuilder.dart. (-2.48 points)

Analysis of lib/src/URIBuilder.dart reported 5 hints:

line 101 col 49: Use = to separate a named parameter from its default value.

line 101 col 78: Use = to separate a named parameter from its default value.

line 102 col 13: Use isNotEmpty instead of length

line 122 col 53: Use = to separate a named parameter from its default value.

line 228 col 30: Use isNotEmpty instead of length

Fix lib/src/ResponseStatus.dart. (-1 points)

Analysis of lib/src/ResponseStatus.dart reported 2 hints:

line 138 col 8: Use isEmpty instead of length

line 225 col 8: Use isEmpty instead of length

Format lib/http_utils.dart.

Run dartfmt to format lib/http_utils.dart.

Fix additional 4 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/DateUtils.dart (Run dartfmt to format lib/src/DateUtils.dart.)
  • lib/src/NameValuePair.dart (Run dartfmt to format lib/src/NameValuePair.dart.)
  • lib/src/RestUrl.dart (Run dartfmt to format lib/src/RestUrl.dart.)
  • lib/src/exceptions/eceptions.dart (Run dartfmt to format lib/src/exceptions/eceptions.dart.)

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and http_utils.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
intl >=0.15.7 <1.0.0 0.15.7
Transitive dependencies
path 1.6.2
Dev dependencies
build_runner any
build_test any
build_web_compilers any
test any
validate any