Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change responce header: Content-Type #97

Closed
timonych opened this issue May 17, 2024 · 1 comment
Closed

Change responce header: Content-Type #97

timonych opened this issue May 17, 2024 · 1 comment

Comments

@timonych
Copy link

timonych commented May 17, 2024

Hello, @ncarlier

Is it possible to change responce header Content-Type to application/json according to the request?
I haven't found this opportunity in docs or code.
I have also tryed to use header "Accept" in request, but nothing changes.

Everytime response header is "Content-Type: text/plain; charset=utf-8"

By the way, thx for this tool! :)

@ncarlier
Copy link
Owner

Hello, the latest commit should solve your problem. Webhookd will now take content negotiation into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants