Module cloudi_response_info

CloudI ResponseInfo Creation

.

Copyright © 2014 Michael Truog

Version: 1.3.3 Jan 10 2017 17:27:59 ------------------------------------------------------------------------

Authors: Michael Truog (mjtruog [at] gmail (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, Jan 10 2017, 17:27:59.