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
Karate Mock Server currently converts all headers to lowercase due to Armeria’s HTTP/2 standards. This causes issues when integrating with legacy systems that require case-sensitive HTTP/1 headers (e.g., X-Special-Header).
Armeria provides an interface to map HTTP/2 headers to HTTP/1, but manual mapping is required.
Proposed Solution
Add support for HTTP/1 header formats by using original headers from the Karate Scenario as references for mapping. This avoids manual configuration and ensures headers are preserved as expected. The feature should be able to disabled or enabled via server option eg. --use-original-header or --keep-original-headers as not everyone may need to integrate their system with HTTP/1 headers standard.
The text was updated successfully, but these errors were encountered:
Description
Karate Mock Server currently converts all headers to lowercase due to Armeria’s HTTP/2 standards. This causes issues when integrating with legacy systems that require case-sensitive HTTP/1 headers (e.g.,
X-Special-Header
).Armeria provides an interface to map HTTP/2 headers to HTTP/1, but manual mapping is required.
Proposed Solution
Add support for HTTP/1 header formats by using original headers from the Karate Scenario as references for mapping. This avoids manual configuration and ensures headers are preserved as expected. The feature should be able to disabled or enabled via server option eg.
--use-original-header
or--keep-original-headers
as not everyone may need to integrate their system with HTTP/1 headers standard.The text was updated successfully, but these errors were encountered: