I noticed that the PopulateRequestContext function does not transfer the Accept header from the request object to the context.
I'm using a custom ServerBefore function to add this header, but I was somewhat surprised, as the Accept header is something you use a lot when working with APIs that support multiple response formats.
I noticed that the
PopulateRequestContextfunction does not transfer theAcceptheader from the request object to the context.I'm using a custom
ServerBeforefunction to add this header, but I was somewhat surprised, as the Accept header is something you use a lot when working with APIs that support multiple response formats.