Home
last modified time | relevance | path

Searched refs:StatusCode (Results 1 – 13 of 13) sorted by relevance

/haiku/src/tests/kits/net/service/
H A DHttpTest.cpp148 CPPUNIT_ASSERT_EQUAL(200, result.StatusCode()); in SendAuthenticatedRequest()
245 CPPUNIT_ASSERT_EQUAL(200, result.StatusCode()); in HeadTest()
289 CPPUNIT_ASSERT_EQUAL(204, result.StatusCode()); in NoContentTest()
352 CPPUNIT_ASSERT_EQUAL(200, response.StatusCode()); in ProxyTest()
453 CPPUNIT_ASSERT_EQUAL(200, result.StatusCode()); in UploadTest()
642 CPPUNIT_ASSERT_EQUAL(200, result.StatusCode()); in _GetTest()
/haiku/headers/private/netservices/
H A DHttpResult.h42 int32 StatusCode() const;
/haiku/src/kits/network/libnetservices/
H A DGeolocation.cpp146 if (reply.StatusCode() != 200) { in LocateSelf()
217 if (reply.StatusCode() != 200) { in Country()
H A DHttpRequest.cpp443 switch (StatusCodeClass(fResult.StatusCode())) { in _ProtocolLoop()
458 int code = fResult.StatusCode(); in _ProtocolLoop()
498 if (fResult.StatusCode() == B_HTTP_STATUS_UNAUTHORIZED) { in _ProtocolLoop()
546 if (fResult.StatusCode() == 404) in _ProtocolLoop()
651 && IsRedirectionStatusCode(fResult.StatusCode())) in _MakeRequest()
655 && fResult.StatusCode() >= B_HTTP_STATUS_CLASS_CLIENT_ERROR) in _MakeRequest()
714 || fResult.StatusCode() == 204) { in _MakeRequest()
H A DHttpResult.cpp107 BHttpResult::StatusCode() const in StatusCode() function in BHttpResult
/haiku/headers/private/netservices2/
H A DHttpResult.h101 BHttpStatusCode StatusCode() const noexcept;
/haiku/src/kits/network/libnetservices2/
H A DHttpParser.cpp120 if (fBodyType == HttpBodyType::NoContent || fStatus.StatusCode() == BHttpStatusCode::NoContent in ParseFields()
121 || fStatus.StatusCode() == BHttpStatusCode::NotModified) { in ParseFields()
H A DHttpResult.cpp44 BHttpStatus::StatusCode() const noexcept in StatusCode() function in BHttpStatus
H A DHttpSession.cpp863 switch (fStatus.StatusCode()) { in ReceiveResult()
931 switch (fStatus.StatusCode()) { in ReceiveResult()
/haiku/src/kits/package/
H A DFetchFileJob.cpp164 uint16 code = httpResult->StatusCode(); in RequestCompleted()
/haiku/src/apps/haikudepot/server/
H A DAbstractServerProcess.cpp381 int32 statusCode = result.StatusCode(); in DownloadToLocalFile()
H A DWebAppInterface.cpp1066 int32 statusCode = result.StatusCode(); in _SendJsonRequest()
1148 int32 statusCode = result.StatusCode(); in _SendRawGetRequest()
/haiku/docs/user/netservices/
H A DHttpResult.dox101 \fn BHttpStatusCode BHttpStatus::StatusCode() const noexcept