Content-Type representation.
Definition in file content_type.hpp.
Go to the source code of this file.
#include <iosfwd>
#include <stdexcept>
#include <string>
#include <string_view>
#include <userver/utils/str_icase.hpp>
Classes | |
class | http::MalformedContentType |
Content-Type parsing error. More... | |
class | http::ContentType |
Content-Type representation. More... | |
class | http::ContentTypeHash |
Namespaces | |
namespace | http |
HTTP helpers. | |
Functions | |
bool | http::operator== (const ContentType &, const ContentType &) |
bool | http::operator!= (const ContentType &, const ContentType &) |
bool | http::operator< (const ContentType &, const ContentType &) |
std::ostream & | http::operator<< (std::ostream &, const ContentType &) |
Variables | |
const ContentType | http::content_type::kApplicationOctetStream |
const ContentType | http::content_type::kApplicationJson |
const ContentType | http::content_type::kTextPlain |