Mholloway has uploaded a new change for review.
https://gerrit.wikimedia.org/r/281989
Change subject: Add ?redirect=false param to RESTBase content requests
......................................................................
Add ?redirect=false param to RESTBase content requests
To assist the services team in testing redirect handling in RESTBase.
Production patch in puppet to follow.
Change-Id: I7f8f130ef08acea2b48f731f66b1777407938137
---
M config.dev.yaml
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps
refs/changes/89/281989/1
diff --git a/config.dev.yaml b/config.dev.yaml
index 989552e..7e98344 100644
--- a/config.dev.yaml
+++ b/config.dev.yaml
@@ -60,7 +60,7 @@
# - user-agent
# - x-request-id
restbase_req:
- uri: http://{domain}/api/rest_v1/page/html/{title}
+ uri: http://{domain}/api/rest_v1/page/html/{title}?redirect=false
headers:
user-agent: WMF Mobile Content Service dev
accept: text/html; charset=utf-8;
profile="mediawiki.org/specs/html/1.2.0"
--
To view, visit https://gerrit.wikimedia.org/r/281989
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f8f130ef08acea2b48f731f66b1777407938137
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps
Gerrit-Branch: master
Gerrit-Owner: Mholloway <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits