Questions tagged [http]

All about programs and services that use the Hypertext Transfer Protocol.

The Hypertext Transfer Protocol (HTTP) is a protocol that is ubiquitous on the Internet. All web traffic is transferred by HTTP, but HTTP is also used for web services. HTTP follows a simple request-response paradigm, and since HTTP is a stateless protocol, individual requests are not correlated. In order to introduce state, mechanisms like cookies need to be used.

Web servers operate typically on TCP port 80, web proxies operate typically on TCP port 8080. However, this is pure convention, HTTP can be run on ports with any port number. In this case the browser must be told to use the alternative port number by including the port number into the URL.

HTTP that is tunnelled through / is called and usually served on TCP port 443. Beyond that HTTPS is identical to HTTP.

Use this tag for questions on programs and services that use HTTP. For questions specific to web servers the Server Fault Stack Exchange is probably more appropriate.

311 questions
1
vote
0 answers

Restricting HTTP requests for users

Is it possible to restrict a users upload on a desktop linux machine (debian) so the user can only do HTTP requests with max X amount of bytes? It would be to prevent the user to upload any type of files from the computer to any server on the…
dan-klasson
  • 127
  • 1
  • 8
1
vote
2 answers

What is the easiest way to set up a HTTP request logger

What is the easiest way to set up something locally to listen for GET requests on a custom port? So that I could do curl -X GET -i 'localhost:34331/hello' And verify that the request was received and inspect the request to look at the headers if any…
1
vote
1 answer

"Conflicting versions" error while running eggdrop

I'm getting this error while running the eggdrop bot, while loading the http.tcl script: conflicting versions provided for package "http": 2.7.5, then 2.5.2 How do I fix this?
user6112
0
votes
0 answers

Is it real to redirect http request like this?

e.g. Main server runs nginx and checks http request hostname. If hostname matches exampleX.com - redirects to needed local server with its own nginx on board. Local server returns page content. Is it real and how can i build this?
0
votes
1 answer

HTTP status code for deprecated URL

I'd like to migrate a URL to a new URL. Because I want to do it properly, I'm thinking of using the 301 status code plus the new URL in the headers. However, I also plan to disable the old URL completely, so eventually, it will become 401, as…
zakmck
  • 143