You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing an empty 200 when downstream services are returning 401, which I also see reflected in the otel trace output. I'm also seeing that all my headers from the downstream services are dropped on the response in these cases as well
The text was updated successfully, but these errors were encountered:
Looking into this more, it is actually caused when the downstream services return an empty body aka content-length of 0. It looks like Diffy is returning a default set. Instead, Diffy should do the header comparison and return the primary HTTP status
craigta
changed the title
When candidate/primary/secondary return 401, Diffy returns 200
When candidate/primary/secondary return a content length of 0, Diffy returns empty 200
Oct 19, 2023
Any resolution on this or is there a setting I can toggle? I believe I'm seeing the same thing when both primary and candidate are returning 204 with no body and diffy is instead returning 200
It seems this is caused primarily by the primary returning an empty body.
I'm seeing an empty 200 when downstream services are returning 401, which I also see reflected in the otel trace output. I'm also seeing that all my headers from the downstream services are dropped on the response in these cases as well
The text was updated successfully, but these errors were encountered: