Implement RFC 2396 path segments
未关闭
- 主要语言
- Python
- 星标
- 1.5k
- 派生
- 215
- 平均合并
- 1 天 2 分钟
- 30 天内合并 PR
- 13
描述
Currently there is no such thing as segments in yarl, which could be useful when you construct your path from a list and don't want to end up chain creating lots of URL objects with some hacky approach (see #138)
It should also be possible to do:
```python
segments = ["foo", "bar/"] # with proper quoting here
url = URL("https://example.com") / segments
```
贡献指南
评估
这个 Issue 还没有评估数据。