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
Already Paying for an RMM? Get 50% Off Splashtop AEM Icon
Already Paying for an RMM? Get 50% Off Splashtop AEM

Switch to Splashtop AEM and save up to 50% in your first year

Automated OS and third-party patching for Windows and macOS, CVE prioritization with AI patch summaries, and built-in remote control that also supports Linux. Qualifying organizations switching from another RMM get up to 50% off year one.
Get Started
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