This PR introduces the core HTTP data types: `Request`, `Response`, `Status`, `Version`, and `Method`. Currently, URIs are represented as `String` and headers as `HashMap String (Array String)`. These are placeholders, future PRs will replace them with strict implementations. This contains the same code as #10478, divided into separate pieces to facilitate easier review. The pieces of this feature are: - Core data structures: #12126 - Headers: #12127 - URI: #12128 - Body: #12144 - H1: #12146 - Server: #12151 - Client: --------- Co-authored-by: Rob23oba <152706811+Rob23oba@users.noreply.github.com>
19 lines
485 B
Text
19 lines
485 B
Text
/-
|
|
Copyright (c) 2024 Lean FRO, LLC. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
Authors: Henrik Böving
|
|
-/
|
|
module
|
|
|
|
prelude
|
|
public import Std.Internal.Async
|
|
public import Std.Internal.Http
|
|
public import Std.Internal.Parsec
|
|
public import Std.Internal.UV
|
|
|
|
@[expose] public section
|
|
|
|
/-!
|
|
This directory is used for components of the standard library that are either considered
|
|
implementation details or not yet ready for public consumption.
|
|
-/
|