Skip to content

OPTION MIME Support #4

@Michahel

Description

@Michahel

The DICT-server can give MIME content, i.e. give arbitrary content without restrictions with reference to their type. If the DICT-client is able to get MIME content working, it shall send the OPTION MIME command to the DICT-server. In this case, the DICT-client goes to processing task of the content. DICT-server in turn can give Plain Text or MIME content depending on whether if the client gave the OPTION MIME command to him. See A Dictionary Server Protocol. So, DICT-dictionary can consist of two modules: one with PlainText content, and other with a MIME content.
The AnDICT doesn't support the OPTION MIME, in this way all dictionaries can be only with Plain Text content.
I express my desire about working out such a support. For testing MIME header I can suggest DICT-server: dict.bibleonline.ru; dictionaries:

  • heb-rus_strong
  • ell-rus_strong
  • heb-eng_strong
  • ell-eng_strong

These dictionaries have the following MIME header:

Content-type: text/html; charset=utf-8
Content-transfer-encoding: 8bit

In answer to the OPTION MIME command DICT-server may give arbitrary content without limit by indicating its type. DICT-client may not expect such content which will be given to him. The task is included so that AnDICT would give an error message in such a case if it receives such a MIME header which it is not yet able to support. Sample message text: "The dictionary entry contains a MIME header that is unsupported in the AnDICT." Further, as a need appears a list of supported MIME headers can be expanded for the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions