Skip to content

Commit

Permalink
Add header
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Jul 11, 2024
1 parent 57e2d02 commit 3f307a8
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions core/jvm/src/test/scala/krop/route/RequestHeaderSuite.scala
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
/*
* Copyright 2023 Creative Scala
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package krop.route

import krop.raise.Raise
import munit.CatsEffectSuite
import org.http4s.Headers
import org.http4s.MediaType
import org.http4s.Method
import org.http4s.Uri
import org.http4s.headers.`Content-Type`
import org.http4s.implicits.*
import org.http4s.{Request as Http4sRequest}
import org.http4s.headers.`Content-Type`
import org.http4s.MediaType
import org.http4s.Headers

class RequestHeaderSuite extends CatsEffectSuite {
test("Ensure header fails if header does not exist") {
Expand Down

0 comments on commit 3f307a8

Please sign in to comment.