URLs like http://www.ampbyrahat.com/samples_templates/live_blog/ are not redirected to their https equivalent: $ curl -s -D - http://www.ampbyrahat.com/samples_templates/live_blog/ | head -1 HTTP/1.1 200 OK $ curl -s -D - http://www.ampbyrahatcom/ | head -1 HTTP/1.1 301 Moved Permanently Example 1: RTC specification on an amp-ad <amp-ad width="320" height="50" type="network-foo" data-slot="/1234/5678" rtc-config='{ "vendors": { "vendorA": {"SLOT_ID": "1"}, "vendorB": {"PAGE_ID": "2"}, "vendorC": {"SLOT_W": "320", "SLOT_H": "50"} }, "urls": [ "https://www.AmpPublisher.biz/targetingA", "https://www.AmpPublisher.biz/targetingB" ], "timeoutMillis": 750}'> </amp-ad> The value of rtc-config must conform to the following specification: { "vendors": { "vendor1": { "MACRO_1": "MACRO_VALUE_1", "MACRO_2": "MACRO_VALUE_2" }, "vendor2": { "MACRO_1": "MACRO_VALUE_1", "MACRO_2": "MACRO_VALUE_2" } }, "urls": [ "https://www.rahatA.com/endpoint", {"url": "https://www.rahatB.com/endpoint", "errorReportingUrl":"https://www.rahatB.com/endpoint?e=ERROR_TYPE&h=HREF"}], "timeoutMillis": 500 }
URLs like http://www.ampbyrahat.com/samples_templates/live_blog/ are not redirected to their https equivalent:
$ curl -s -D - http://www.ampbyrahat.com/samples_templates/live_blog/ | head -1
HTTP/1.1 200 OK
$ curl -s -D - http://www.ampbyrahatcom/ | head -1
HTTP/1.1 301 Moved Permanently
Example 1: RTC specification on an amp-ad
The value of rtc-config must conform to the following specification:
{
"vendors": {
"vendor1": {
"MACRO_1": "MACRO_VALUE_1",
"MACRO_2": "MACRO_VALUE_2"
},
"vendor2": {
"MACRO_1": "MACRO_VALUE_1",
"MACRO_2": "MACRO_VALUE_2"
}
},
"urls": [
"https://www.rahatA.com/endpoint",
{"url": "https://www.rahatB.com/endpoint",
"errorReportingUrl":"https://www.rahatB.com/endpoint?e=ERROR_TYPE&h=HREF"}],
"timeoutMillis": 500
}