Mercurial > hg > orthanc
comparison Core/HttpServer/HttpOutput.cpp @ 8:3a584803783e
build with visual studio
author | jodogne |
---|---|
date | Fri, 20 Jul 2012 11:00:49 +0200 |
parents | 3959d33612cc |
children | 9be852ad33d2 |
comparison
equal
deleted
inserted
replaced
6:9d483cf71d17 | 8:3a584803783e |
---|---|
57 } | 57 } |
58 | 58 |
59 | 59 |
60 void HttpOutput::SendOkHeader(const char* contentType, | 60 void HttpOutput::SendOkHeader(const char* contentType, |
61 bool hasContentLength, | 61 bool hasContentLength, |
62 size_t contentLength) | 62 uint64_t contentLength) |
63 { | 63 { |
64 std::string s = "HTTP/1.1 200 OK\r\n"; | 64 std::string s = "HTTP/1.1 200 OK\r\n"; |
65 | 65 |
66 if (contentType) | 66 if (contentType) |
67 { | 67 { |