Matthew Finkel pushed to branch android-components-63.0.1-10.5-1 at The Tor Project / Applications / android-components
Commits:
-
75eefd87
by Alex Catarineu at 2020-11-06T14:59:53+01:00
-
73749e43
by Matthew Finkel at 2020-11-06T16:38:41+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 {
|