Found 54 Articles for HTTP

Difference between REST API and SOAP API

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

12K+ 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

Nitin Sharma
Updated on 18-Sep-2019 14:23:53

5K+ Views

In brief, it can be defined as Servlet are the java programs that run on a Web server and act as a middle layer between a request coming from HTTP client and databases or applications on the HTTP server.While JSP is simply a text document that contains two types of text: static text which is predefined and dynamic text which is rendered after server response is received.The following are the important differences between ArrayList and HashSet.Sr. No.KeyServletJSP1ImplementationServlet is developed on Java language.JSP is primarily written in HTML language although Java code could also be written on it but for it, ... 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

252 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

10K+ 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