protocol-relative Questions

7

Solved

Dave Ward says, It’s not exactly light reading, but section 4.2 of RFC 3986 provides for fully qualified URLs that omit protocol (the HTTP or HTTPS) altogether. When a URL’s protocol is omitted, t...
Arborvitae asked 28/1, 2011 at 18:29

3

Solved

Is anyone aware of whether it is problematic to use protocol relative URLs for an image source to prevent mixed content security warnings. For example linking an image like: <img src="//domai...
Hammer asked 29/11, 2010 at 12:21

3

Solved

Is it correct to statically set up Microdata’s itemtype attribute with HTTP value (http://schema.org/WebPage) on HTTPS pages or do I need to use HTTPS value (https://schema.org/WebPage) on all page...
Martian asked 24/11, 2014 at 10:50

14

Solved

I have the following element: <script type="text/javascript" src="https://cdn.example.com/js_file.js"></script> In this case the site is HTTPS, but the site may also be just HTTP. (T...
Elodiaelodie asked 15/2, 2009 at 0:15

4

Solved

Lately I saw working code-blocks like this: <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> And according to RFC 2396 (URI S...
Lauro asked 1/11, 2010 at 16:56

1

Make an app with UIWebView which open a webpage with protocol-relative styles & images, such as <img src="//example.com/image.png"> (examples for http or https). Override the page loadin...
Aphid asked 24/9, 2015 at 13:55

2

Solved

When I use the following code in my .scss file @import url('//fonts.googleapis.com/css?family=SomeFont:400,700,400italic'); the SASS parser I use (nodejs gulp-sass) happily downloads the file ...
Turgot asked 14/8, 2015 at 2:24

3

Solved

I saw the //somepage.com/resource url format. For example: <img src="//remotesite.com/image1.jpg" /> The point of this is that if the current page (the page defining the img tag) is using ...
Galenism asked 12/2, 2011 at 13:15

2

Solved

So consider a protocol-relative URL like so; //www.example.com/file.jpg The idea I've had in my head for as long as I can remember is that protocol-relative URLs are in fact absolute URLs. They be...
Pious asked 22/3, 2013 at 23:28

2

Solved

Why using <link href="//something.com/style.css" rel="stylesheet"> instead of using http:// or https:// before the domain name? If we use href=// does it changes with link? Like while...
Fibril asked 22/1, 2014 at 20:14

2

Solved

Scheme relative URLs (network-path references) are something that I've just found out about - where you don't specify the scheme of a URL and it picks it up from the current context. For example: &...
Cadge asked 27/8, 2010 at 10:1

2

I note in the PHP manual which states the following: HTTP/1.1 requires an absolute URI as argument to » Location: including the scheme, hostname and absolute path, but some clients accept rela...
Chery asked 15/9, 2012 at 10:40

1

Possible Duplicate: Absolute URLs omitting the protocol (scheme) in order to preserve the one of the current page I recently noticed that the embed codes for the "like" and "tweet" bu...
Knout asked 1/12, 2011 at 15:34

1

Solved

More and more, began to notice that the links in the source code on Web sites begin with two slashes. For example: <a href="//example.com/1.png">Image</a> Why do it?
Menefee asked 1/9, 2011 at 16:44
1

© 2022 - 2024 — McMap. All rights reserved.