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

feat: cache HTTP GET requests #6327

Merged
merged 6 commits into from
Dec 11, 2024
Merged

feat: cache HTTP GET requests #6327

merged 6 commits into from
Dec 11, 2024

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Dec 10, 2024

This allows to use webxdc picker introduced in deltachat/deltachat-android#3463 offline after loading it once and attach previously downloaded .xdcs while being offline.

@link2xt link2xt force-pushed the link2xt/http-cache branch 2 times, most recently from deb2de0 to 42b9a96 Compare December 11, 2024 16:08
@link2xt link2xt marked this pull request as ready for review December 11, 2024 16:08
@link2xt link2xt requested review from r10s, iequidoo and Hocuri December 11, 2024 16:11
src/net/http.rs Show resolved Hide resolved
src/sql/migrations.rs Outdated Show resolved Hide resolved
src/net/http.rs Show resolved Hide resolved
src/net/http.rs Show resolved Hide resolved
@link2xt link2xt merged commit a04a6c5 into main Dec 11, 2024
37 checks passed
@link2xt link2xt deleted the link2xt/http-cache branch December 11, 2024 19:27
@link2xt
Copy link
Collaborator Author

link2xt commented Dec 11, 2024

I also tested this on the phone, webxdc picker works offline. Error for non-downloaded .xdcs is ugly (shows JSON toast), but that should be fixed on Android side I think.

@link2xt
Copy link
Collaborator Author

link2xt commented Dec 11, 2024

Thought I squash-merged this, apparently not :/
Had to force-push to main now to fix this.

@link2xt link2xt mentioned this pull request Dec 11, 2024
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.

3 participants