Commit Graph

  • 3f5e2321d9 Transmitter provides Content-length header without external class. Transmitter no longer alters the body for HEAD requests. PJ Dietz 2015-05-14 07:51:28 -0400
  • 1be4ff7691 Router uses only the request's path for routing PJ Dietz 2015-05-13 21:52:55 -0400
  • 3b18d1dcdb Router reads path variables from route and adds them to request before dispatching route PJ Dietz 2015-05-13 21:35:36 -0400
  • 6232f67b9c Update RouteInterface and routes PJ Dietz 2015-05-13 21:17:07 -0400
  • 61fd0f3354 TemplateRoute more throughly implements URI Templates as defined in RFC 6570 PJ Dietz 2015-05-13 18:49:49 -0400
  • 1bb93434b2 Store variables from URI as uriVariables attributes PJ Dietz 2015-05-12 17:56:15 -0400
  • 22a17e42bb Update Route docblocks PJ Dietz 2015-05-12 17:44:28 -0400
  • 297e985e84 DispatchStack calls $next only when the stack runs to the end. PJ Dietz 2015-05-12 07:54:11 -0400
  • 26a6a25d3b Rename Server::makeRouter to Server::createRouter PJ Dietz 2015-05-11 15:39:12 -0400
  • e3083609db Remove fork of psr/http-message from composer.json PJ Dietz 2015-05-11 15:27:18 -0400
  • 75ddf6fa9c Remove extra assertions in Message tests PJ Dietz 2015-05-10 20:55:14 -0400
  • 14a7a1bd17 Add @group message PJ Dietz 2015-05-10 20:25:14 -0400
  • 9cc08bb875 Remove HttpExceptions from Composer PJ Dietz 2015-05-10 20:24:35 -0400
  • 64eb5aecdd Rename Responding\Responder Transmission\Transmitter PJ Dietz 2015-05-10 20:17:26 -0400
  • 0f9c5079f9 Add Server PJ Dietz 2015-05-10 18:58:08 -0400
  • 67d562b3bc Responder::respond process responses for Content-length header and HEAD requests PJ Dietz 2015-05-10 18:28:13 -0400
  • b198e83d55 Add Responder namespace PJ Dietz 2015-05-10 16:59:50 -0400
  • 7874484c53 Remove HttpExceptions PJ Dietz 2015-05-10 16:50:21 -0400
  • f849a6ff89 Router optionally takes a DispatcherInterface on construction PJ Dietz 2015-05-10 14:32:43 -0400
  • 3811b9085f Dispatcher creates DispatchStack for array PJ Dietz 2015-05-10 13:53:15 -0400
  • 3786cfaade Passing array to Router::register as middleware creates a DispatchStack PJ Dietz 2015-05-10 12:15:39 -0400
  • 6507028dd3 Pass DispatchProvider to Router on construction PJ Dietz 2015-05-10 12:04:36 -0400
  • 37af085ec5 Pass DispatcherInterface to RouteFactory on construction PJ Dietz 2015-05-10 11:46:51 -0400
  • 87caa09b61 Pass DispatcherInterface into MethodMap on construction PJ Dietz 2015-05-10 11:41:02 -0400
  • 94d6cc23b2 Add DispatchProviderInterface PJ Dietz 2015-05-10 11:31:19 -0400
  • ec091b34c4 Fix paths and namespaces for Dispatching tests PJ Dietz 2015-05-10 11:25:02 -0400
  • 8071b0b5db Move MiddlewareInterface to the root namespace. PJ Dietz 2015-05-10 11:21:55 -0400
  • bbb138996a Add Dispatching namesapce PJ Dietz 2015-05-10 11:02:59 -0400
  • 560b1e8ff0 Add DispatchStack PJ Dietz 2015-05-10 10:30:22 -0400
  • 2adcbd8636 Remove Router and rename RouteMap to Router PJ Dietz 2015-05-09 20:20:43 -0400
  • b0db3cbcdd MethodMap::dispatch calls $next even on failure PJ Dietz 2015-05-09 20:20:17 -0400
  • 9470f90ee2 RouteMap::dispatch calls $next even on failure PJ Dietz 2015-05-09 20:20:06 -0400
  • c1a104af4f Update HeadHook PJ Dietz 2015-05-09 20:11:10 -0400
  • 06f694154c Update ContentLengthHook PJ Dietz 2015-05-09 19:05:53 -0400
  • 5a01d20f8e Update RouteMap to match updated MiddlewareInterface PJ Dietz 2015-05-09 18:51:58 -0400
  • 36263ba3de Update routes to match new MiddlewareInterface PJ Dietz 2015-05-09 18:36:04 -0400
  • 72767b74e8 Rename MethodMap::setMethod to ::register PJ Dietz 2015-05-09 17:56:13 -0400
  • d8352e71d9 Update MethodMap to match new MiddlewareInterface PJ Dietz 2015-05-09 17:53:25 -0400
  • a0e4ace6a5 Update Dispatcher PJ Dietz 2015-05-09 17:22:38 -0400
  • 8874827524 Change MiddlewareInterface signature PJ Dietz 2015-05-09 17:20:31 -0400
  • 1d30fcbbba Remove RouteTable, revise RouteFactory, PJ Dietz 2015-05-08 01:03:07 -0400
  • 09ea17d349 Update TemplateRoute PJ Dietz 2015-05-08 00:25:15 -0400
  • 8f4165cdb6 Revise RegexRoute PJ Dietz 2015-05-07 23:56:47 -0400
  • cfcc3b9690 Revise PrefixRoute PJ Dietz 2015-05-07 23:30:42 -0400
  • 86d36e8c15 Revise StaticRoute PJ Dietz 2015-05-07 23:21:23 -0400
  • 58b5107289 Revise Route PJ Dietz 2015-05-07 23:14:48 -0400
  • 7a53a02c5f RouteMap: Remove check for captures (push this into regex route's dispatch) PJ Dietz 2015-05-07 22:49:39 -0400
  • 1a49a4ac6c RouteMap routes patterns PJ Dietz 2015-05-07 22:01:11 -0400
  • d5eb044169 Begin RouteMap PJ Dietz 2015-05-07 21:36:35 -0400
  • 66319218cb Test Router's default finalization hooks and sequence in which router dispatches middleware PJ Dietz 2015-05-07 19:36:33 -0400
  • 9915dffcfc Update finalization hooks. PJ Dietz 2015-05-07 18:23:44 -0400
  • ccbe8bb2e0 Rework MethodMap PJ Dietz 2015-05-07 08:10:38 -0400
  • 7cbbe6d7c5 Revise DispatchterTest PJ Dietz 2015-05-07 07:38:32 -0400
  • ec7dceac98 Rework Router PJ Dietz 2015-05-06 18:58:46 -0400
  • 9083f2a444 Rewrite RouterTest PJ Dietz 2015-05-03 19:38:16 -0400
  • 121b8be044 Add response preparation hooks to Router PJ Dietz 2015-05-03 19:38:04 -0400
  • b523f2e79d Remove copy-paste comment from ServerRequestTest PJ Dietz 2015-05-03 19:37:25 -0400
  • 147ddd0539 Add ContentLengthPrep PJ Dietz 2015-05-03 17:37:32 -0400
  • 559044a82f Add HeadPrep PJ Dietz 2015-05-03 16:54:03 -0400
  • e1058a4132 Remove sublcass from ServerRequestTest PJ Dietz 2015-05-02 16:07:15 -0400
  • 8462e2effc Style, documentation, and test name updates PJ Dietz 2015-05-02 15:15:13 -0400
  • f98ee59e4a Refactor validation for withUploadedFiles PJ Dietz 2015-05-02 13:46:32 -0400
  • 81055c3bd9 Update ServerRequest:: addUploadedFilesToBranch to allow associate array at last level of $_FILES PJ Dietz 2015-05-02 13:27:38 -0400
  • a93b37a548 Update UploadedFile's tests for SAPI and use of *_uploaded_file functions PJ Dietz 2015-05-02 10:11:08 -0400
  • 257f2b7610 Update uploaded file functionality in ServerRequest PJ Dietz 2015-04-30 22:10:40 -0400
  • b76883c9e9 Update reading $_FILES to UploadedFiles to conform to updates to PSR-7 PJ Dietz 2015-04-30 20:45:26 -0400
  • adf8def961 Update docblocks for Message namespace PJ Dietz 2015-04-29 21:09:05 -0400
  • 086b09db4f Changes to match updates to PSR-7 in progress PJ Dietz 2015-04-29 18:32:13 -0400
  • 2e7783d19d Message::getHeaderLine returns an empty string when the header is not set. PJ Dietz 2015-04-29 07:42:40 -0400
  • 5eb30ccafb Rename UploadedFile::move to moveTo PJ Dietz 2015-04-29 07:21:56 -0400
  • dc2aecf3ff Add Composer alias for psr/http-message fork. PJ Dietz 2015-04-29 07:21:29 -0400
  • af9fbf9c50 Refactor constructor parameters for headers and body to Message PJ Dietz 2015-04-27 11:46:36 -0400
  • cee55cada0 Add parameters for Request::__construct PJ Dietz 2015-04-26 22:55:48 -0400
  • 4d5430e589 Add parameters to Response::__construct PJ Dietz 2015-04-26 22:38:05 -0400
  • 1b0fccfe0e ServerRequest::getServerRequest builds URI PJ Dietz 2015-04-26 22:13:33 -0400
  • 4f667f1dda Streams throw exceptions instead of returning false. PJ Dietz 2015-04-26 20:49:59 -0400
  • dce4bdf572 ServerRequest provides proper defaults and throws exception for bad parsed body PJ Dietz 2015-04-26 20:08:13 -0400
  • 534bd43d9b Request::getUri always returns a URI PJ Dietz 2015-04-26 19:41:23 -0400
  • 212bb6871e Message::withHeader and withAddedHeader accept string or string[] as the second parameter. PJ Dietz 2015-04-26 19:01:59 -0400
  • f706d47c6d Update Request to implement changes to PSR-7 PR #523 PJ Dietz 2015-04-26 16:05:46 -0400
  • 43c050ec2e Implement ServerRequest::withUploadedFiles PJ Dietz 2015-04-26 15:32:33 -0400
  • 3686e3b1b2 ServerRequest parses uploaded files PJ Dietz 2015-04-26 12:20:24 -0400
  • a254c69607 Reorganize ServerRequest and test PJ Dietz 2015-04-26 11:21:55 -0400
  • 26d71bd792 Add UploadedFile PJ Dietz 2015-04-23 21:53:54 -0400
  • 2e2b9d57c0 Uri parses string on construction PJ Dietz 2015-04-21 15:15:53 -0400
  • 0fabbc5cb1 Add Uri::__toString PJ Dietz 2015-04-19 20:59:49 -0400
  • 7dfa3facc1 Add Uri (Partially complete) PJ Dietz 2015-04-19 19:07:25 -0400
  • 8c4b59c525 Update composer, phpunit configuration, and remove apache_request_headers PJ Dietz 2015-04-16 19:02:43 -0400
  • 408d82fb73 Move Stream classes into Message namespace PJ Dietz 2015-04-15 19:39:53 -0400
  • 6b20d1ea96 Update based on changes to PSR-7 PJ Dietz 2015-04-15 19:34:33 -0400
  • 4a75f4e3a6 Update tests to to avoid passing a reveal() return value by reference. PJ Dietz 2015-04-13 19:46:03 -0400
  • b14641d2f4 Add bootstrap and set error reporting to E_STRICT PJ Dietz 2015-04-13 19:17:08 -0400
  • 9e1c049c38 Include Psr\Http\Message manually while under revision. PJ Dietz 2015-04-12 18:42:01 -0400
  • 5ef74f8b89 Remove old files PJ Dietz 2015-04-12 18:40:25 -0400
  • 4dba068f3d Update to match revisions to PSR-7 PJ Dietz 2015-04-12 18:13:17 -0400
  • 79be20c826 ServerRequest::getServerRequest reads method, request target, and protocol version from request. PJ Dietz 2015-04-12 14:17:12 -0400
  • 963e1acd58 Add pre- and post-route hooks to Router PJ Dietz 2015-04-12 13:51:49 -0400
  • b0a0f5262e Remove old files PJ Dietz 2015-04-12 13:51:16 -0400
  • 4096295421 Stream can be created with a string as well as resource handle. PJ Dietz 2015-04-12 13:10:40 -0400
  • 6e83b6b050 Add Router::respond PJ Dietz 2015-04-12 11:49:48 -0400