Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include section on cleartext req/resp headers #1377

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lusayaa
Copy link
Contributor

@lusayaa lusayaa commented Jan 7, 2025

To match KV IETF spec


Requests contain a cleartext HTTP `Content-Type` header with value `message/ad-auction-trusted-signals-request`.

Responses contain a cleartext HTTP `Content-Type` header with value `message/ad-auction-trusted-signals-response`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can necessarily specify what a response does contain, I think we can specify what it must contain. Further, this begs the question of who adds this response header? the TKV code or the HTTPS-terminating front-end in front of the TKV? I think the HTTPS-terminating front-end.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The server does actually set the content-type in the TKV code as part of the http response. The transcoding itself happens in envoy.

FLEDGE_Key_Value_Server_API.md Outdated Show resolved Hide resolved
FLEDGE_Key_Value_Server_API.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants