Mercurial > hg > orthanc-stone
comparison Framework/Oracle/WebAssemblyOracle.cpp @ 843:67f9c27214c5
Removed extra logging + doc + added GuiAdapter and LockingEmitter
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 14 Jun 2019 12:14:16 +0200 |
parents | 266e2b0b9abc |
children | f75f6cb69c1b |
comparison
equal
deleted
inserted
replaced
841:266e2b0b9abc | 843:67f9c27214c5 |
---|---|
282 uri_ = oracle_.orthancRoot_ + uri; | 282 uri_ = oracle_.orthancRoot_ + uri; |
283 } | 283 } |
284 | 284 |
285 void SetBody(std::string& body /* will be swapped */) | 285 void SetBody(std::string& body /* will be swapped */) |
286 { | 286 { |
287 if (body != "") | |
288 { | |
289 LOG(ERROR) << "Setting non-empty body. body size = " << body.size() << " body = " << body; | |
290 } | |
291 body_.swap(body); | 287 body_.swap(body); |
292 LOG(ERROR) << "After setting non-empty body. body_ size = " << body_.size() << " body_ = " << body_; | |
293 } | 288 } |
294 | 289 |
295 void SetHttpHeaders(const HttpHeaders& headers) | 290 void SetHttpHeaders(const HttpHeaders& headers) |
296 { | 291 { |
297 headers_ = headers; | 292 headers_ = headers; |