varyOrigin property

bool varyOrigin
final

If true (the default) sends Vary: Origin.

allowOrigin reflects the request Origin, so without this a shared cache may serve one origin's Access-Control-Allow-Origin to another.

Implementation

final bool varyOrigin;