Found 55 Articles for HTTP

Difference between Static and Dynamic Web Pages

Kiran Kumar Panigrahi
Updated on 22-Aug-2022 14:47:22

20K+ Views

When we surf the Internet, a two-way communication takes place between our web browser (client) and a web server (server). To regulate this communication, there are some protocols among which the most common one is the HTTP protocol, where the browser sends an HTTP request to the server and then the server returns an HTTP response to the browser.On the basis of the type of response sent to the browser, we can classify the webpages into two categories: Static webpage and Dynamic webpage.Read through this article to find out more static and dynamic webpages and how they are different from ... Read More

Difference between REST API and SOAP API

Mahesh Parahar
Updated on 24-Feb-2020 10:45:49

13K+ Views

As we know that each machine understand and deals in its different language or input so web-services are something which are required for inter communication between machines and to exchange data between them. In order to implement some set of restrictions over their communication some set of rules and regulations are defined which are known as web-services which basically defines the format and type of data that need to be exchanged and specifically a contract which both machines should be aware of before taking part in communication.This communication system can be categorized into two types, namely Simple Object Access Protocol ... Read More

Difference between Servlet and JSP

Aishwarya Naglot
Updated on 14-Nov-2024 10:41:35

7K+ Views

Both Servlets and JSP are used in web development. The Servlets handle the logic (processing our requests and interacting with databases), and JSPs handle the presentation (displaying dynamic content on the web page). By separating the logic and presentation, our web applications become more manageable and scalable. In brief, we can think of Servlets as Java programs that run on a web server. They work as the middle layer between a request from an HTTP client (like a browser) and databases or applications on the server. When we send a request to a server, the Servlet processes that request, and ... Read More

What are important HTTP headers to be frequently used in Python CGI Programming?

Rajendra Dharmkar
Updated on 16-Jun-2020 12:25:28

354 Views

HTTP HeaderThe line Content-type:text/html\r\r is part of HTTP header which is sent to the browser to understand the content. All the HTTP header will be in the following form −HTTP Field Name − Field ContentFor ExampleContent-type − text/html\r\rThere are few other important HTTP headers, which we will use frequently in our CGI Programming.     Sr.No.HeaderDescription1Content-type:A MIME string defining the format of the file being returned. Example is Content-type:text/html2Expires: DateThe date the information becomes invalid. It is used by the browser to decide when a page needs to be refreshed. A valid date string is in the format 01 Jan 1998 ... Read More

What is the maximum size of HTTP header values?

Nancy Den
Updated on 16-Jun-2020 12:05:15

12K+ Views

Most web servers have their own set of size limits on HTTP request headers. The HTTP Header values are restricted by server implementations. The following are the limits of some of the most popular web servers −Web ServerSize LimitApache8KNginx4K-8KIIS8K-16KTomcat8K – 48KIf the header size exceeds the above limit, the server returns 413 Entity Too Large error.

Advertisements