Matthew Finkel pushed to branch android-components-60.0.5-10.5-1 at The Tor Project / Applications / android-components
Commits:
-
bff7eca5
by Alex Catarineu at 2020-11-06T16:40:13+00:00
1 changed file:
Changes:
... | ... | @@ -80,6 +80,7 @@ private fun Request.toWebRequest(): WebRequest = WebRequest.Builder(url) |
80 | 80 |
.addHeadersFrom(this)
|
81 | 81 |
.addBodyFrom(this)
|
82 | 82 |
.cacheMode(if (useCaches) CACHE_MODE_DEFAULT else CACHE_MODE_RELOAD)
|
83 |
+ .origin(origin)
|
|
83 | 84 |
.build()
|
84 | 85 |
|
85 | 86 |
private fun WebRequest.Builder.addHeadersFrom(request: Request): WebRequest.Builder {
|