-
Notifications
You must be signed in to change notification settings - Fork 758
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
[Sharethrough] Adapter fixes #1082
Conversation
@@ -71,7 +71,6 @@ func (s StrOpenRTBTranslator) requestFromOpenRTB(imp openrtb.Imp, request *openr | |||
headers := http.Header{} | |||
headers.Add("Content-Type", "application/json;charset=utf-8") | |||
headers.Add("Accept", "application/json") | |||
headers.Add("Accept-Encoding", "gzip") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious, why is gzip no longer accepted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SyntaxNode it actually broke our adapter, our ad server now returns gzip encoded responses and it looks like the adapter needs to handle unzipping itself. We'll push a fix later to decode gzipped responses but for now we just need this fix asap in production as it can't process any bid in its current state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha.
Hi @guscarreon, just a heads up we would really appreciate it if this makes it into this week's release as our adapter is broken in its current state. Thank you very much. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Get bidfloor value from ExtImp instead of Imp [#168939771] * Bump adapter version to 7 * Remove gzip encoding handling (not working)
* Get bidfloor value from ExtImp instead of Imp [#168939771] * Bump adapter version to 7 * Remove gzip encoding handling (not working)
* Get bidfloor value from ExtImp instead of Imp [#168939771] * Bump adapter version to 7 * Remove gzip encoding handling (not working)
Couple of fixes:
bidfloor
from custom impression paramsgzip
header