HTTP messages are the foundation of web development. Web browsers and HTTP clients such as cURL create HTTP request messages that are sent to a web server, which provides an HTTP response message. Server-side code receives an HTTP request message, and returns an HTTP response message. HTTP messages are typically abstracted from the end-user consumer, but as developers, we typically need to know how they are structured and how to access or manipulate them in order to perform our tasks, whether that might be making a request to an HTTP API, or handling an incoming request. The first line of a request is the "request line", and contains, in order, the HTTP request method, the request target (usually either an absolute URI or a path on the web server), and the HTTP protocol version.

Features

  • Note that this is not a HTTP message implementation of its own
  • It is merely an interface that describes a HTTP message
  • Case-insensitive header field names
  • Headers are retrieved by name from classes implementing the MessageInterface in a case-insensitive manner
  • Non-conforming HTTP applications may depend on a certain case
  • Request Targets and URIs

Project Samples

Project Activity

See All Activity >

Categories

Communications

License

MIT License

Follow PSR http Message

PSR http Message Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PSR http Message!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Communications Software

Registered

2021-08-31