Questions tagged [http-protocols]

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. It is a protocol to transfer or exchange hyper text

The Hypertext Transfer Protocol is an application-level protocol for distributed, collaborative, hypermedia information systems. It is a stateless protocol that can be used for name servers and distributed object management systems, through extension of its request methods, error codes and headers.

HTTP concepts include (as the Hypertext part of the name implies) the idea that files can contain references to other files whose selection will elicit additional transfer requests. Any Web server machine contains, in addition to the Web page files it can serve, an HTTP daemon, a program that is designed to wait for HTTP requests and handle them when they arrive. For example, when you enter a URL

enter image description here

in your browser, this actually sends an HTTP command to the Web server directing it to fetch and transmit the requested Web page.

HTTP has been in use since 1990.

There are three basic features that make HTTP a simple but powerful protocol:

  • HTTP is connectionless: The HTTP client, i.e., a browser initiates an HTTP request and after a request is made, the client disconnects from the server and waits for a response. The server processes the request and re-establishes the connection with the client to send a response back.

  • HTTP is media independent: It means, any type of data can be sent by HTTP as long as both the client and the server know how to handle the data content. It is required for the client as well as the server to specify the content type using appropriate MIME-type.

  • HTTP is stateless: As mentioned above, HTTP is connectionless and it is a direct result of HTTP being a stateless protocol. The server and client are aware of each other only during a current request. Afterwards, both of them forget about each other. Due to this nature of the protocol, neither the client nor the browser can retain information between different requests across the web pages.

More reading : https://www.w3.org/Protocols/rfc2616/rfc2616.html
Image Reference : http://code.tutsplus.com

54 questions
0
votes
1 answer

Tor ControlPort Access - Security Concerns?

If I enable my Tor Control Port 9051 to allow all localhost connections to send signals and modify tor, what security risk do I run? It is suggested I require password authentication for control port access but SAY I DONT, or cant -Generating tor…
N. Howey
  • 119
  • 7
0
votes
1 answer

Verifying that send data is in HTTP (1.0 and 1.1) protocol

I'm trying to write a server in python 2.7 which receives and verifies that the client uses HTTP protocol (either 1.1 or 1.0 but a support has to be given for both). How can I verify that the client is sending "a correct" protocol (either 1.0 or…
Danis Fischer
  • 375
  • 1
  • 7
  • 27
0
votes
1 answer

AJAX Request and Simple Request

Should a ajax Request obey the rule: one request , one response; What is the essential differences between ajax request and simple request for HTTP Protocol?
Louis
  • 9
  • 2
0
votes
2 answers

Does 302 redirect supports method forwarding?

We have a shortcut service in my company which basically provides redirection of short aliases to full URLs. The server runs a simple http redirection (302) service which uses the Host request header to a do a lookup with a file system based…
JSS
  • 2,061
  • 1
  • 20
  • 26
0
votes
2 answers

How to extract Data from a multipart Http Request?

I am writing a HTTP Webserver. My server has to handle Http multipart requests. In my previous implementation, I was extracting the data with the help of content length header present in every part of request. The client which I was using give…
vijay053
  • 822
  • 3
  • 18
  • 36
0
votes
2 answers

NSMutableURLRequest http status code 413

I have a web service. I use it to accept a base 64 string representation of a small (thumbnail size) image. This web service works awesome when using it with Fiddler and manually posting the request. When I run the same request with…
jdb1a1
  • 1,045
  • 1
  • 13
  • 32
-1
votes
2 answers

Derive protocol from url

I do have a list of urls such as ["www.bol.com ","www.dopper.com"]format. In order to be inputted on scrappy as start URLs I need to know the correct HTTP protocol. For example: ["https://www.bol.com/nl/nl/", "https://dopper.com/nl"] As you see the…
A.Papa
  • 486
  • 2
  • 8
  • 20
-1
votes
1 answer

Need help about @Get @Post @Put @Delete in Restful webservice

I need your help and advice. This is my first project in jersey. I don't know much about this topic. I'm still learning. I created my school project. But I have some problems on the web service side. Firstly I should explain my project. I have got 3…
DylanSt
  • 29
  • 5
-4
votes
2 answers

Is it possible to connect a computer using HTTP Protocol?

Let us see I have a GSM Modem connected to a computer that having a valid Static IP Address. Now as a PHP Developer i want to connect to that computer and have to listen the COM1 port. This is what exactly i'm looking for. Is this possible ?
Radhakrishna Rayidi
  • 510
  • 2
  • 9
  • 24
1 2 3
4