yarl icon indicating copy to clipboard operation
yarl copied to clipboard

Yet another URL library

Results 76 yarl issues
Sort by recently updated
recently updated
newest added

`URL('path/to').with_scheme('http')` should work. Now it produces `scheme replacement is not allowed for relative URLs`

## What do these changes do? This PR partially reverts the change made in https://github.com/aio-libs/yarl/commit/94faa90c3c3e6d8ac519fa4b6bee154bc090e34b to remove the text of the Apache license used. This brings this repository in line...

The following is unexpected behavior: ``` url1 = URL("http://www.example.com/foo?bar=10") url2 = url1.with_path("/bar") assert url1.query = url2.query # Assertion fails ``` While I understand the design decision to treat the query...

Many complexities arose from `1.6.0` release (https://github.com/aio-libs/yarl/pull/503 breaking API), specially `aiohttp` breaking in production services, and fixing the `yarl` as `aiohttp` dependency and in production configuration becoming a big challenge....

enhancement
help wanted
Hacktoberfest

``` >>> URL('http://ex.com/%F0').path '/%F0' >>> URL('http://ex.com/%F0%') URL('http://ex.com/%F0%25') >>> URL('http://ex.com/%F0%').path '/%25' # exptected: /%F0%25 ``` the last percent character breaks path python: 3.6.3 yarl: 1.2.6

question

Sometimes query consists not only of pairs of keys and values but also can contain standalone keys. In my opinion, it's bad, but I encountered this a few times in...

We are using YARL with `mqtt:` and `mqtts:` URLs, for which default ports are not substituted. This means we have to do the substitution manually in our code. This is...

I am trying use `aiohttp` to send a GET request to the following URL: `https://api-fxtrade.oanda.com/v1/prices?instruments=EUR_USD%2CUSD_JPY`. However, I keep getting errors saying my request has a malformed query string: ```python url...

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...

Working with the github API, this is a good to have thing.

enhancement
Hacktoberfest