Unable to set HTTP Referer Header when request has redirect 30X response

Hi,

I want to set the Referer header in an HTTP request that has a 301/302 Response.

However, even when it is explicitly set in the HTTP request. the Referer that is actually set is the self URL of the request. Is this expected behavior?

Example:

This is a bug, thanks for reporting!

https://github.com/gatling/gatling/issues/3934