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

Header Based IG Blob for QS GET Based Requests #777

Open
thegreatfatzby opened this issue Sep 3, 2023 · 1 comment
Open

Header Based IG Blob for QS GET Based Requests #777

thegreatfatzby opened this issue Sep 3, 2023 · 1 comment

Comments

@thegreatfatzby
Copy link
Contributor

After some internal discussion I was reminded we still support some Query String GET requests to our SSP. I'll have to dig into numbers, but I'm fairly sure this won't work as currently designed, as the blob has to be passed in the body of the request using JS, which basically means using POST or PUT (docs seem to confirm this).

Can there be an option for the browser to include this in a header? If the link is coming from some HTML element we could have some attribute to tell the browser to include it...I guess if it's being sent by JS (but still needs to stay GET based for whatever reason) we could just make our own X-blob header, but if there is a way to support it with some canonical X-PS-blob in all cases that would be good.

@JensenPaul
Copy link
Collaborator

Which SSP request are you referring to? the trusted scoring signals fetch or the B&A request? The trusted scoring signals fetch is a GET request with query params so that sounds like it matches your current support. The B&A request isn't directly initiated by the browser, instead we leave it up to SSPs to encode the blob in whatever part of a network request makes sense to them (e.g. URL, headers, body). The B&A blob is simply provided to JavaScript.

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

No branches or pull requests

2 participants