Files
plainleaf/server
stagandGitHub 66e4498159 Content-Type header in HTTP custom endpoint response handlers are now respected (#1300)
Before the commit, adding a Content-Type header in the reponse from the handler of a http:request:foobar event would be ignored and set to text/plain because of using ctx.text to return the request. ctx.text will set Content-Type to text/plain.

Now, if a Content-Type header is detected it will use a plain ctx.body response which does not alter Content-Type.
2025-03-20 09:19:53 +01:00
..
2025-03-06 15:11:17 +01:00
2024-07-30 17:24:17 +02:00
2024-07-30 17:33:33 +02:00
2025-03-06 15:11:17 +01:00
2024-08-07 13:27:25 +02:00
2024-07-30 17:33:33 +02:00