Open Bug 1639559 Opened 5 years ago Updated 5 years ago

Glean must behave consistently for unknown URL scheme endpoints across language bindings

Categories

(Data Platform and Tools :: Glean: SDK, enhancement, P4)

enhancement

Tracking

(Not tracked)

People

(Reporter: Dexter, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [telemetry:glean-rs:backlog])

The Python bindings currently raise an exception when using URL scheme other than HTTP or HTTPS.

Other platforms behave differently or do nothing.

At the very least we should make the behaviour consistent.

Priority: -- → P3
Whiteboard: [telemetry:glean-rs:m?]
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]

Should we / could we move this check to the Rust side now that we have Rust-side uploading?

Flags: needinfo?(brizental)

Since the actual uploading is all left for the binding, currently we don't deal with the upload URL on the Rust side.

Flags: needinfo?(brizental)

(In reply to Beatriz Rizental from comment #2)

Since the actual uploading is all left for the binding, currently we don't deal with the upload URL on the Rust side.

Maybe this is another thing we could move to Rust: we could allow setting the URL from the FFI configuration, just once at startup, and then make the upload module return an upload path with each request.

You need to log in before you can comment on or make changes to this bug.