Module cloudi_response_info

CloudI ResponseInfo Creation

.

Copyright © 2014-2017 Michael Truog

Version: 1.7.1 Sep 15 2018 18:07:45 ------------------------------------------------------------------------

Authors: Michael Truog (mjtruog at protonmail dot com).

Description

CloudI ResponseInfo Creation

Function Index

lookup_content_type/0

Provide a lookup with common content types.

.
lookup_content_type/1

Provide a lookup with common content types while setting string type of the content type value.

.
lookup_content_type/2

Perform a lookup on a file extension with temporary data to minimize memory consumption.

.

Function Details

lookup_content_type/0

lookup_content_type() -> trie:trie()

Provide a lookup with common content types.

lookup_content_type/1

lookup_content_type(X1::binary | list) -> trie:trie()

Provide a lookup with common content types while setting string type of the content type value.

lookup_content_type/2

lookup_content_type(Format::binary | list, FileExtension::string()) -> {ok, {request | attachment, binary() | string()}} | error

Perform a lookup on a file extension with temporary data to minimize memory consumption.


Generated by EDoc