I really would like to have a browser in your dlib ;). Much like your HTTP server, it just should be able to send/retrieve GET/POST and be able to set basic parameters.
What I'm thinking of is something like PHP's "browser".
- Setting (additional) headers (cookie, user-agent, ...)
- Setting post body (auto set content-length + content-type if not set?)
- Sending it to an url (split url into hostname -> setting Host header, sending url to path+query).
- Setting a proxy server, but this I don't know exactly how it works. I think you work then via the proxy server and GET/POST the entire url instead of only the path+query.
Would be really cool to have something like that too ;-)
Log in to post a comment.