Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 committed Sep 28, 2024
1 parent 8f59b20 commit ca31dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/shared/src/main/scala/zio/http/Routes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ final case class Routes[-Env, +Err](routes: Chunk[zio.http.Route[Env, Err]]) { s
val tree = self.tree
Handler
.fromFunctionHandler[Request] { req =>
Header.validateHeaders(req) *> {
Header.validateHeaders(req.headers) *> {
val chunk = tree.get(req.method, req.path)
val allowedMethods = tree.getAllMethods(req.path)

Expand Down

0 comments on commit ca31dc0

Please sign in to comment.