Missing tests for lp.services.httpproxy

Bug #1867348 reported by Thiago F. Pappacena
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

HTTPS proxy-CONNECT is implemented at lp.services.httpproxy, but it doesn't have proper tests.

It is used by lp.registry.scripts.distributionmirror_prober, which also does not have a proper test for HTTPS mirrors behind a proxy.

A possible solution would be implementing a fake proxy server using Twisted, and write tests that makes requests to it, the same way we test plain HTTP and HTTPS mirrors on lp.registry.tests.test_distributionmirror_prober and DistributionMirrorTest[Secure]HTTPServer.

Changed in launchpad:
status: New → Triaged
tags: added: lp-foundations tech-debt
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.