Browser!
Brought to you by:
davisking
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 ;-)
Logged In: YES
user_id=569271
Originator: YES
What would be even more neat is that when I say #define OPENSSL_INCLUDED, that it would understand HTTPS :p
Logged In: YES
user_id=1166290
Originator: NO
Yeah that sounds pretty cool. Where can I find some documentation about PHP's browser thing?
Logged In: YES
user_id=569271
Originator: YES
http://www.php.net/manual/en/ref.stream.php
http://www.php.net/manual/en/wrappers.http.php
I'll send you a personal email with something which might show what I want ;).