Please sign in to comment.
Modify CakeSocket and HttpSocket so that the "protocol" parameter can…
… be used to specify which protocol to use for creating sockets. These are protcols in the php "[a-z]://" wrapper sense. I also modified the test for these two files respectively to accomodate these new changes. Unrelated to this bug, I added a "head" function inside of HttpSocket to go along with the GET/POST/PUT/DELETE/PATCH combination that's already present. Came in handy for me for deciding if I wanted to hit a resource with HttpSocket or not.
- Loading branch information...
Showing with 29 additions and 9 deletions.
5 lib/Cake/Test/Case/Network/Http/HttpSocketTest.php 100644 → 100755