I just finished reading the URL against the URI and URN under more concise conditions , and it really helped to understand the difference between the three conditions. Since then, I have removed the RFC2141 and RFC2616 specifications and the Microsoft Response.Redirect Method to answer the next question with confidence.
Given this line of code:
Response.Redirect("~/Foo.aspx");
And this HTTP response result (cropped for context):
Status = Found - 302 Date = Wed, 24 Nov.2010 17:27:58 GMTServer = Microsoft-IIS / 6.0X-Powered-By = ASP.NETX-Network NAS-Version = 2.0.50727Location = / MyWebApp / Foo.aspx
Which name (s) most correctly describes what was placed in the Location heading?
URL? URI? Urn? URC? What is it?
This is a relative URI.
This is also a URL, because it can be used in this context to search for a resource, as well as to identify it, but in fact it makes little sense to talk about URLs these days - the difference is rather a matter of what you do with it that it is in itself, and the URL is always a URI.
. ( ) - URI, , ( ) , (: request:: protocol, browser:: request:: domain, response:: locationHeader) URL-, .
Url, ~/ ( "http" ) , Location Uri.
~/
~//MyWebApp/Foo.aspx, , HTTP; , , - , - URL-, http://.
URL- URL-. ~/, URL-, ~/foo.aspx, IIS.
Source: https://habr.com/ru/post/1776743/More articles:The problem with the thinking of the Sphinx and regions - ruby-on-railsCombiner function in python stream hadoop - pythonЕсть ли способ перечислить все вызовы и жестко заданные строковые параметры метода из сборки .Net? - reflectionReportViewer - ReportParameter - namespace WinForms vs WebForms - reportviewerHow to track where the appearance of the accessory on the right callout is when it was used - objective-cCheck for flowLayoutPanel in C # - nullI get a StackOverflowException error in my nested class with given function of C # property - c #Scan string containing spaces in C - cWebBrowser SetAttribute does not work (Password field) - c #Display and retrieve QMessageBox result from outside QObject - qtAll Articles