forked from zio/zio-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Headers composition (zio#667)
* refactor: remove "Header" use "Header(s)" instead everywhere * refactor: header usage inside the examples * refactor: add combinators for Headers * refactor: update helpers in Http * refactor: update helpers in Patch * refactor: update helpers in Request, Response * refactor: update test to use Headers * refactor: update service usage of Headers * refactor: update usage of header in Middleware * refactor: headers and headerextensions * scalafmt changes * refactor: remove HeaderExtension.Only * refactor: add Header type alias back to reduce diff produced * refactor: fix header spec * refactor: fix header and middleware spec * refactor: reorder tests in MiddlewareSpec * feature: add HeaderName and HeaderValue * feature: add tuples of headers * refactor: use chunk to hold Headers * refactor: add helpers in Headers with builder-pattern * refactor: Headers is now backed by Chunk * refactor: improve header spec * refactor: move names to Headers * refactor: update examples * refactor: rename object * refactor: update constructors and usages * refactor: split header.scala into smaller more maintainable files * refactor: clean up * style: scalafmt * scalafmt fixes * refactor: update constraint requirements * refactor: rename methods and name alias * refactor: rename files * refactor: fix for jdk 8 * scalafmt fixes * refactor: add support for Cookie for Headers.cookie * chore: update fmt settings to use the later scalafmt config for sorted imports * scalafmt fixes * test: update header spec * fix: Response.text content-type * refactor: remove duplicate cookie getters * refactor: restructure header code
- Loading branch information
Tushar Mathur
authored
Dec 22, 2021
1 parent
ce9afac
commit 9c84756
Showing
41 changed files
with
1,468 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.