97 |
|
|
98 |
|
void DecentralizedMedia::Process(const net::Http::Request& request, net::Http::Response& response) |
99 |
|
{ |
100 |
+ |
api::Cout << request.client_ << _B(" "); |
101 |
+ |
|
102 |
|
if (request.method_ == _B("EXTENSIONS")) |
103 |
|
{ |
104 |
|
api::Cout << "EXTENSIONS" << ios::NewLine; |
129 |
|
waf::Server::Process(request, response); |
130 |
|
} |
131 |
|
|
132 |
< |
void DecentralizedMedia::Media(ios::Reader& media, const api::InternetAddress& host) |
132 |
> |
void DecentralizedMedia::Media(ios::Reader& media, const api::Address& host) |
133 |
|
{ |
134 |
|
_R<xml::Document> document(xml::Parse(media)); |
135 |
|
api::Pcre::RegEx share("^[0-9a-f]+$"); |