[vlc-devel] [RFC] http post
linkfanel at yahoo.fr
Sun Apr 3 03:36:31 CEST 2011
> Some modules need http post for external APIs, like SD or lua
> What is the correct way to implement this, without coding it 20 times in
> different places? Where should it go: core, 1 special module, code in
> every module, something else?
I think we should provide a static inline function to send the request.
Parsing the response should be left to the caller: the caller is best
suited to know what to do with the headers, whether to ignore the
body, read it line by line or as raw data... Also, buffering the whole
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the vlc-devel