/dports/security/zaproxy/zaproxy-2.11.1/zap/src/test/java/org/parosproxy/paros/network/ |
H A D | HttpResponseHeaderUnitTest.java | 40 HttpResponseHeader header = new HttpResponseHeader(); in shouldBeEmptyIfNoContents() 50 HttpResponseHeader header = new HttpResponseHeader("HTTP/1.1 200 OK\r\n\r\n"); in shouldNotBeEmptyIfItHasStatusLine() 60 HttpResponseHeader header = in shouldNotBeEmptyIfItHasStatusAndHeaders() 71 HttpResponseHeader header = new HttpResponseHeader("HTTP/1.1 200 OK\r\n\r\n"); in shouldSetValidStatusCode() 82 HttpResponseHeader header = new HttpResponseHeader("HTTP/1.1 200 OK\r\n\r\n"); in shouldFailToSetNegative3DigitStatusCode() 93 HttpResponseHeader header = new HttpResponseHeader("HTTP/1.1 200 OK\r\n\r\n"); in shouldFailToSet2DigitStatusCode() 104 HttpResponseHeader header = new HttpResponseHeader("HTTP/1.1 200 OK\r\n\r\n"); in shouldFailToSet4DigitStatusCode() 115 HttpResponseHeader header = new HttpResponseHeader("HTTP/1.1 200 OK\r\n\r\n"); in shouldSetReasonPhrase() 126 HttpResponseHeader header = new HttpResponseHeader("HTTP/1.1 200 OK\r\n\r\n"); in shouldSetEmptyReasonPhraseIfNull() 146 HttpResponseHeader hrh = createResponseHeader(contentType); in isCssShouldReturnFalseWhenContentTypeDoesNotIndicateCss() [all …]
|
H A D | HttpMessageUnitTest.java | 305 HttpResponseHeader header = mock(HttpResponseHeader.class); in shouldNotSetContentEncodingsWhenSettingHttpResponseBody() 320 HttpResponseHeader header = mock(HttpResponseHeader.class); in shouldSetContentEncodingsWhenSettingResponseBodyByte() 335 HttpResponseHeader header = mock(HttpResponseHeader.class); in shouldSetContentEncodingsWhenSettingResponseBodyString() 420 new HttpResponseHeader( in shouldBeWebSocketUpgradeIfResponseConnectionHeaderEqualsUpgradeAndUpgradeHeaderEqualsWebsocket() 435 new HttpResponseHeader( in shouldBeWebSocketUpgradeIfResponseConnectionHeaderContainsUpgradeAndUpgradeHeaderEqualsWebsocket() 448 new HttpResponseHeader( in shouldNotBeWebSocketUpgradeIfResponseConnectionHeaderMissUpgradeValue() 461 new HttpResponseHeader( in shouldNotBeWebSocketUpgradeIfResponseMissUpgradeHeader() 498 new HttpResponseHeader( in shouldUseContentTypeCharsetWhenSettingResponseBody() 512 new HttpResponseHeader("HTTP/1.1 200 OK\r\n"), in newHttpMessage()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/ |
H A D | HttpCachePolicy.cs | 256 HttpResponseHeader headerVaryBy, in HttpCachePolicySettings() 447 static HttpResponseHeader s_headerPragmaNoCache; 448 static HttpResponseHeader s_headerExpiresMinus1; 492 HttpResponseHeader _headerCacheControl; 493 HttpResponseHeader _headerPragma; 494 HttpResponseHeader _headerExpires; 495 HttpResponseHeader _headerLastModified; 496 HttpResponseHeader _headerEtag; 497 HttpResponseHeader _headerVaryBy; 981 HttpResponseHeader headerExpires; in GetHeaders() [all …]
|
H A D | HttpResponseHeader.cs | 21 internal class HttpResponseHeader { class 27 internal HttpResponseHeader(int knownHeaderIndex, String value) in HttpResponseHeader() method in System.Web.HttpResponseHeader 31 internal HttpResponseHeader(int knownHeaderIndex, string value, bool enableHeaderChecking) { in HttpResponseHeader() method in System.Web.HttpResponseHeader 45 internal HttpResponseHeader(String unknownHeader, String value) in HttpResponseHeader() method in System.Web.HttpResponseHeader 49 internal HttpResponseHeader(string unknownHeader, string value, bool enableHeaderChecking) { in HttpResponseHeader() method in System.Web.HttpResponseHeader
|
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/test/java/org/zaproxy/zap/extension/brk/impl/http/ |
H A D | HttpBreakpointManagementDaemonImplUnitTest.java | 30 import org.parosproxy.paros.network.HttpResponseHeader; 62 HttpResponseHeader resHeader = new HttpResponseHeader(OK_RESPONSE); in shouldBreakOnAllHttpRequestsAndResponses() 73 HttpResponseHeader resHeader = new HttpResponseHeader(OK_RESPONSE); in shouldBreakOnJustHttpRequests() 84 HttpResponseHeader resHeader = new HttpResponseHeader(OK_RESPONSE); in shouldBreakOnJustHttpResponses() 103 HttpResponseHeader resHeader = new HttpResponseHeader(OK_RESPONSE); in shouldStep()
|
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/test/java/org/parosproxy/paros/core/proxy/ |
H A D | ProxyThreadUnitTest.java | 34 import org.parosproxy.paros.network.HttpResponseHeader; 44 HttpResponseHeader responseHeader = mock(HttpResponseHeader.class); in shouldDecodeResponseIfNeeded() 64 HttpResponseHeader responseHeader = mock(HttpResponseHeader.class); in shouldDecodeResponseIfNeededButNotSetContentLengthIfNotPresent() 84 HttpResponseHeader responseHeader = mock(HttpResponseHeader.class); in shouldNotDecodeResponseIfNoContentEncodings() 104 HttpResponseHeader responseHeader = mock(HttpResponseHeader.class); in shouldNotDecodeResponseWithContentEncodingErrors() 122 private static HttpMessage createMessage(HttpResponseHeader header, HttpResponseBody body) { in createMessage()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Web/System/ServiceModel/Web/ |
H A D | OutgoingWebResponseContext.cs | 34 …get { return long.Parse(this.MessageProperty.Headers[HttpResponseHeader.ContentLength], CultureInf… 35 …set { this.MessageProperty.Headers[HttpResponseHeader.ContentLength] = value.ToString(CultureInfo.… 40 get { return this.MessageProperty.Headers[HttpResponseHeader.ContentType]; } 41 set { this.MessageProperty.Headers[HttpResponseHeader.ContentType] = value; } 46 get { return this.MessageProperty.Headers[HttpResponseHeader.ETag]; } 47 set { this.MessageProperty.Headers[HttpResponseHeader.ETag] = value; } 72 this.MessageProperty.Headers[HttpResponseHeader.LastModified] = 81 get { return this.MessageProperty.Headers[HttpResponseHeader.Location]; } 82 set { this.MessageProperty.Headers[HttpResponseHeader.Location] = value; }
|
H A D | IncomingWebResponseContext.cs | 25 …{ get { return long.Parse(EnsureMessageProperty().Headers[HttpResponseHeader.ContentLength], Cultu… 28 { get { return EnsureMessageProperty().Headers[HttpResponseHeader.ContentType]; } } 31 { get { return EnsureMessageProperty().Headers[HttpResponseHeader.ETag]; } } 37 { get { return EnsureMessageProperty().Headers[HttpResponseHeader.Location]; } }
|
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/test/java/org/zaproxy/zap/extension/httppanel/view/impl/models/http/response/ |
H A D | ResponseBodyByteHttpPanelViewModelUnitTest.java | 24 import org.parosproxy.paros.network.HttpResponseHeader; 30 extends BodyByteHttpPanelViewModelTest<HttpResponseHeader, HttpResponseBody> { 38 protected Class<HttpResponseHeader> getHeaderClass() { in getHeaderClass() 39 return HttpResponseHeader.class; in getHeaderClass()
|
H A D | ResponseBodyStringHttpPanelViewModelUnitTest.java | 26 import org.parosproxy.paros.network.HttpResponseHeader; 32 extends BodyStringHttpPanelViewModelTest<HttpResponseHeader, HttpResponseBody> { 40 protected Class<HttpResponseHeader> getHeaderClass() { in getHeaderClass() 41 return HttpResponseHeader.class; in getHeaderClass()
|
H A D | ResponseByteHttpPanelViewModelUnitTest.java | 32 import org.parosproxy.paros.network.HttpResponseHeader; 38 extends ByteHttpPanelViewModelTest<HttpResponseHeader, HttpResponseBody> { 46 protected Class<HttpResponseHeader> getHeaderClass() { in getHeaderClass() 47 return HttpResponseHeader.class; in getHeaderClass()
|
H A D | ResponseStringHttpPanelViewModelUnitTest.java | 33 import org.parosproxy.paros.network.HttpResponseHeader; 39 extends StringHttpPanelViewModelTest<HttpResponseHeader, HttpResponseBody> { 47 protected Class<HttpResponseHeader> getHeaderClass() { in getHeaderClass() 48 return HttpResponseHeader.class; in getHeaderClass()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/ |
H A D | HttpListenerResponse.cs | 81 return Headers[HttpResponseHeader.ContentType]; 87 Headers.Remove(HttpResponseHeader.ContentType); 91 Headers.Set(HttpResponseHeader.ContentType, value); 106 return Headers[HttpResponseHeader.Location]; 113 Headers.Remove(HttpResponseHeader.Location); 117 Headers.Set(HttpResponseHeader.Location, value); 275 Headers.SetInternal(HttpResponseHeader.Location, url); in Redirect() 615 Headers.Set(HttpResponseHeader.SetCookie, setCookie); in ComputeCookies() 682 Headers.Add(HttpResponseHeader.Connection, "close"); in ComputeHeaders() 772 if (lookup == (int)HttpResponseHeader.SetCookie || in SerializeHeaders() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.WebHeaderCollection/ref/ |
H A D | System.Net.WebHeaderCollection.cs | 55 public enum HttpResponseHeader enum 96 public string this[System.Net.HttpResponseHeader header] { get { throw null; } set { } } 108 public void Remove(HttpResponseHeader header) { } in Remove() 117 public void Set(HttpResponseHeader header, string value) { } in Set() 120 public void Add(HttpResponseHeader header, string value) { } in Add()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/tests/ |
H A D | HttpListenerResponseTests.Headers.cs | 473 Assert.Null(response.Headers[HttpResponseHeader.TransferEncoding]); in SendChunked_GetSet_ReturnsExpected() 478 Assert.Null(response.Headers[HttpResponseHeader.TransferEncoding]); in SendChunked_GetSet_ReturnsExpected() 553 Assert.Null(response.Headers[HttpResponseHeader.Connection]); in KeepAlive_GetSet_ReturnsExpected() 554 Assert.Null(response.Headers[HttpResponseHeader.KeepAlive]); in KeepAlive_GetSet_ReturnsExpected() 558 Assert.Null(response.Headers[HttpResponseHeader.Connection]); in KeepAlive_GetSet_ReturnsExpected() 559 Assert.Null(response.Headers[HttpResponseHeader.KeepAlive]); in KeepAlive_GetSet_ReturnsExpected() 568 Assert.Null(response.Headers[HttpResponseHeader.KeepAlive]); in KeepAlive_GetSet_ReturnsExpected() 587 Assert.Null(response.Headers[HttpResponseHeader.Connection]); in KeepAlive_SetDisposed_ThrowsObjectDisposedException() 588 Assert.Null(response.Headers[HttpResponseHeader.KeepAlive]); in KeepAlive_SetDisposed_ThrowsObjectDisposedException() 634 Assert.Null(response.Headers[HttpResponseHeader.KeepAlive]); in KeepAlive_ContentLengthBoundaryAndRequestHttpVersionMinorIsZero_DoesNotChangeWhenSendingHeaders() [all …]
|
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/main/java/org/parosproxy/paros/network/ |
H A D | HttpResponseHeader.java | 59 public class HttpResponseHeader extends HttpHeader { class 97 private static final Logger log = LogManager.getLogger(HttpResponseHeader.class); 119 public HttpResponseHeader() { in HttpResponseHeader() method in HttpResponseHeader 124 public HttpResponseHeader(String data) throws HttpMalformedHeaderException { in HttpResponseHeader() method in HttpResponseHeader 246 public static HttpResponseHeader getError(String msg) { in getError() 247 HttpResponseHeader res = null; in getError() 249 res = new HttpResponseHeader(msg); in getError()
|
/dports/devel/stack/stack-2.7.3/_cabal_deps/hackage-security-0.6.0.1/src/Hackage/Security/Client/Repository/ |
H A D | HttpLib.hs | 6 , HttpResponseHeader(..) 37 -> ([HttpResponseHeader] -> BodyReader -> IO a) 59 -> (HttpStatus -> [HttpResponseHeader] -> BodyReader -> IO a) 87 data HttpResponseHeader = type
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.WebHeaderCollection/tests/ |
H A D | WebHeaderCollectionTest.cs | 55 [InlineData((HttpResponseHeader)int.MinValue)] 56 [InlineData((HttpResponseHeader)(-1))] 57 [InlineData((HttpResponseHeader)int.MaxValue)] 58 public void HttpResponseHeader_AddInvalid_Throws(HttpResponseHeader header) in HttpResponseHeader_AddInvalid_Throws() 82 w[HttpResponseHeader.ProxyAuthenticate] = headerValue; in HttpResponseHeader_AddQuery_CommonHeader_Success() 83 w[HttpResponseHeader.WwwAuthenticate] = headerValue; in HttpResponseHeader_AddQuery_CommonHeader_Success() 85 Assert.Equal(headerValue, w[HttpResponseHeader.ProxyAuthenticate]); in HttpResponseHeader_AddQuery_CommonHeader_Success() 86 Assert.Equal(headerValue, w[HttpResponseHeader.WwwAuthenticate]); in HttpResponseHeader_AddQuery_CommonHeader_Success() 111 w[HttpResponseHeader.ContentLength] = "123"; in ResponseThenRequestHeaders_Add_Throws() 119 w[HttpResponseHeader.ContentLength] = "123"; in ResponseHeader_QueryRequest_Throws() [all …]
|
/dports/biology/bamtools/bamtools-2.5.2/src/api/internal/io/ |
H A D | HttpHeader_p.cpp | 348 HttpResponseHeader::HttpResponseHeader(const int statusCode, const std::string& reason, in HttpResponseHeader() function in HttpResponseHeader 358 HttpResponseHeader::HttpResponseHeader(const std::string& s) in HttpResponseHeader() function in HttpResponseHeader 365 std::string HttpResponseHeader::GetReason() const in GetReason() 370 int HttpResponseHeader::GetStatusCode() const in GetStatusCode() 375 bool HttpResponseHeader::ParseLine(const std::string& line, int lineNumber) in ParseLine() 439 std::string HttpResponseHeader::ToString() const in ToString()
|
H A D | HttpHeader_p.h | 103 class API_NO_EXPORT HttpResponseHeader : public HttpHeader 108 HttpResponseHeader(const int statusCode, // 200, 404, etc 112 HttpResponseHeader(const std::string& s);
|
H A D | BamHttp_p.h | 33 class HttpResponseHeader; variable 80 HttpResponseHeader* m_response;
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/src/System/Net/Windows/ |
H A D | HttpListenerResponse.Windows.cs | 395 …Headers[HttpResponseHeader.ContentLength] = _contentLength.ToString("D", NumberFormatInfo.Invarian… in ComputeHeaders() 403 Headers[HttpResponseHeader.TransferEncoding] = "chunked"; in ComputeHeaders() 415 Headers.Add(HttpResponseHeader.Connection, "close"); in ComputeHeaders() 425 Headers[HttpResponseHeader.KeepAlive] = "true"; in ComputeHeaders() 437 … Headers[HttpResponseHeader.WwwAuthenticate] = HttpListenerContext.MutualAuthentication; in ComputeCoreHeaders() 504 if (lookup == (int)HttpResponseHeader.SetCookie || in SerializeHeaders() 505 isWebSocketHandshake && lookup == (int)HttpResponseHeader.Connection) in SerializeHeaders() 526 if (lookup == (int)HttpResponseHeader.SetCookie || in SerializeHeaders() 527 isWebSocketHandshake && lookup == (int)HttpResponseHeader.Connection) in SerializeHeaders()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.WebHeaderCollection/src/System/Net/ |
H A D | HttpResponseHeader.cs | 7 public enum HttpResponseHeader enum 77 public static string GetName(this HttpResponseHeader header) in GetName()
|
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/test/java/org/zaproxy/zap/extension/httppanel/view/impl/models/http/ |
H A D | HttpPanelViewModelUtilsUnitTest.java | 36 import org.parosproxy.paros.network.HttpResponseHeader; 63 HttpResponseHeader responseHeader = spy(HttpResponseHeader.class); in shouldUpdateResponseContentLength()
|
/dports/net-p2p/libktorrent/libktorrent-21.12.3/src/download/ |
H A D | httpresponseheader.h | 10 class HttpResponseHeader 13 HttpResponseHeader(const QString &str) in HttpResponseHeader() function
|