Skip to content

Include headers in http.send response object #2238

Closed
@anderseknert

Description

Expected Behavior

Headers included in http.send response.

Additional Info

Looking at a use case where we'd like to use OPA for policies on REST API endpoints, ensuring that they conform to certain guidelines (like allowing CORS requests, etc). To do this in-policy would however require the response headers to be part of the response object.

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions