pub repository
mirror.p-hatan.comhttp_parser
4.1.2A platform-independent package for parsing and serializing HTTP formats.
Cached in Iran · Upstream SHA-256 matched
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.
Features
-
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
WebSocketChannelclass that provides aStreamChannelinterface for both the client and server sides of the WebSocket protocol independently of any specific server implementation.
Changelog
4.1.2
- Fixed a bug where parsing quoted header values could require a regex to backtrack
- Fixed a bug where quoted header values containing escaped quotes would not be correctly parsed.
4.1.1
- Move to
dart-lang/httpmonorepo.
4.1.0
CaseInsensitiveMap: added constructorfromEntries.- Require
package:collection^1.19.0 - Require Dart
^3.4.0
4.0.2
- Remove
package:charcodefrom dev_dependencies.
4.0.1
- Remove dependency on
package:charcode.
4.0.0
- Stable null safety stable release.
4.0.0-nullsafety
- Migrate to null safety.
3.1.4
- Fixed lints affecting package health score.
- Added an example.
3.1.3
- Set max SDK version to
<3.0.0, and adjust other dependencies.
3.1.2
-
Require Dart SDK 2.0.0-dev.17.0 or greater.
-
A number of strong-mode fixes.
3.1.1
- Fix a logic bug in the
chunkedCodingcodec. It had been producing invalid output and rejecting valid input.
3.1.0
- Add
chunkedCoding, aCodecthat supports encoding and decoding the chunked transfer coding.
3.0.2
- Support
string_scanner1.0.0.
3.0.1
- Remove unnecessary dependencies.
3.0.0
-
All deprecated APIs have been removed. No new APIs have been added. Packages that would use 3.0.0 as a lower bound should use 2.2.0 instead—for example,
http_parser: ">=2.2.0 <4.0.0". -
Fix all strong-mode warnings.
2.2.1
- Add support for
crypto1.0.0.
2.2.0
WebSocketChannelhas been moved to theweb_socket_channelpackage. The implementation here is now deprecated.
2.1.0
-
Added
WebSocketChannel, an implementation ofStreamChannelthat's backed by aWebSocket. -
Deprecated
CompatibleWebSocketin favor ofWebSocketChannel.
2.0.0
- Removed the
DataUriclass. It's redundant with theUri.datagetter that's coming in Dart 1.14, and theDataUri.datafield in particular was an invalid override of that field.
1.1.0
- The MIME spec says that media types and their parameter names are
case-insensitive. Accordingly,
MediaTypenow uses a case-insensitive map for its parameters and itstypeandsubtypefields are now always lowercase.
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.com
flutter pub add http_parserpubspec.yaml
name: http_parser
version: 4.1.2
description: >-
A platform-independent package for parsing and serializing HTTP formats.
repository: https://github.com/dart-lang/http/tree/master/pkgs/http_parser
environment:
sdk: ^3.4.0
dependencies:
collection: ^1.19.0
source_span: ^1.8.0
string_scanner: ^1.1.0
typed_data: ^1.3.0
dev_dependencies:
dart_flutter_team_lints: ^3.0.0
test: ^1.16.6
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.0.1 | 2014-04-03T01:34:56.438190Z | Cached | 8ef43b9c0a022da3a20f87d2f5f1205fa3109a7d47b5f0a423695c522d1df527 |
| 0.0.2 | 2014-04-23T00:06:58.889730Z | Cached | a562823bc880c77cef3745dcf0e2ef96a10107474823f81f2da3757412c520d4 |
| 0.0.2+1 | 2014-05-09T02:48:01.297740Z | Cached | 9fe5bfaca6e9582322997e3503d693d9c88f9e94e9555629bcd14071ab20ff38 |
| 0.0.2+2 | 2014-05-09T20:27:14.220830Z | Cached | cd44b5efcdcfe357acdc73f7fe6819f0b81f730b2a615b1961bf5bb0875f82d8 |
| 0.0.2+3 | 2014-06-02T21:26:54.369770Z | Cached | 6fba98610c4e467eb9ad438d852104655e0daae381c4e3a79c024bdba545db65 |
| 0.0.2+4 | 2014-07-24T03:10:21.304320Z | Cached | 0f826a534b483ea905f17be68112adb7520f9fcbeae296697002a082daa3427e |
| 0.0.2+5 | 2014-08-26T19:51:14.446690Z | Cached | 74dfc897e14cf1301d45e2ce92c225584ffd536ee01d3e811f6450b8c088a39e |
| 0.0.2+6 | 2015-03-30T22:59:13.289450Z | Cached | 488db9c1134271f809ed1b0d4fb86e4a1e79bfefe592fbd497ab7b9c769c5e3d |
| 0.0.2+7 | 2015-06-09T19:10:50.001Z | Cached | 7451acfa39c6136fd79d396f6fde1ee0dbbc08b6afd23d4a34de748852713139 |
| 0.0.2+8 | 2015-07-15T23:03:40.129Z | Cached | 72ebdcdb88a7aaa71a896acdf2776a1d442e73104c27b64117d3622885ee60fb |
| 1.0.0 | 2015-08-25T23:55:12.068Z | Cached | ae8b6f39bf6161bdda410851506d2905be00392631f2e45cbe6d4fdd7eeee754 |
| 1.1.0 | 2015-10-20T23:39:21.049Z | Cached | f5313c256d444635ad960c261e67931009f4f251e0dc0815017aa123b1538d2d |
| 2.0.0 | 2015-12-14T22:06:53.802Z | Cached | 6c8291efac219c22724950fe69f97f0fac04d578f2ae64be2d70c87f30b85c9f |
| 2.1.0 | 2016-01-28T21:40:28.704Z | Cached | e792a350f7c95f053f82385fb5937277328a2090fc20e436072ac650791157e8 |
| 2.2.0 | 2016-03-03T20:09:16.619Z | Cached | cd1b8371ea1b970b2e05cc09e91c42626f8a86e2e877b9a184d1e6bd719d9ac9 |
| 2.2.1 | 2016-03-23T20:54:16.188Z | Cached | f40464d343e8a15375072df3119c3391131754d48d04ca549ab5a4c2ca6c0a70 |
| 3.0.0 | 2016-05-05T00:46:47.969Z | Cached | eb730dc4b613a152dfeb3c9234c3bb0f84410d93f5db19ba4b2201397835c047 |
| 3.0.1 | 2016-05-19T19:15:29.892Z | Cached | 4fa916b82c2efa1e4d2a93a224dc2ec244e99908680688bb868d0ed2927fa44f |
| 3.0.2 | 2016-06-20T23:25:51.621Z | Cached | 96d1dfe41bcc666cf37f81521d498fdbb59fbfdbd9993aae5cc1ff916073f71b |
| 3.0.3 | 2016-10-12T22:58:09.852Z | Cached | fbbb7a53dfc99864531d346e8483d60c25ba83a6a250990cad641c45488ba5b8 |
| 3.1.0 | 2016-12-06T21:44:47.418Z | Cached | ec05c896b259f60296d92807b1231cf6b94bcf3e3d99e4e707b3e0ef82d36c2e |
| 3.1.1 | 2016-12-15T01:40:56.498Z | Cached | cdd2fbf11f37ada5d81ab55395a5f1a7be303beee4b2b73631192cc6fe46a34e |
| 3.1.2 | 2018-05-02T21:00:23.383371Z | Cached | 65aa2a54a960d44b0ecc7df1ab1eaef9c766fa6572e5db8452ebff181a2d54bd |
| 3.1.3 | 2018-07-19T19:11:56.650599Z | Cached | 922804ee33df3ffe79675509bc20a61f6bd06ad733cef811616790948b99d74b |
| 3.1.4 | 2020-03-24T17:50:01.161527Z | Cached | 9d2b0626e9e402fc98e6868360da8f256064d6c0b8e4c3edcca5e02fb0b95da9 |
| 4.0.0-nullsafety | 2020-11-06T21:46:01.611836Z | Cached | 9819960f1a60b0db8a8b62f7e88c991fd0e742237b4b91d6919e81c9863e3387 |
| 4.0.0 | 2021-02-05T19:09:28.345586Z | Cached | e362d639ba3bc07d5a71faebb98cde68c05bfbcfbbb444b60b6f60bb67719185 |
| 4.0.1 | 2022-05-18T19:54:29.722750Z | Cached | db3060f22889f3d9d55f6a217565486737037eec3609f7f3eca4d0c67ee0d8a0 |
| 4.0.2 | 2022-10-14T17:25:01.295410Z | Cached | 2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b |
| 4.1.0 | 2024-06-17T19:00:21.139708Z | Cached | 40f592dd352890c3b60fec1b68e786cefb9603e05ff303dbc4dda49b304ecdf4 |
| 4.1.1 | 2024-10-18T09:01:09.368477Z | Cached | 76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360 |
| 4.1.2 | 2025-01-02T18:37:12.729308Z | Cached | 178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571 |
Dependencies
collection "^1.19.0"
source_span "^1.8.0"
string_scanner "^1.1.0"
typed_data "^1.3.0"