http_utils 1.6.3

  • Readme
  • Changelog
  • Installing
  • 53

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
Dart Documentation for ResponseStatus here

URIBuilder #

Helps you to compose URIs.
Dart Documentation for URIBuilder here

For further documentation please refere to the Unit-Tests.
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

Unless required by applicable law or agreed to in writing, 
software distributed under the License is distributed on an 
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 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:

  http_utils: ^1.6.3

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub 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';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jul 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.15

Health suggestions

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

Analysis of lib/src/ResponseStatus.dart reported 86 hints, including:

line 5 col 47: Unnecessary new keyword.

line 29 col 3: Prefer using /// for doc comments.

line 30 col 54: Avoid const keyword.

line 32 col 3: Prefer using /// for doc comments.

line 33 col 36: Avoid const keyword.

Fix lib/src/HttpStatus.dart. (-16.51 points)

Analysis of lib/src/HttpStatus.dart reported 36 hints, including:

line 4 col 3: Prefer using /// for doc comments.

line 8 col 3: Prefer using /// for doc comments.

line 12 col 3: Prefer using /// for doc comments.

line 16 col 3: Prefer using /// for doc comments.

line 20 col 3: Prefer using /// for doc comments.

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

Analysis of lib/src/URIBuilder.dart reported 24 hints, including:

line 30 col 36: Unnecessary new keyword.

line 65 col 40: Unnecessary new keyword.

line 75 col 18: Use ; instead of {} for empty constructor bodies.

line 89 col 20: Unnecessary new keyword.

line 92 col 5: Prefer using /// for doc comments.

Fix additional 5 files with analysis or formatting issues. (-9.30 points)

Additional issues in the following files:

  • lib/src/DateUtils.dart (13 hints)
  • lib/src/RestUrl.dart (4 hints)
  • lib/src/NameValuePair.dart (1 hint)
  • lib/src/exceptions/eceptions.dart (1 hint)
  • lib/http_utils.dart (Run dartfmt to format lib/http_utils.dart.)

Maintenance suggestions

Package is getting outdated. (-89.04 points)

The package was last published 98 weeks ago.

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/

For more information see the pub package layout conventions.


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