SlideShare a Scribd company logo
6
Most read
7
Most read
12
Most read
HTTPS REQUEST HEADER
&
HTTPS STATUS CODE
Presented By:
Abhishek.L.R - 161704
T Manoj - 161781
III Sem M.C.A
Aloysius Institute of Management and
Information Technology
Copyright © 2017
What is HTTP & HTTPS :
• HTTP:
Hyper Text Transfer Protocol (HTTP) is a protocol using which hypertext is transferred
over the Web.
• HTTPS:
It’s Similar to HTTP. But cryptographic protocols such as SSL and/or TLS turn http into
https
i.e. https = http + cryptographic protocols
Note :
Compared to HTTP , HTTPS does makes the site bit slower since there is a secured
handshake is required each time
Copyright © 2017
HTTP v/s HTTPS
Copyright © 2017
HTTPS Request Header :
• Request header is used to pass additional information about the request or itself to the
server.
• Request header can be used by client to pass useful information.
• getHeaderNames() and getHeader() methods of javax.servlet.http.HttpServletRequest
interface can be used to get the header information.
Copyright © 2017
SomeImportantRequestHeaders Headers Descriptions
Accept This specifies the certain media types that are acceptable in the response.
Accept-Charset This indicates the character sets that are acceptable in the response.
Accept-Encoding This restricts the content-coding values that are acceptable in the response
Accept-Language This restricts the set of language that are preferred in the response.
Authorization This type indicates that user agent is attempting to authenticate itself with a server.
From This type contains internet email address for the user who controls the requesting user agent.
Host This type indicates internet host and port number of the resource being requested.
If-Modified-Since This type makes GET method condition. Do not return the requested information if it is not modified
since the specified date.
Range This type request one or more sub-range of the entity, instead of the entire entity.
Referrer This type enables client to specify, for the servers benefit, the address(URL) of the resources from which
the Request-URL was obtained.
User-Agent This type contains information about the user agent originating the request.
Copyright © 2017
HTTPS Status Code :
• HTTP response status codes indicate whether a specific HTTP request has been successfully
completed or not.
• Responses are grouped in five classes:
• Informational Responses : 1xx
• Successful Responses : 2xx
• Redirects Responses : 3xx
• Client Errors Responses : 4xx
• Servers Errors Responses : 5xx
Copyright © 2017
Informational Responses ( 1XX)
• It means the request has been received and the process is continuing.
Copyright © 2017
Response Descriptions
100 Continue This interim response indicates that everything so far is OK and that the client
should continue with the request or ignore it if it is already finished.
101 Switching Protocol This code is sent in response to an Upgrade request header by the client, and
indicates the protocol the server is switching too.
102 Processing
(WebDAV)
This code indicates that the server has received and is processing the request, but no
response is available yet.
SUCCESSFUL RESPONSES( 2XX)
• It means the action was successfully received, understood, and accepted.
Response Descriptions
200 OK The request is OK.
201 Created The request is complete, and a new resource is created .
202 Accepted The request is accepted for processing, but the processing is not complete.
203 on authoritative
Information
The information in the entity header is from a local or third-party copy, not from
the original server.
204 No Content A status code and a header are given in the response, but there is no entity-body
in the reply.
205 Reset Content The browser should clear the form used for this transaction for additional input.
206 Partial Content The server is returning partial data of the size requested. Used in response to a request
specifying a Range header. The server must specify the range included in the response
with the Content-Range header.
Copyright © 2017
REDIRECTS RESPONSES ( 3XX)
• It means further action must be taken in order to complete the request.
Response Descriptions
300 Multiple Choices A link list. The user can select a link and go to that location. Maximum five addresses
301 Moved Permanently The requested page has moved to a new URL.
302 Found The requested page has moved temporarily to a new URL .
303 See Other The requested page can be found under a different URL .
304 Not Modified This is the response code to an If-Modified-Since or If-None-Match header, where the
URL has not been modified since the specified date.
305 Use Proxy The requested URL must be accessed through the proxy mentioned in the Location
header.
306 Unused This code was used in a previous version. It is no longer used, but the code is reserved.
307 Temporary Redirect The requested page has moved temporarily to a new URL.
Copyright © 2017
Client Error Responses (4XX)
• It means the request contains incorrect syntax or cannot be fulfilled.
Response Descriptions
400 Bad Request The server did not understand the request.
401 Unauthorized The requested page needs a username and a password.
402 Payment Required You can not use this code yet.
403 Forbidden Access is forbidden to the requested page.
404 Not Found The server can not find the requested page.
405 Method Not Allowed The method specified in the request is not allowed.
406 Not Acceptable The server can only generate a response that is not accepted by the client.
407 Proxy Authentication
Required
You must authenticate with a proxy server before this request can be served.
408 Request Timeout The request took longer than the server was prepared to wait.
Copyright © 2017
Client Error Responses (4XX) Cont.
Response Descriptions
409 Conflict The request could not be completed because of a conflict.
410 Gone The requested page is no longer available .
411 Length Required The "Content-Length" is not defined. The server will not accept the request without it
412 Precondition Failed The pre condition given in the request evaluated to false by the server.
413 Request Entity Too Large The server can not find the requested page.
414 Request-URL Too Long The server will not accept the request, because the URL is too long. Occurs when
you convert a "post" request to a "get" request with a long query information .
415 Unsupported Media type The server will not accept the request, because the media type is not supported .
416 Requested Range Not
Satisfiable
The requested byte range is not available and is out of bounds.
417 Expectation Failed The expectation given in an Expect request-header field could not be met by this
server.
Copyright © 2017
Server Error Responses (5XX) :
Response Descriptions
500 Internal Server Error The request was not completed. The server met an unexpected condition.
501 Not Implemented The request was not completed. The server did not support the functionality
required.
502 Bad Gateway The request was not completed. The server received an invalid response from the
upstream server.
503 Service Unavailable The request was not completed. The server is temporarily overloading or down.
504 Gateway Timeout The gateway has timed out.
505 HTTP Version Not
Supported
The server does not support the "http protocol" version.
• It means the server failed to fulfil an apparently valid request.
Copyright © 2017
THANK YOU
FOR
YOUR
ATTENTION !
ANY QUESTION
Copyright © 2017

More Related Content

What's hot (20)

PPTX
Introduction to Spring Framework
Serhat Can
 
PPTX
Http Protocol
N R Z Malik
 
PDF
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
PDF
REST API and CRUD
Prem Sanil
 
PPTX
Restful web services ppt
OECLIB Odisha Electronics Control Library
 
PDF
Model View Controller (MVC)
Javier Antonio Humarán Peñuñuri
 
PPTX
Understanding REST APIs in 5 Simple Steps
Tessa Mero
 
PPTX
REST API
Tofazzal Ahmed
 
PPTX
Burp Suite Starter
Fadi Abdulwahab
 
PPTX
Introduction to spring boot
Santosh Kumar Kar
 
PPTX
Laravel ppt
Mayank Panchal
 
PPT
MYSQL - PHP Database Connectivity
V.V.Vanniaperumal College for Women
 
PPTX
Web services SOAP
princeirfancivil
 
PPTX
Laravel Tutorial PPT
Piyush Aggarwal
 
PPT
Php mysql ppt
Karmatechnologies Pvt. Ltd.
 
PPSX
HTTP Presentation
Lana Dujanovic
 
PDF
Spring MVC to iOS and the REST
Roy Clarkson
 
PPTX
ASP.NET Web API
habib_786
 
PPTX
Introduction to REST - API
Chetan Gadodia
 
PPTX
Rest API
Rohana K Amarakoon
 
Introduction to Spring Framework
Serhat Can
 
Http Protocol
N R Z Malik
 
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
REST API and CRUD
Prem Sanil
 
Model View Controller (MVC)
Javier Antonio Humarán Peñuñuri
 
Understanding REST APIs in 5 Simple Steps
Tessa Mero
 
REST API
Tofazzal Ahmed
 
Burp Suite Starter
Fadi Abdulwahab
 
Introduction to spring boot
Santosh Kumar Kar
 
Laravel ppt
Mayank Panchal
 
MYSQL - PHP Database Connectivity
V.V.Vanniaperumal College for Women
 
Web services SOAP
princeirfancivil
 
Laravel Tutorial PPT
Piyush Aggarwal
 
HTTP Presentation
Lana Dujanovic
 
Spring MVC to iOS and the REST
Roy Clarkson
 
ASP.NET Web API
habib_786
 
Introduction to REST - API
Chetan Gadodia
 

Similar to HTTP Request Header and HTTP Status Code (20)

PPTX
Web technology Unit-I Part D - message format
SSN College of Engineering, Kalavakkam
 
PDF
HTTP Status Codes Cheat Sheet: An Exhaustive List
Mainstreethost
 
PPTX
BITM3730Week9(1).pptx
MattMarino13
 
PDF
BITM3730 Networking.pdf
MattMarino13
 
PPTX
BITM3730 11-1.pptx
MattMarino13
 
PDF
REST 101: An Overview To Representational State Transfer.
Omar Fernando Zafe
 
PDF
Servlets http-status-codes
Rachana Joshi
 
PPTX
Http Status Message - Pocket Guide
Santhosh Kumar
 
PPTX
Http basics by-joshi_29_4_15-ppt
Qwinix Technologies
 
DOCX
SEO HTTP Response Codes List
Laxman Kotte
 
PPTX
HTTP Status Codes you should know and use while building APIs
BasheerAlMomani
 
PDF
A Simple Guide to Proxy Error and Troubleshooting Issues
X-Byte Enterprise Crawling
 
PPTX
The Top Tips You need to Learn about Data in your Mobile App
Woodruff Solutions LLC
 
PPTX
Module 5.pptx HTTP protocol on optical and wireless communication
chandushivamurthy4
 
PPTX
Http status code 416 vs 428, 503 vs 505
Md. Rakib Trofder
 
PPTX
Rest & RESTful WebServices
Prateek Tandon
 
PPTX
SCWCD : The web client model
Ben Abdallah Helmi
 
PPTX
Rest WebAPI with OData
Mahek Merchant
 
PPTX
SCWCD : The web client model : CHAP : 1
Ben Abdallah Helmi
 
PDF
Great webapis
Rafał Hryniewski
 
Web technology Unit-I Part D - message format
SSN College of Engineering, Kalavakkam
 
HTTP Status Codes Cheat Sheet: An Exhaustive List
Mainstreethost
 
BITM3730Week9(1).pptx
MattMarino13
 
BITM3730 Networking.pdf
MattMarino13
 
BITM3730 11-1.pptx
MattMarino13
 
REST 101: An Overview To Representational State Transfer.
Omar Fernando Zafe
 
Servlets http-status-codes
Rachana Joshi
 
Http Status Message - Pocket Guide
Santhosh Kumar
 
Http basics by-joshi_29_4_15-ppt
Qwinix Technologies
 
SEO HTTP Response Codes List
Laxman Kotte
 
HTTP Status Codes you should know and use while building APIs
BasheerAlMomani
 
A Simple Guide to Proxy Error and Troubleshooting Issues
X-Byte Enterprise Crawling
 
The Top Tips You need to Learn about Data in your Mobile App
Woodruff Solutions LLC
 
Module 5.pptx HTTP protocol on optical and wireless communication
chandushivamurthy4
 
Http status code 416 vs 428, 503 vs 505
Md. Rakib Trofder
 
Rest & RESTful WebServices
Prateek Tandon
 
SCWCD : The web client model
Ben Abdallah Helmi
 
Rest WebAPI with OData
Mahek Merchant
 
SCWCD : The web client model : CHAP : 1
Ben Abdallah Helmi
 
Great webapis
Rafał Hryniewski
 
Ad

Recently uploaded (20)

PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
July Patch Tuesday
Ivanti
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
July Patch Tuesday
Ivanti
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Ad

HTTP Request Header and HTTP Status Code

  • 1. HTTPS REQUEST HEADER & HTTPS STATUS CODE Presented By: Abhishek.L.R - 161704 T Manoj - 161781 III Sem M.C.A Aloysius Institute of Management and Information Technology Copyright © 2017
  • 2. What is HTTP & HTTPS : • HTTP: Hyper Text Transfer Protocol (HTTP) is a protocol using which hypertext is transferred over the Web. • HTTPS: It’s Similar to HTTP. But cryptographic protocols such as SSL and/or TLS turn http into https i.e. https = http + cryptographic protocols Note : Compared to HTTP , HTTPS does makes the site bit slower since there is a secured handshake is required each time Copyright © 2017
  • 4. HTTPS Request Header : • Request header is used to pass additional information about the request or itself to the server. • Request header can be used by client to pass useful information. • getHeaderNames() and getHeader() methods of javax.servlet.http.HttpServletRequest interface can be used to get the header information. Copyright © 2017
  • 5. SomeImportantRequestHeaders Headers Descriptions Accept This specifies the certain media types that are acceptable in the response. Accept-Charset This indicates the character sets that are acceptable in the response. Accept-Encoding This restricts the content-coding values that are acceptable in the response Accept-Language This restricts the set of language that are preferred in the response. Authorization This type indicates that user agent is attempting to authenticate itself with a server. From This type contains internet email address for the user who controls the requesting user agent. Host This type indicates internet host and port number of the resource being requested. If-Modified-Since This type makes GET method condition. Do not return the requested information if it is not modified since the specified date. Range This type request one or more sub-range of the entity, instead of the entire entity. Referrer This type enables client to specify, for the servers benefit, the address(URL) of the resources from which the Request-URL was obtained. User-Agent This type contains information about the user agent originating the request. Copyright © 2017
  • 6. HTTPS Status Code : • HTTP response status codes indicate whether a specific HTTP request has been successfully completed or not. • Responses are grouped in five classes: • Informational Responses : 1xx • Successful Responses : 2xx • Redirects Responses : 3xx • Client Errors Responses : 4xx • Servers Errors Responses : 5xx Copyright © 2017
  • 7. Informational Responses ( 1XX) • It means the request has been received and the process is continuing. Copyright © 2017 Response Descriptions 100 Continue This interim response indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished. 101 Switching Protocol This code is sent in response to an Upgrade request header by the client, and indicates the protocol the server is switching too. 102 Processing (WebDAV) This code indicates that the server has received and is processing the request, but no response is available yet.
  • 8. SUCCESSFUL RESPONSES( 2XX) • It means the action was successfully received, understood, and accepted. Response Descriptions 200 OK The request is OK. 201 Created The request is complete, and a new resource is created . 202 Accepted The request is accepted for processing, but the processing is not complete. 203 on authoritative Information The information in the entity header is from a local or third-party copy, not from the original server. 204 No Content A status code and a header are given in the response, but there is no entity-body in the reply. 205 Reset Content The browser should clear the form used for this transaction for additional input. 206 Partial Content The server is returning partial data of the size requested. Used in response to a request specifying a Range header. The server must specify the range included in the response with the Content-Range header. Copyright © 2017
  • 9. REDIRECTS RESPONSES ( 3XX) • It means further action must be taken in order to complete the request. Response Descriptions 300 Multiple Choices A link list. The user can select a link and go to that location. Maximum five addresses 301 Moved Permanently The requested page has moved to a new URL. 302 Found The requested page has moved temporarily to a new URL . 303 See Other The requested page can be found under a different URL . 304 Not Modified This is the response code to an If-Modified-Since or If-None-Match header, where the URL has not been modified since the specified date. 305 Use Proxy The requested URL must be accessed through the proxy mentioned in the Location header. 306 Unused This code was used in a previous version. It is no longer used, but the code is reserved. 307 Temporary Redirect The requested page has moved temporarily to a new URL. Copyright © 2017
  • 10. Client Error Responses (4XX) • It means the request contains incorrect syntax or cannot be fulfilled. Response Descriptions 400 Bad Request The server did not understand the request. 401 Unauthorized The requested page needs a username and a password. 402 Payment Required You can not use this code yet. 403 Forbidden Access is forbidden to the requested page. 404 Not Found The server can not find the requested page. 405 Method Not Allowed The method specified in the request is not allowed. 406 Not Acceptable The server can only generate a response that is not accepted by the client. 407 Proxy Authentication Required You must authenticate with a proxy server before this request can be served. 408 Request Timeout The request took longer than the server was prepared to wait. Copyright © 2017
  • 11. Client Error Responses (4XX) Cont. Response Descriptions 409 Conflict The request could not be completed because of a conflict. 410 Gone The requested page is no longer available . 411 Length Required The "Content-Length" is not defined. The server will not accept the request without it 412 Precondition Failed The pre condition given in the request evaluated to false by the server. 413 Request Entity Too Large The server can not find the requested page. 414 Request-URL Too Long The server will not accept the request, because the URL is too long. Occurs when you convert a "post" request to a "get" request with a long query information . 415 Unsupported Media type The server will not accept the request, because the media type is not supported . 416 Requested Range Not Satisfiable The requested byte range is not available and is out of bounds. 417 Expectation Failed The expectation given in an Expect request-header field could not be met by this server. Copyright © 2017
  • 12. Server Error Responses (5XX) : Response Descriptions 500 Internal Server Error The request was not completed. The server met an unexpected condition. 501 Not Implemented The request was not completed. The server did not support the functionality required. 502 Bad Gateway The request was not completed. The server received an invalid response from the upstream server. 503 Service Unavailable The request was not completed. The server is temporarily overloading or down. 504 Gateway Timeout The gateway has timed out. 505 HTTP Version Not Supported The server does not support the "http protocol" version. • It means the server failed to fulfil an apparently valid request. Copyright © 2017
  • 13. THANK YOU FOR YOUR ATTENTION ! ANY QUESTION Copyright © 2017

Editor's Notes

  • #5: HTTP header fields provide required information about the request or response, or about the object sent in the message body. There are four types of HTTP message headers: General-header: These header fields have general applicability for both request and response messages. Client Request-header: These header fields have applicability only for request messages. Server Response-header: These header fields have applicability only for response messages. Entity-header: These header fields define meta information about the entity-body or, if no body is present, about the resource identified by the request.