-
Notifications
You must be signed in to change notification settings - Fork 16
-
Add support for all HTTP Request Methods
ClosedDec 5, 2014 Last updated over 8 years agoPIMF supports only two commonly used methods for a request-response…
PIMF supports only two commonly used methods for a request-response between a client and server: GET and POST.
Following methods should be implemented additionally:
- HEAD Same as GET but returns only HTTP headers and no document body
- PUT Uploads a representation of the specified URI
- DELETE Deletes the specified resource
- OPTIONS Returns the HTTP methods that the server supports
- CONNECT Converts the request connection to a transparent TCP/IP tunnel
-
Refactoring of Registry to Dependency Injection Principle
ClosedJan 8, 2016 Last updated over 8 years agoPIMF implements a Registry, a well-known object that other objects …
PIMF implements a Registry, a well-known object that other objects can use to find common objects and services. Registry is essentially a global object, or at least it looks like one - even if it isn't as global as it may appear.
it should be refactored to Dependency Injection Principle which allows program designs to be loosely coupled and to follow the dependency inversion and single responsibility principles.