You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Revolyssup (via GitHub)" <gi...@apache.org> on 2023/06/19 06:09:14 UTC
[GitHub] [apisix] Revolyssup commented on issue #9643: help request: Why does the post parameter in the advanced route matching rule only support application/x-www-form-urlencoded?
Revolyssup commented on issue #9643:
URL: https://github.com/apache/apisix/issues/9643#issuecomment-1596565756
This function is just an abstraction over ngx API where the `ngx.req.get_post_args` method specifies[1] that it returns query args for mime type `application/x-www-form-urlencoded`. The code here is just following the ngx API. Moreover there is no charset parameter defined for this mime type. Please refer here[2][3].
1. https://openresty-reference.readthedocs.io/en/latest/Lua_Nginx_API/#ngxreqget_post_args
2. https://stackoverflow.com/questions/16819502/application-x-www-form-urlencoded-and-charset-utf-8#:~:text=The%20application%2Fx%2Dwww%2D,which%20the%20name%20is%20_charset%20.
3. https://url.spec.whatwg.org/#application/x-www-form-urlencoded
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org