Core mechanics
Two-pass evaluation
- On response headers — response profiling runs with no body buffer.
- On buffered body — hook runs again with detected MIME and size.
Response Types — row gate order
Content size
Non-zero min/max tested against body buffer size when present, and against Content-Length when CL flag set. Zero disables each test.MIME and extension
MIME regex tries response Content-Type header, then detected body type. Extension regex tries URL (query stripped), then attachment filename.Examples
Open Configure → Custom Settings → Response Types. Row fields are Enabled, Comment, Trace Entry, Content type (the MIME-pattern field referenced below), Transfer Encoding Chunk, Minimum/Maximum Content Size, and Added Response Types.Response Types — Response Types rows
How to verify
- Trace Entry; fetch test URL; check native logs.
- Detailed logs —
response_profiles,download_content_types.

