Searched refs:BHttpMethod (Results 1 - 4 of 4) sorted by relevance

/haiku/headers/private/netservices2/
H A DHttpRequest.h32 class BHttpMethod class in namespace:BPrivate::Network
42 BHttpMethod(Verb verb) noexcept;
43 BHttpMethod(const std::string_view& method);
44 BHttpMethod(const BHttpMethod& other);
45 BHttpMethod(BHttpMethod&& other) noexcept;
46 ~BHttpMethod();
49 BHttpMethod& operator=(const BHttpMethod
[all...]
/haiku/src/kits/network/libnetservices2/
H A DHttpRequest.cpp29 // #pragma mark -- BHttpMethod::InvalidMethod
32 BHttpMethod::InvalidMethod::InvalidMethod(const char* origin, BString input)
41 BHttpMethod::InvalidMethod::Message() const noexcept
51 BHttpMethod::InvalidMethod::DebugMessage() const
60 // #pragma mark -- BHttpMethod
63 BHttpMethod::BHttpMethod(Verb verb) noexcept
70 BHttpMethod::BHttpMethod(const std::string_view& verb) function in class:BHttpMethod
75 throw BHttpMethod
[all...]
H A DHttpSession.cpp673 if (fRequest.Method() == BHttpMethod::Head)
688 && (fRequest.Method() != BHttpMethod::Head && fRequest.Method() != BHttpMethod::Get)) {
689 fRequest.SetMethod(BHttpMethod::Get);
696 if (fRequest.Method() == BHttpMethod::Head)
/haiku/src/tests/kits/net/netservices2/
H A DHttpProtocolTest.cpp30 using BPrivate::Network::BHttpMethod;
240 CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Get).Method(), "GET"sv);
241 CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Head).Method(), "HEAD"sv);
242 CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Post).Method(), "POST"sv);
243 CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Put).Method(), "PUT"sv);
244 CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMetho
[all...]

Completed in 142 milliseconds