摘 要: 超文本传输协议(HTTP)是分布式、协作和超媒体信息系统的应用协议。HTTP Server是一个监听特定端 口TPC连接,对客户端请求进行处理的一个应用。得益于高级语言对HTTP协议的内置支持,我们也可以使用简单的方 式来实现一个较完整功能的HTTP Server。本文主要是研究一个HTTP Server的简单实现,在实现的过程中,能够体 现出POST、GET方法,现已将要求完成,本文一共分为三个章节,分别对于此次设计进行阐述。 |
关键词: 超文本传输协议服务;万维网;外部应用程序 |
中图分类号: TP393.0
文献标识码: A
|
基金项目: 国家自然科学基金(No.60970016);国家自然科学基金(NO.61173032)天津市自然科学基金(No.11JCYBJC00800). |
|
Design and Implementation of the Simple HTTP Server |
ZHOU Chang,WANG Ze
|
(School of Computer Science and Software, Tianjin University of Technology, Tianjin 300387, China )
|
Abstract: The Hypertext Transfer Protocol(HTTP)is an application protocol for distributed,collaborative,and hypermedia information systems.HTTP Server is an application to monitor the TPC connection of a specific port and handle requests from the client.Thanks to the built-in support for the high-level language HTTP protocol,we can also use a simple method to implement a HTTP Server with complete functionality.This paper focuses on a simple implementation process of a HTTP Server,during which,the POST and GET methods has been completed.The paper is divided into three chapters,elaborating on the design and implementation. |
Keywords: HTTP server;world wideweb;external applications |