zoukankan      html  css  js  c++  java
  • http header/ eclipse package path

    1. request:

    Method URI Protocol / Version

    Request headers

    Entity body

    eg:

    POST /servlet/default.jsp HTTP/1.1

    Accept: text/plain; text/html

    Accept-Language: en-gb

    Connection: Keep-Alive

    Host: localhost

    Referer: http://localhost/ch8/SendDetails.htm

    User-Agent: Mozilla/4.0***

    Content-Length: 33

    Content-Type: application/x-www-form-urlencoded

    Accept-Encoding: gzip, deflate

    LastName=Franks&FirstName=Michael

    [null line- CRLF]

    [body]

    2. Response

    Protocol Status code-Description

    Response headers

    Entity body

    eg:

    HTTP/1.1 200 OK

    Server: Microsoft-IIS/4.0

    Date: Mon, 3 Jan 1998 13:13:33 GMT

    Content-Type: text/html

    Last-Modified: Mon, 11 Jan 1998 13:23:42 GMT

    Content-Length: 112

    something in html style...........

    [null line- CRLF]

    [body]

    open ".classpath" file, modify "src" value to "src/main/***", it will correct on project 

  • 相关阅读:
    浅谈代理
    AFN
    网络请求
    Socket
    几种加密方式
    8种传值方式
    swift属性观察者机智
    Swift 字符串的分割
    Xcode 所有版本
    Error Domain=ALAssetsLibraryErrorDomain Code=-3310 "数据不可用" .......
  • 原文地址:https://www.cnblogs.com/tiechui/p/1904750.html
Copyright © 2011-2022 走看看