You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(pdk): share content-type constants via tools.http
This PR addresses a TODO to refactors the request handling code to use shared
HTTP content-type constants from kong.tools.http instead of duplicating them in
multiple modules.
* Moves CONTENT_TYPE, CONTENT_TYPE_JSON, CONTENT_TYPE_FORM_DATA, and
CONTENT_TYPE_POST to kong.tools.http.
* Updates kong.pdk.request and kong.pdk.service.request to use the shared
constants, to improves maintainability and consistency across the codebase.
0 commit comments