Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

GetCalloutAttributesFromContext return value does not contain body #95

Closed
doriandekoning opened this issue Nov 19, 2020 · 2 comments · Fixed by #96
Closed

GetCalloutAttributesFromContext return value does not contain body #95

doriandekoning opened this issue Nov 19, 2020 · 2 comments · Fixed by #96

Comments

@doriandekoning
Copy link
Contributor

doriandekoning commented Nov 19, 2020

If I use GetCalloutAttributesFromContext on a callout with a body the body is not returned.

Is there a particular reason the body is not added here? If it can simply be added here I'd be happy to open a PR https://github.com/tetratelabs/proxy-wasm-go-sdk/blob/main/proxytest/root.go#L250

@mathetake
Copy link
Member

@doriandekoning Thanks for the report! This is not intentional so I would love to see your PR 😄 Thanks!

@doriandekoning
Copy link
Contributor Author

Here you go: #96

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants