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

Change DB binary format #116

Merged
merged 1 commit into from
Mar 17, 2024
Merged

Change DB binary format #116

merged 1 commit into from
Mar 17, 2024

Conversation

LucasPickering
Copy link
Owner

This requires wiping out all data in the local DB. While we're at it, I decided to make the following changes to the request/response schema, since they're breaking:

  • Change Request::url from String to Url
  • Change Request::body from Option<String> to Option<Bytes>
  • Change Response::body from Option<String> to Option<Bytes>

The URL change frontloads some more validation which is nice. The body changes make it possible to store binary bodies.

This requires wiping out all data in the local DB
@LucasPickering LucasPickering marked this pull request as ready for review March 17, 2024 05:18
@LucasPickering LucasPickering merged commit bda224c into master Mar 17, 2024
10 checks passed
@LucasPickering LucasPickering deleted the change-request-repr branch March 17, 2024 17:22
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.

1 participant