Added by Shahar Evron, last edited by Shahar Evron on Jul 31, 2007  (view change) show comment

Labels

 
(None)

This page is to be used as a scratch pad for possible Zend_Http_* classes related ideas and changes.

General Architecture

  • Share Zend_Http_Response with Zend_Http_Server
    • Create a Zend_Http_Message abstract class
    • Two inheriting classes:
      • Zend_Http_Request (generated by the client, parsed by the server)
      • Zend_Http_Response (generated by the server, parsed by the client)
  • On the same note: Create a standalone Zend_Http_Request class which can be used to send single requests (through an adapter) and a Zend_Http_Client which will be used as a larger, more feature rich HTTP client supporting features like redirection handling, cookie stickiness, digest authentication, consecutive requests with the same features (Accept headers etc.) etc.

Adapters

  • Finish the Curl adapter (??)
  • Create Zend_Http_Client_Adapter_PSocket - persistent sockets adapter (??)

Additional Features