- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for body (0.16 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
server.enqueue(MockResponse(body = "abc")) server.enqueue(MockResponse(body = "def")) // Call 1: set a deadline on the response body. val request1 = Request.Builder().url(server.url("/")).build() val response1 = client.newCall(request1).execute() val body1 = response1.body.source() assertThat(body1.readUtf8()).isEqualTo("abc") body1.timeout().deadline(5, TimeUnit.SECONDS)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
Request( url = server.url("/"), body = body.toRequestBody(), ), ) assertThat(response.code).isEqualTo(200) response.body.byteStream().close() val recordedRequest1 = server.takeRequest() assertThat(recordedRequest1.method).isEqualTo("POST") assertThat(recordedRequest1.body.readUtf8()).isEqualTo(body) assertThat(recordedRequest1.headers["Authorization"]).isNull()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) // assert the http response status code. c.Assert(response.StatusCode, http.StatusOK) var buffer bytes.Buffer // extract the body of the response. responseBody, err := io.ReadAll(response.Body) c.Assert(err, nil) // assert the http response body content. c.Assert(true, bytes.Equal(responseBody, buffer.Bytes())) } func (s *TestSuiteCommon) TestBucket(c *check) { // generate a random bucket name.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
fastapi/routing.py
try: body: Any = None if body_field: if is_body_form: body = await request.form() file_stack.push_async_callback(body.close) else: body_bytes = await request.body() if body_bytes: json_body: Any = Undefined
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 170.1K bytes - Viewed (0) -
cmd/object-handlers_test.go
t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testCase.expectedRespStatus, rec.Code) } // read the response body. actualContent, err := io.ReadAll(rec.Body) if err != nil { t.Fatalf("Test %d: %s: Failed reading response body: <ERROR> %v", i+1, instanceType, err) } if rec.Code == http.StatusOK || rec.Code == http.StatusPartialContent {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sun Mar 10 21:09:36 GMT 2024 - 160K bytes - Viewed (0) -
tensorflow/c/c_api.cc
if (params.cond_graph == nullptr || params.body_graph == nullptr || params.cond_graph->parent == nullptr || params.cond_graph->parent != params.body_graph->parent || params.cond_graph->parent_inputs != params.body_graph->parent_inputs || params.ninputs <= 0 || params.cond_inputs == nullptr || params.body_inputs == nullptr || params.body_outputs == nullptr) { s->status = InvalidArgument(
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
src/main/webapp/js/admin/popper.min.js.map
element\n * @returns {Element} scroll parent\n */\nexport default function getScrollParent(element) {\n // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n if (!element) {\n return document.body\n }\n\n switch (element.nodeName) {\n case 'HTML':\n case 'BODY':\n return element.ownerDocument.body\n case '#document':\n return element.body\n }\n\n // Firefox want us to check `-x` and `-y` variations as well\n const { overflow, overflowX, overflowY...
Plain Text - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Fri Feb 07 10:28:50 GMT 2020 - 121K bytes - Viewed (2) -
src/main/webapp/js/bootstrap.min.js.map
`${parseFloat(calculatedMargin) - this._scrollbarWidth}px`)\n })\n\n // Adjust body padding\n const actualPadding = document.body.style.paddingRight\n const calculatedPadding = $(document.body).css('padding-right')\n $(document.body)\n .data('padding-right', actualPadding)\n .css('padding-right', `${parseFloat(calculatedPadding) + this._scrollbarWidth}px`)\n }\n\n $(document.body).addClass(ClassName.OPEN)\n }\n\n _resetScrollbar() {\n // Restore fixed content...
Plain Text - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Sat Jan 11 06:54:28 GMT 2020 - 189.9K bytes - Viewed (0) -
src/main/webapp/js/admin/bootstrap.min.js.map
`${parseFloat(calculatedMargin) - this._scrollbarWidth}px`)\n })\n\n // Adjust body padding\n const actualPadding = document.body.style.paddingRight\n const calculatedPadding = $(document.body).css('padding-right')\n $(document.body)\n .data('padding-right', actualPadding)\n .css('padding-right', `${parseFloat(calculatedPadding) + this._scrollbarWidth}px`)\n }\n\n $(document.body).addClass(ClassName.OPEN)\n }\n\n _resetScrollbar() {\n // Restore fixed content...
Plain Text - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Fri Feb 07 10:28:50 GMT 2020 - 185.8K bytes - Viewed (0)