pub repository
mirror.p-hatan.irhttp_parser
1.0.0A platform-independent package for parsing and serializing HTTP formats.
Readme
http_parser is a platform-independent package for parsing and serializing
various HTTP-related formats. It's designed to be usable on both the browser and
the server, and thus avoids referencing any types from dart:io or dart:html.
It includes:
-
Support for parsing and formatting dates according to HTTP/1.1, the HTTP/1.1 standard.
-
A
MediaTypeclass that represents an HTTP media type, as used inAcceptandContent-Typeheaders. This class supports both parsing and formatting media types according to HTTP/1.1. -
A
CompatibleWebSocketclass that supports both the client and server sides of the WebSocket protocol independently of any specific server implementation.
Changelog
1.0.0
This is 1.0.0 because the API is stable—there are no breaking changes.
-
Added an
AuthenticationChallengeclass for parsing and representing the value ofWWW-Authenticateand related headers. -
Added a
CaseInsensitiveMapclass for representing case-insensitive HTTP values.
0.0.2+8
- Bring in the latest
dart:ioWebSocket code.
0.0.2+7
- Add more detail to the readme.
0.0.2+6
- Updated homepage URL.
0.0.2+5
- Widen the version constraint on the
collectionpackage.
0.0.2+4
- Widen the
string_scannerversion constraint.
0.0.2+3
- Fix a library name conflict.
0.0.2+2
- Fixes for HTTP date formatting.
0.0.2+1
- Minor code refactoring.
0.0.2
- Added
CompatibleWebSocket, for platform- and API-independent support for the WebSocket API.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add http_parserpubspec.yaml
name: http_parser
version: 1.0.0
author: "Dart Team <misc@dartlang.org>"
homepage: https://github.com/dart-lang/http_parser
description: >
A platform-independent package for parsing and serializing HTTP formats.
dependencies:
crypto: "^0.9.0"
collection: ">=0.9.1 <2.0.0"
source_span: "^1.0.0"
string_scanner: ">=0.0.0 <0.2.0"
dev_dependencies:
test: "^0.12.0"
environment:
sdk: ">=1.8.0 <2.0.0"
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.0.1 | 2014-04-03T01:34:56.438190Z | Download | 8ef43b9c0a022da3a20f87d2f5f1205fa3109a7d47b5f0a423695c522d1df527 |
| 0.0.2 | 2014-04-23T00:06:58.889730Z | Download | a562823bc880c77cef3745dcf0e2ef96a10107474823f81f2da3757412c520d4 |
| 0.0.2+1 | 2014-05-09T02:48:01.297740Z | Download | 9fe5bfaca6e9582322997e3503d693d9c88f9e94e9555629bcd14071ab20ff38 |
| 0.0.2+2 | 2014-05-09T20:27:14.220830Z | Download | cd44b5efcdcfe357acdc73f7fe6819f0b81f730b2a615b1961bf5bb0875f82d8 |
| 0.0.2+3 | 2014-06-02T21:26:54.369770Z | Download | 6fba98610c4e467eb9ad438d852104655e0daae381c4e3a79c024bdba545db65 |
| 0.0.2+4 | 2014-07-24T03:10:21.304320Z | Download | 0f826a534b483ea905f17be68112adb7520f9fcbeae296697002a082daa3427e |
| 0.0.2+5 | 2014-08-26T19:51:14.446690Z | Download | 74dfc897e14cf1301d45e2ce92c225584ffd536ee01d3e811f6450b8c088a39e |
| 0.0.2+6 | 2015-03-30T22:59:13.289450Z | Download | 488db9c1134271f809ed1b0d4fb86e4a1e79bfefe592fbd497ab7b9c769c5e3d |
| 0.0.2+7 | 2015-06-09T19:10:50.001Z | Download | 7451acfa39c6136fd79d396f6fde1ee0dbbc08b6afd23d4a34de748852713139 |
| 0.0.2+8 | 2015-07-15T23:03:40.129Z | Download | 72ebdcdb88a7aaa71a896acdf2776a1d442e73104c27b64117d3622885ee60fb |
| 1.0.0 | 2015-08-25T23:55:12.068Z | Download | ae8b6f39bf6161bdda410851506d2905be00392631f2e45cbe6d4fdd7eeee754 |
| 1.1.0 | 2015-10-20T23:39:21.049Z | Download | f5313c256d444635ad960c261e67931009f4f251e0dc0815017aa123b1538d2d |
| 2.0.0 | 2015-12-14T22:06:53.802Z | Download | 6c8291efac219c22724950fe69f97f0fac04d578f2ae64be2d70c87f30b85c9f |
| 2.1.0 | 2016-01-28T21:40:28.704Z | Download | e792a350f7c95f053f82385fb5937277328a2090fc20e436072ac650791157e8 |
| 2.2.0 | 2016-03-03T20:09:16.619Z | Download | cd1b8371ea1b970b2e05cc09e91c42626f8a86e2e877b9a184d1e6bd719d9ac9 |
| 2.2.1 | 2016-03-23T20:54:16.188Z | Download | f40464d343e8a15375072df3119c3391131754d48d04ca549ab5a4c2ca6c0a70 |
| 3.0.0 | 2016-05-05T00:46:47.969Z | Download | eb730dc4b613a152dfeb3c9234c3bb0f84410d93f5db19ba4b2201397835c047 |
| 3.0.1 | 2016-05-19T19:15:29.892Z | Download | 4fa916b82c2efa1e4d2a93a224dc2ec244e99908680688bb868d0ed2927fa44f |
| 3.0.2 | 2016-06-20T23:25:51.621Z | Download | 96d1dfe41bcc666cf37f81521d498fdbb59fbfdbd9993aae5cc1ff916073f71b |
| 3.0.3 | 2016-10-12T22:58:09.852Z | Download | fbbb7a53dfc99864531d346e8483d60c25ba83a6a250990cad641c45488ba5b8 |
| 3.1.0 | 2016-12-06T21:44:47.418Z | Download | ec05c896b259f60296d92807b1231cf6b94bcf3e3d99e4e707b3e0ef82d36c2e |
| 3.1.1 | 2016-12-15T01:40:56.498Z | Download | cdd2fbf11f37ada5d81ab55395a5f1a7be303beee4b2b73631192cc6fe46a34e |
| 3.1.2 | 2018-05-02T21:00:23.383371Z | Download | 65aa2a54a960d44b0ecc7df1ab1eaef9c766fa6572e5db8452ebff181a2d54bd |
| 3.1.3 | 2018-07-19T19:11:56.650599Z | Download | 922804ee33df3ffe79675509bc20a61f6bd06ad733cef811616790948b99d74b |
| 3.1.4 | 2020-03-24T17:50:01.161527Z | Download | 9d2b0626e9e402fc98e6868360da8f256064d6c0b8e4c3edcca5e02fb0b95da9 |
| 4.0.0-nullsafety | 2020-11-06T21:46:01.611836Z | Download | 9819960f1a60b0db8a8b62f7e88c991fd0e742237b4b91d6919e81c9863e3387 |
| 4.0.0 | 2021-02-05T19:09:28.345586Z | Download | e362d639ba3bc07d5a71faebb98cde68c05bfbcfbbb444b60b6f60bb67719185 |
| 4.0.1 | 2022-05-18T19:54:29.722750Z | Download | db3060f22889f3d9d55f6a217565486737037eec3609f7f3eca4d0c67ee0d8a0 |
| 4.0.2 | 2022-10-14T17:25:01.295410Z | Download | 2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b |
| 4.1.0 | 2024-06-17T19:00:21.139708Z | Download | 40f592dd352890c3b60fec1b68e786cefb9603e05ff303dbc4dda49b304ecdf4 |
| 4.1.1 | 2024-10-18T09:01:09.368477Z | Download | 76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360 |
| 4.1.2 | 2025-01-02T18:37:12.729308Z | Download | 178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571 |
Dependencies
collection "\u003e=0.9.1 \u003c2.0.0"
crypto "^0.9.0"
source_span "^1.0.0"
string_scanner "\u003e=0.0.0 \u003c0.2.0"