(rw http.ResponseWriter, r *http.Request)
| 597 | } |
| 598 | |
| 599 | func (h *mockHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request) { |
| 600 | h.headersReceived = r.Header.Clone() |
| 601 | rw.WriteHeader(http.StatusOK) |
| 602 | _, _ = rw.Write([]byte(r.URL.Path)) |
| 603 | } |
| 604 | |
| 605 | // TestServeHTTP_ActorHeaders validates that actor headers are correctly forwarded to |
| 606 | // upstream AI providers when SendActorHeaders is enabled in the provider configuration. |
no test coverage detected