Mercurial > hg > orthanc
comparison Core/HttpServer/EmbeddedResourceHttpHandler.cpp @ 43:9be852ad33d2
rename for c
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Sep 2012 09:59:34 +0200 |
parents | 3959d33612cc |
children | a15e90e5d6fc |
comparison
equal
deleted
inserted
replaced
42:ea48f38afe5f | 43:9be852ad33d2 |
---|---|
65 size_t size = EmbeddedResources::GetDirectoryResourceSize(resourceId_, resourcePath.c_str()); | 65 size_t size = EmbeddedResources::GetDirectoryResourceSize(resourceId_, resourcePath.c_str()); |
66 output.AnswerBufferWithContentType(buffer, size, contentType); | 66 output.AnswerBufferWithContentType(buffer, size, contentType); |
67 } | 67 } |
68 catch (PalantirException& e) | 68 catch (PalantirException& e) |
69 { | 69 { |
70 output.SendHeader(HttpStatus_404_NotFound); | 70 output.SendHeader(Palantir_HttpStatus_404_NotFound); |
71 } | 71 } |
72 } | 72 } |
73 } | 73 } |