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

refactor: use ArchivalMaybeBinaryString for headers list #1334

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

bassosimone
Copy link
Contributor

This commit changes the list representation of HTTP headers to use the ArchivalMaybeBinaryString type.

Now that we have migrated most representations of HTTP headers to use this new type, we can finally implement scrubbing.

As a reminder, we still need to migrate the ./legacy/measurex implementation, however that one is a bit annoying because there are no tests at all for measurex 🤦🤦🤦🤦🤦🤦🤦.

That said, given that ./legacy/measurex is deprecated and it is only used by the tor experiment, I think leaving it untouched would probably be the right thing to do here.

Part of ooni/probe#2531

This commit changes the list representation of HTTP headers to
use the ArchivalMaybeBinaryString type.

Now that we have migrated most representations of HTTP headers to
use this new type, we can finally implement scrubbing.

As a reminder, we still need to migrate the ./legacy/measurex
implementation, however that one is a bit annoying because there
are no tests at all for measurex 🤦🤦🤦🤦🤦🤦🤦.

That said, given that ./legacy/measurex is deprecated and it
is only used by the tor experiment, I think leaving it untouched
would probably be the right thing to do here.

Part of ooni/probe#2531
@bassosimone bassosimone merged commit b9fcb78 into master Sep 28, 2023
6 of 8 checks passed
@bassosimone bassosimone deleted the issue/2531 branch September 28, 2023 20:25
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
This commit changes the list representation of HTTP headers to use the
ArchivalMaybeBinaryString type.

Now that we have migrated most representations of HTTP headers to use
this new type, we can finally implement scrubbing.

As a reminder, we still need to migrate the ./legacy/measurex
implementation, however that one is a bit annoying because there are no
tests at all for measurex 🤦🤦🤦🤦🤦🤦🤦.

That said, given that ./legacy/measurex is deprecated and it is only
used by the tor experiment, I think leaving it untouched would probably
be the right thing to do here.

Part of ooni/probe#2531
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