Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KeepOriginalHeaders] update document #2656

Merged
merged 4 commits into from
Feb 19, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions karate-netty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,13 @@ java -jar karate.jar -T 5 -C src/features
#### Debug Server
The `-d` or `--debug` option will start a debug server. See the [Debug Server wiki](https://github.com/karatelabs/karate/wiki/Debug-Server) for more details.

#### Keep Original Headers
By default, Karate mock server converts all response headers to lowercase according to HTTP/2 standard. This option allows you to retain the original header format, enabling integration with legacy systems or HTTP/1.

```
java -jar karate.jar --keep-original-headers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is for the mock server, probably needs the -m options and / or put this section just under the mocks section ?

```

## Custom Classpath
Karate allows you to use custom Java code or 3rd party Java libraries using [Java interop](https://github.com/karatelabs/karate#calling-java). Normally those who do this use Karate in the context of [Maven](https://maven.apache.org) or [Gradle](https://gradle.org) - and the [classpath](https://github.com/karatelabs/karate#classpath) would be set automatically.

Expand Down
Loading