userver: userver/http/content_type.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
content_type.hpp File Reference

Detailed Description

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/logging/fwd.hpp>
#include <userver/utils/str_icase.hpp>
+ This graph shows which files directly or indirectly include this file:

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 &)
 

Variables

const ContentType http::content_type::kApplicationOctetStream
 
const ContentType http::content_type::kApplicationJson
 
const ContentType http::content_type::kTextPlain