Differences From Artifact [f4c235f77c]:
- File src/doc.c — part of check-in [1eb438d61a] at 2013-10-04 09:30:06 on branch pending-review — Better error-message in case of "manifest file is malformed" (user: jan.nijtmans size: 28775) [more...]
To Artifact [30f854b9d9]:
- File src/doc.c — part of check-in [1c5b51e6bf] at 2014-01-14 13:39:26 on branch trunk — Handle utf16 text pages in the /doc webpage. (user: drh size: 28812) [more...]
| ︙ | |||
481 482 483 484 485 486 487 488 489 490 491 492 493 494 | 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 | + |
/* Get the file content */
if( content_get(rid, &filebody)==0 ){
goto doc_not_found;
}
db_end_transaction(0);
}
blob_to_utf8_no_bom(&filebody, 0);
/* The file is now contained in the filebody blob. Deliver the
** file to the user
*/
zMime = P("mimetype");
if( zMime==0 ){
zMime = mimetype_from_name(zName);
|
| ︙ |