bb.fetch2.URI class fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | fetch2.URI: Coerce urlparse to use netloc for all schemeslib/ | +15 | 0 replies | |
| 2/5 | tests.fetch: Remove debug assertlib/ | +0 | 0 replies | |
| 3/5 | fetch2.URI: add support for query parameterslib/ lib/ | +53 | 0 replies | |
| 4/5 | fetch2.URI: Support URIs with both query strings and paramslib/ lib/ | +23 | 0 replies | |
| 5/5 | fetch2.URI: Set username/password should not change the otherlib/ lib/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] bb.fetch2.URI class fixes
During ELC, RP reverted the change where the encode- and decodeurl were replaced with wrappers around the URI class because of build failures in some corner cases. The cause of that issue was my failure to take query strings in to account, and that should now be solved.
This patch serie also includes some minor bug fixes to the URI class.
On a last note, if you know of any weird/complex/unconventional URLs in use somewhere, please let me know, and I'll add them to the unit tests to make sure they are parsed ok.
Olof Johansson (5):
fetch2.URI: Coerce urlparse to use netloc for all schemes tests.fetch: Remove debug assert
fetch2.URI: add support for query parameters fetch2.URI: Support URIs with both query strings and params fetch2.URI: Set username/password should not change the other
lib/bb/fetch2/__init__.py | 80 ++++++++++++++++++++++++++------------------- lib/bb/tests/fetch.py | 62 ++++++++++++++++++++++++++++++++++- 2 files changed, 107 insertions(+), 35 deletions(-)
Signature · 1 line
1.7.10.4