Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
lithium
tests
cases
net
http
ResponseTest
PHP 클래스 lithium\tests\cases\net\http\ResponseTest
상속:
extends
lithium\test\Unit
파일 보기
프로젝트 열기: unionofrad/lithium
공개 메소드들
메소드
설명
testConstructionWithBody
( )
testContentTypeHeaderAndTypePropertyAreSynchronized
( )
testDigestParsing
( )
testEmptyResponse
( )
testMalformedStatus
( )
testMessageWithNoHeaders
( )
testParseMessage
( )
testParseMessageHeadersMerging
( )
testParseMessageWithContentTypeHeaderSetsType
( )
testParseMessageWithCookies
( )
testParseMessageWithRepeatingHeaderKeys
( )
testParsingContentTypeWithEncoding
( )
testParsingContentTypeWithVersionNumber
( )
testParsingContentTypeWithoutEncoding
( )
testSetCookies
( )
testSetCookiesMultipleValues
( )
testStatus
( )
testToString
( )
testToStringDoesNotAddContentTypeHeaderOnTextHtml
( )
testToStringPrefersHeadersContentTypeOverType
( )
testToStringTypeAlwaysUsesContentTypeHeader
( )
testToStringWithCookies
( )
testTransferEncodingChunkedDecode
( )
testTypeHeader
( )
testTypePriority
( )
testWithoutChunksAndComment
( )
testWithoutChunksAndCommentInBody
( )
testWithoutChunksAndCommentInHtmlRoot
( )
testWithoutChunksAndRandomCommentInHtmlRoot
( )
보호된 메소드들
메소드
설명
_createMessage
(
string
$body
,
array
$headers
= [] ) :
string
Creates a chunked gzipped message to test response decoding.
메소드 상세
_createMessage()
보호된
메소드
Creates a chunked gzipped message to test response decoding.
protected
_createMessage
(
string
$body
,
array
$headers
= [] ) :
string
$body
string
Message body.
$headers
array
Message headers.
리턴
string
Returns a raw HTTP message with headers and body.
testConstructionWithBody()
공개
메소드
public
testConstructionWithBody
( )
testContentTypeHeaderAndTypePropertyAreSynchronized()
공개
메소드
public
testContentTypeHeaderAndTypePropertyAreSynchronized
( )
testDigestParsing()
공개
메소드
public
testDigestParsing
( )
testEmptyResponse()
공개
메소드
public
testEmptyResponse
( )
testMalformedStatus()
공개
메소드
public
testMalformedStatus
( )
testMessageWithNoHeaders()
공개
메소드
public
testMessageWithNoHeaders
( )
testParseMessage()
공개
메소드
public
testParseMessage
( )
testParseMessageHeadersMerging()
공개
메소드
public
testParseMessageHeadersMerging
( )
testParseMessageWithContentTypeHeaderSetsType()
공개
메소드
public
testParseMessageWithContentTypeHeaderSetsType
( )
testParseMessageWithCookies()
공개
메소드
public
testParseMessageWithCookies
( )
testParseMessageWithRepeatingHeaderKeys()
공개
메소드
public
testParseMessageWithRepeatingHeaderKeys
( )
testParsingContentTypeWithEncoding()
공개
메소드
public
testParsingContentTypeWithEncoding
( )
testParsingContentTypeWithVersionNumber()
공개
메소드
public
testParsingContentTypeWithVersionNumber
( )
testParsingContentTypeWithoutEncoding()
공개
메소드
public
testParsingContentTypeWithoutEncoding
( )
testSetCookies()
공개
메소드
public
testSetCookies
( )
testSetCookiesMultipleValues()
공개
메소드
public
testSetCookiesMultipleValues
( )
testStatus()
공개
메소드
public
testStatus
( )
testToString()
공개
메소드
public
testToString
( )
testToStringDoesNotAddContentTypeHeaderOnTextHtml()
공개
메소드
public
testToStringDoesNotAddContentTypeHeaderOnTextHtml
( )
testToStringPrefersHeadersContentTypeOverType()
공개
메소드
public
testToStringPrefersHeadersContentTypeOverType
( )
testToStringTypeAlwaysUsesContentTypeHeader()
공개
메소드
public
testToStringTypeAlwaysUsesContentTypeHeader
( )
testToStringWithCookies()
공개
메소드
public
testToStringWithCookies
( )
testTransferEncodingChunkedDecode()
공개
메소드
public
testTransferEncodingChunkedDecode
( )
testTypeHeader()
공개
메소드
public
testTypeHeader
( )
testTypePriority()
공개
메소드
public
testTypePriority
( )
testWithoutChunksAndComment()
공개
메소드
public
testWithoutChunksAndComment
( )
testWithoutChunksAndCommentInBody()
공개
메소드
public
testWithoutChunksAndCommentInBody
( )
testWithoutChunksAndCommentInHtmlRoot()
공개
메소드
public
testWithoutChunksAndCommentInHtmlRoot
( )
testWithoutChunksAndRandomCommentInHtmlRoot()
공개
메소드
public
testWithoutChunksAndRandomCommentInHtmlRoot
( )