ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
749 stars 142 forks source link

oonimkall.HTTPRequest.URL is not passed properly from iOS #2701

Closed aanorbel closed 2 months ago

aanorbel commented 2 months ago

Clash Between Go Conventions and iOS Compatibility:

The Problem: Using "URL" in Go code breaks compatibility with iOS because iOS expects lowercase property names.

Possible Solution: Consider renaming the property to "Url" (lowercase) to match iOS expectations. This would sacrifice some consistency with Go conventions but ensure better compatibility.