proxygen
RFC2616.cpp File Reference
#include <proxygen/lib/http/RFC2616.h>
#include <stdlib.h>
#include <folly/String.h>
#include <folly/ThreadLocal.h>
#include <proxygen/lib/http/HTTPHeaders.h>

Go to the source code of this file.

Namespaces

 proxygen
 
 proxygen::RFC2616
 

Functions

BodyAllowed proxygen::RFC2616::isRequestBodyAllowed (folly::Optional< HTTPMethod > method)
 
bool proxygen::RFC2616::responseBodyMustBeEmpty (unsigned status)
 
bool proxygen::RFC2616::bodyImplied (const HTTPHeaders &headers)
 
bool proxygen::RFC2616::parseQvalues (folly::StringPiece value, std::vector< TokenQPair > &output)
 
bool proxygen::RFC2616::parseByteRangeSpec (folly::StringPiece value, unsigned long &outFirstByte, unsigned long &outLastByte, unsigned long &outInstanceLength)