Re: Extensions to REST-API
Ralf Schlatterbeck <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 28, 2019 at 06:22:50PM +0000, Joseph Myers wrote: > On Thu, 28 Mar 2019, Ralf Schlatterbeck wrote: > > > Concerning index: I'm not very happy with the current state of affairs > > of indexing binary files, as far as I understand the indexer currently > > indexes everything. > > The indexers disregard files that aren't text/plain. This logic is > duplicated in each indexer. (The back-ends call the indexers for all > files, whether or not they will be indexed, and make sure to use > errors='ignore' when decoding the files as UTF-8 for Python 3. This logic > is duplicated in back_anydbm.py and rdbms_common.py, with at most small > differences, like quite a lot of back-end logic.) Thanks for clarifying this, I feared that the content-type wasn't taken into account. This is good news. Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: http://www.runtux.com Reichergasse 131, A-3411 Weidling email: [email protected]