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