Mercurial > hg > orthanc
comparison Core/HttpServer/MongooseServer.cpp @ 1042:8d1845feb277
set cookies, not allowed methods, unauthorized in plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Jul 2014 15:55:40 +0200 |
parents | dcb2469f00f4 |
children | f21f7783f934 |
comparison
equal
deleted
inserted
replaced
1041:2c49b7dffcec | 1042:8d1845feb277 |
---|---|
712 } | 712 } |
713 } | 713 } |
714 | 714 |
715 if (!found) | 715 if (!found) |
716 { | 716 { |
717 output.SendHeader(HttpStatus_404_NotFound); | 717 try |
718 { | |
719 output.SendHeader(HttpStatus_404_NotFound); | |
720 } | |
721 catch (OrthancException&) | |
722 { | |
723 } | |
718 } | 724 } |
719 | 725 |
720 // Mark as processed | 726 // Mark as processed |
721 return (void*) ""; | 727 return (void*) ""; |
722 } | 728 } |