URL

作者: Zihowe | 来源:发表于2017-08-03 09:52 被阅读5次

    URL is an acronym for Uniform Resource Locator and is a reference (an address) to a resource on the Internet.

    A URL has two main components:
    Protocol identifier: For the URL http://example.com/foo, the protocol identifier is http.
    Resource name: For the URL http://example.com/foo, the resource name is example.com.

    example.com 是为了connection,而foo是个path,它才是request的对象


    Reference:
    https://en.wikipedia.org/wiki/URL
    https://docs.oracle.com/javase/tutorial/networking/urls/definition.html
    https://en.wikipedia.org/wiki/Query_string

    相关文章

      网友评论

          本文标题:URL

          本文链接:https://www.haomeiwen.com/subject/hsiulxtx.html