官术网_书友最值得收藏!

HTTP basics

Two of the most critical structures within web application development are requests and responses. As with most other programs, a web application needs to take inputs, and produce outputs. As HTTP is a stateless protocol, each request made will result in a response message back to the caller. For a web application, the input comes in the form of an HTTP request, and the output as an HTTP response. The net/http package contains data structures that completely model the HTTP protocol message types, which are used by most of the many web frameworks built with Go. In the following diagram, you can see the HTTP request and response protocol data structures:

主站蜘蛛池模板: 揭东县| 新巴尔虎左旗| 依安县| 商丘市| 许昌市| 砚山县| 孝感市| 广宗县| 望谟县| 顺昌县| 托克逊县| 合江县| 应用必备| 洛阳市| 剑河县| 韩城市| 大理市| 偏关县| 岚皋县| 大邑县| 荥阳市| 汤原县| 成都市| 溧阳市| 通江县| 新沂市| 西乌珠穆沁旗| 浙江省| 子洲县| 阿勒泰市| 内江市| 霍林郭勒市| 铜梁县| 北碚区| 筠连县| 揭西县| 平湖市| 辽源市| 余干县| 金寨县| 长沙市|