Skip to content

Commit

Permalink
Remove Content-Type
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrf committed Jun 11, 2023
1 parent 6ec657c commit c6a5ef1
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ trait JsonEntitiesFromSchemasTestSuite[
)
}

// Valid URL, empty entity with no content-type
whenReady(
sendAndDecodeEntityAsText(
request(
s"http://localhost:$port/user/42",
""
)
HttpRequest(HttpMethods.PUT, s"http://localhost:$port/user/42")
.withEntity(ContentTypes.NoContentType, "".getBytes)
)
) { case (response, entity) =>
print(response)
Expand Down

0 comments on commit c6a5ef1

Please sign in to comment.