Package io.micronaut.http.server.tck.tests
@NullMarked
package io.micronaut.http.server.tck.tests
The package info.
-
ClassesClassDescriptionA request that carries no body at all must still reach a route that declares a body type.A response whose body is complete when the route returns announces its length with
Content-Length.Every attribute set on a response cookie reaches theSet-Cookieheader, and several cookies produce several headers.A@Getmapping also registers an implicitHEADroute, so that a plainGEThandler answersHEADrequests too.micronaut.server.max-request-sizeapplies to every request body, not only to multipart uploads.HttpRequestTerminatedEventis published once for every request, whether it succeeded, failed in the route or matched no route at all, so that per-request resources are released on every path.Server-sent events: the stream is announced astext/event-streamand every event, with its name and id, reaches the client.APublisherbody the route did not declare, returned inside anHttpResponse(or aCompletableFutureof one), is announced with the content type it is written in, as it is when the route declares aPublisherreturn type.