-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add a client-side alternative to echoData #15
Comments
This makes sense to me, in general. |
If it's still called |
Yes. In the docs.zyte.com content I am preparing about
Yes, that is a very good point. For python-zyte-api, maybe we should leave things as they are for now, but in the future, if there is demand for it, add an |
I wonder if it'd be better to have this feature, but not have it tied to echoData. Or, alternatively, make echoData handling optional. |
Makes a lot of sense. In the scenario where |
While working on documentation for https://docs.zyte.com/ about setting request metadata, I am starting to think that maybe we should not send
echoData
to the server, and instead keep track of it on the client side.I get the usefulness of
echoData
for generic HTTP clients that have no request metadata tracking feature, but a client with that feature, or one made specifically for Zyte Data API, should probably keep track of request metadata on the client side. In fact, maybe https://github.com/scrapy-plugins/scrapy-zyte-api should discourage its use altogether, in favor ofRequest.meta
.This is of course based solely on the current implementation of Zyte Data API. It is possible that future features will make it worthwhile to include echoData (e.g. some web UI that allows to keep track of your requests, where getting access to
echoData
would be useful).Thoughts?
The text was updated successfully, but these errors were encountered: