Skip to main content

HTTP

  • Chapter
  • First Online:
Pro Node.js for Developers
  • 2799 Accesses

Abstract

The Hypertext Transfer Protocol, or HTTP, drives the Web. HTTP is a stateless, text-based protocol that works on top of TCP. An encrypted version of HTTP, named HTTP Secure, or HTTPS, is also commonly used when dealing with sensitive data. HTTP is a request-response protocol that is implemented using the client-server programming model discussed in Chapter 10. Traditionally, a browser is used as the client in an HTTP transaction, but you’ll see that this is not always the case. When a browser navigates to a given URL, an HTTP request is made to the server that hosts the URL. As you learned in Chapter 10, this request is normally made on TCP port 80 (or 443 if HTTPS is in use). The server processes the request and then responds to the client. This is how HTTP works at a very high level. This chapter takes a deeper dive into HTTP in the Node.js world.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Colin J. Ihrig

About this chapter

Cite this chapter

Ihrig, C.J. (2013). HTTP. In: Pro Node.js for Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5861-2_11

Download citation

Publish with us

Policies and ethics