Android-cuttlefish cvd tool
Namespaces | Functions | Variables
http_probe.cc File Reference
#include "cuttlefish/host/libs/web/http_client/http_probe.h"
#include <stddef.h>
#include <stdint.h>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/match.h"
#include "absl/strings/numbers.h"
#include "absl/strings/string_view.h"
#include "cuttlefish/host/libs/web/http_client/http_client.h"
#include "cuttlefish/host/libs/web/http_client/scrub_secrets.h"
#include "cuttlefish/result/result.h"
Include dependency graph for http_probe.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{http_probe.cc}
 

Functions

Result< HttpResponse< void > > cuttlefish::anonymous_namespace{http_probe.cc}::Probe (HttpClient &http_client, HttpMethod method, const std::string &url, std::vector< std::string > headers)
 
bool cuttlefish::anonymous_namespace{http_probe.cc}::ServesRanges (const HttpResponse< void > &response)
 
std::optional< uint64_t > cuttlefish::anonymous_namespace{http_probe.cc}::ProbedSize (const HttpResponse< void > &response)
 
Result< HttpObjectInfo > cuttlefish::ProbeHttpObject (HttpClient &http_client, const std::string &url, const std::vector< std::string > &headers)
 

Variables

constexpr long cuttlefish::anonymous_namespace{http_probe.cc}::kPartialContent = 206
 
constexpr long cuttlefish::anonymous_namespace{http_probe.cc}::kForbidden = 403
 
constexpr long cuttlefish::anonymous_namespace{http_probe.cc}::kMethodNotAllowed = 405