Questions tagged [http]

HTTP stands for Hyper Text Transfer Protocol and is the protocol used to transfer information around the World Wide Web.

HTTP is just one communications protocol on the web. Others include:

  • Transmission Control Protocol (TCP)
  • User Datagram Protocol (UDP)
  • Internet Control Message Protocol (ICMP)
  • Post Office Protocol (POP3)
  • File Transfer Protocol (FTP)
  • Internet Message Access Protocol (IMAP)

HTTP on Wikipedia

2255 questions
71
votes
4 answers

Is there a maximum size for content of an HTTP POST?

Is there a maximum size for an HTTP POST? And if there is a max size, is it determined by the protocol or is it at the discretion of the server?
user11480
14
votes
2 answers

What happens when a HTTP request is terminated prematurely?

Suppose, I enter a URL in my browser and browser submits the HTTP request. The remote HTTP server accepts the request and initiates a long task to serve the request. If I terminate the request before it is complete (for example, press Esc or in…
Gowtham
  • 243
  • 1
  • 2
  • 5
13
votes
1 answer

HTTP header for indicating originating server behind load balancer

For debugging purposes, we would like to configure our pool of load balanced web servers to output an HTTP header identifying the "true" server which served the request. However, we don't know what header name this should be! Is there any…
6
votes
2 answers

How to disable HTTP 1.0 protocol in Apache?

HTTP 1.0 has security weakness related to session hijacking. Is there a way to disable it by using the mod_rewrite module?
syam
  • 198
4
votes
2 answers

User HTTP requests coming from multiple IP Addresses

I'm just looking through our web logs and noticed a user who logs in and appears to be using two different IP addresses as he browses the website. ie. some of the request for images and scripts come from a different IP to the one that requested the…
Dan
  • 531
4
votes
2 answers

If-Modified-Since vs. If-None-Match

The usual browser conditional request looks like this: GET /i/yahoo.gif HTTP/1.1 Host: us.yimg.com If-Modified-Since: Tue, 12 Dec 2006 03:03:59 GMT If-None-Match: "10c24bc-4ab-457e1c1f" HTTP/1.1 But what is the relation between If-Modified-Since…
3
votes
2 answers

How do I block malicious HTTP request?

since few days, someone is sending thousands of request to a wordpress website hosted on my webserver. A generic log line for this request is: 60.173.10.250 - - [23/Nov/2013:18:24:46 +0100] "GET /archivio/mgilbert/ HTTP/1.0" 200 24758…
Zagorax
  • 329
2
votes
3 answers

HTTP pipelining: producing response before request body has finished

I know that it is possible for a HTTP client to send the next request on a TCP connection even if it had not received the responses for its previous requests - this is called HTTP pipelining. However, is it acceptable for a HTTP server to start…
2
votes
3 answers

What HTTP methods does the server typically use in a response (if any)

I understand what HTTP requests look like from the client side, but what I am curious about is what methods does the server use to serve pages back? Client: GET /index.html HTTP/1.1 Host foo.com:80 Server: Does it perform an HTTP PUT of index.html…
2
votes
1 answer

Why httpd running as root and the rest as apache in ps -aux?

When I do ps -aux, why do I have one copy of httpd running as root and the rest as apache? ps -aux | grep httpd Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ root 2820 0.0 1.1 126740 13372 ? Ss 10:23 …
Mughil
  • 1,949
2
votes
1 answer

How to represent a Reverse Proxy in a diagram?

I'm putting together a diagram to represent the proposed flow of HTTP traffic after we make some architectural changes. One of the proposals includes adding a reverse proxy. Is there a recognizable way to represent traffic routing through a reverse…
hemp
  • 361
2
votes
2 answers

casesensitive url’s on linux server

i have moved my html only (not dinamic site) from windows server to linux server now i've problem with casesensitive url's. for example: i've a file named "Test.htm" and i can't access the file when i type "test.htm" .. i've tried to modify…
2
votes
0 answers

Is there a maximum size for content of an HTTP GET for both request and response?

Is there a maximum size for an HTTP GET? And if there is a max size, is it determined by the protocol or is it at the discretion of the server? Is there a maximum size for content of an HTTP POST?
Pingpong
  • 121
1
vote
1 answer

Do HTTP/1.1 persistent connections timeout?

It is my understanding that HTTP/1.1 persistent connections stay open until the client closes them (via a close request header). If this header is not present, does the host close this connection after a set period of time (timeout) if no further…
b73
  • 141
1
vote
2 answers

How can I find out what http code is returned on a website redirect?

There is a website when you visit certain links it redirects you to another site. Is there any way I can find out what HTTP code is returned before they redirect you?
1
2