ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/DecentralizedMedia.cpp
(Generate patch)

Comparing DecentralizedMedia/DecentralizedMedia.cpp (file contents):
Revision 514 by douglas, 2005-06-20T00:19:47-07:00 vs.
Revision 515 by douglas, 2005-06-20T11:06:26-07:00

# Line 142 | Line 142 | _L<MediaFolder> DecentralizedMedia::GetF
142  
143   void DecentralizedMedia::Process(const net::Http::Request& request, net::Http::Response& response)
144   {
145 <        if (request.method_ == _B("EXTENSIONS") || request.method_ == _B("GET") && request.uri_.GetUri() == ext::EmptyString)
145 >        if (request.method_ == _B("EXTENSIONS") || request.method_ == _B("GET") && request.uri_.GetUri().IsEmpty())
146          {
147                  api::Cout << "EXTENSIONS" << ios::NewLine;
148  
# Line 151 | Line 151 | void DecentralizedMedia::Process(const n
151                  _foreach (const ext::RedBlackSet<ext::String>, extension, extensions)
152                          response << *extension << ios::NewLineNoFlush;
153          }
154 <        else if (request.method_ == _B("MEDIA") || request.method_ == _B("POST") && request.uri_.GetUri() == ext::EmptyString)
154 >        else if (request.method_ == _B("MEDIA") || request.method_ == _B("POST") && request.uri_.GetUri().IsEmpty())
155          {
156                  api::Cout << "MEDIA" << ios::NewLine;
157  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines