Summary
#474 adds library-side HTTP_QUERY (RFC 10008). The platform http_method mapping was left out of that PR on purpose: HTTP_QUERY is an enumerator, not a #define, so compile-time detection needs a feature macro (or equivalent) from the platform parser.
Once espressif/esp-idf#19071 merges (or Espressif documents another detection criterion), I will add:
#if defined(HTTP_PARSER_HAS_QUERY)
: MAP_EXTERNAL_TERNARY(HTTP_QUERY)
#endif
so WebRequestMethodComposite(http_method::HTTP_QUERY) maps onto AsyncWebRequestMethod::HTTP_QUERY.
The library parser already recognizes QUERY without this. This issue is only the IDF/Arduino enum bridge.
Related
Summary
#474 adds library-side
HTTP_QUERY(RFC 10008). The platformhttp_methodmapping was left out of that PR on purpose:HTTP_QUERYis an enumerator, not a#define, so compile-time detection needs a feature macro (or equivalent) from the platform parser.Once espressif/esp-idf#19071 merges (or Espressif documents another detection criterion), I will add:
so
WebRequestMethodComposite(http_method::HTTP_QUERY)maps ontoAsyncWebRequestMethod::HTTP_QUERY.The library parser already recognizes
QUERYwithout this. This issue is only the IDF/Arduino enum bridge.Related