Skip to content

"application/problem+json" Response Content-Type #36

Description

@catalingavan

https://github.com/KissLog-net/KissLog.Sdk/blob/1dfcfb013bd3a9ea831176b14430078ecd900c36/src/KissLog/Internal/InternalHelpers.cs#L16

Need to update the Response Content-Type with more values:

{
    "Content-Type": "application/problem+json; charset=utf-8"
}

We should allow for providing the values on KissLogConfiguration.Options

KissLogConfiguration.Options
        .SetLogResponseBodyContentTypes(() =>
        {
            return new string[] { "application/json", "application/problem+json" };
        });

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions