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

IndexHandler: backward-compatibility for fl (fields) param #621

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

sebastian-nagel
Copy link
Contributor

Description

While CDXQuery supports the old query parameter fl (query.py#L88), the class IndexHandler does not,

Description

The PR add backward-compatibility support for the query parameter fl (in addition to the param fields).

Motivation and Context

The change is part of an effort to upgrade Common Crawl's CDX server to the recent version of PyWB while ensuring 100% API compatibility (see commoncrawl/cc-index-server#8). Teaching the users a new API and upgrading all clients in the wild seems impossible as there are too many.

@ikreymer ikreymer merged commit 4224cdd into webrecorder:master Apr 27, 2021
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