Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rockxy.io/llms.txt

Use this file to discover all available pages before exploring further.

Modify Headers

Modify Headers is the right tool when the body is fine but the metadata is not.

Good use cases

  • inject or replace an authorization header,
  • remove a caching header,
  • override a custom routing header,
  • test client behavior with changed content type,
  • strip a header that causes a backend to branch differently.

Why use a dedicated header rule

Header changes are easier to reason about when they are explicit and isolated. If you only need to change headers, a header rule is usually safer than a breakpoint or a broader rewrite.

Request versus response headers

Use request header changes when the upstream server should receive different metadata. Use response header changes when the client should observe a different behavior, such as cache control, content type, or a testing flag.

Breakpoints

Use breakpoints when you need to change the body or URL as well.

Network Conditions

Combine header changes with latency testing when you are debugging client resilience.