As part of Haiku R1 Beta 4, there is a Preview of the HTTP Network Services Kit . Previously, I have released HttpShout 0.1, a simple Postman -inspired, simple app to run HTTP request using the new network kit. The primary goal is to have a tool to interactively test the implementation of the new library. Therefore, the aim for this application to support all the features that the underlying API supports.
A compiled version of HttpShout 0.2 can be downloaded for 32-bit (x86) and 64-bit (x86_64) . The binaries are released under the Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) license. I may release the source in the future, though it is more of an internal project rather than a good example of the use of then Preview of the HTTP Network Services Kit.
New features include:
- Support HEAD, POST, PUT, DELETE, CONNECT, OPTIONS and TRACE methods
- Add a Request Body using raw input
- Add a Request Body using a file
- Set a (custom) MimeType for the Request Body
- Add Basic Authentication for a request
- Support saving a response body to disk
On the immediate to do list are:
- Custom Methods
- Default save name based on Header or URL
- Cancel request if response is too large (when total size known/when chunked and go over threshold) and content is not saved to disk.