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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
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