Home
last modified time | relevance | path

Searched refs:request_body (Results 1 – 25 of 26) sorted by relevance

12

/third_party/libsoup/tests/
Dchunk-test.c31 soup_message_body_append_buffer (msg->request_body, in write_next_chunk()
36 soup_message_body_complete (msg->request_body); in write_next_chunk()
50 chunk = soup_message_body_get_chunk (msg->request_body, ptd->nfreed); in write_next_chunk_streaming_hack()
53 soup_message_body_wrote_chunk (msg->request_body, chunk); in write_next_chunk_streaming_hack()
132 soup_message_body_truncate (msg->request_body); in restarted_streaming_hack()
172 soup_message_body_set_accumulate (msg->request_body, FALSE); in do_request_test()
200 g_assert_null (msg->request_body->data); in do_request_test()
201 g_assert_cmpint (msg->request_body->length, ==, length); in do_request_test()
293 chunk = soup_message_body_get_chunk (msg->request_body, 5); in temp_test_wrote_chunk()
321 soup_message_body_append (msg->request_body, SOUP_MEMORY_TEMPORARY, in do_temporary_test()
[all …]
Dxmlrpc-old-server-test.c212 if (!soup_xmlrpc_parse_method_call (msg->request_body->data, in server_callback()
213 msg->request_body->length, in server_callback()
Dxmlrpc-server-test.c210 method_name = soup_xmlrpc_parse_request (msg->request_body->data, in server_callback()
211 msg->request_body->length, in server_callback()
Dcontinue-test.c445 } else if (msg->request_body->length > MAX_POST_LENGTH) { in server_callback()
Dredirect-test.c347 if (msg->request_body->length) { in server_callback()
Dserver-test.c974 soup_message_body_set_accumulate (msg->request_body, TRUE); in early_stream_callback()
992 soup_message_body_append (msg->request_body, SOUP_MEMORY_COPY, in do_early_stream_test()
/third_party/cef/tools/
Dcrash_server.py269 request_body = self._unchunk_request(compressed)
274 request_body = self.rfile.read(content_length)
276 request_body = self.rfile.read()
278 request_body = zlib.decompress(request_body, 16 + zlib.MAX_WBITS)
281 form_data = self._parse_post_data(request_body)
/third_party/cef/libcef/browser/net_service/
Dbrowser_urlrequest_impl.cc300 auto request_body = resource_request->request_body; in ContinueOnOriginatingThread() local
301 resource_request->request_body = nullptr; in ContinueOnOriginatingThread()
305 if (request_body) { in ContinueOnOriginatingThread()
327 if (request_body) { in ContinueOnOriginatingThread()
328 if (request_body->elements()->size() == 1) { in ContinueOnOriginatingThread()
329 const auto& element = (*request_body->elements())[0]; in ContinueOnOriginatingThread()
360 } else if (request_body->elements()->size() > 1) { in ContinueOnOriginatingThread()
/third_party/libsoup/examples/
Dsimple-httpd.c179 fwrite (msg->request_body->data, 1, msg->request_body->length, f); in do_put()
199 if (msg->request_body->length) in server_callback()
200 g_print ("%s\n", msg->request_body->data); in server_callback()
Dsimple-proxy.c302 if (msg->request_body->length) { in server_callback()
303 SoupBuffer *request = soup_message_body_flatten (msg->request_body); in server_callback()
304 soup_message_body_append_buffer (msg2->request_body, request); in server_callback()
/third_party/python/Lib/xmlrpc/
Dclient.py1162 def request(self, host, handler, request_body, verbose=False): argument
1166 return self.single_request(host, handler, request_body, verbose)
1175 def single_request(self, host, handler, request_body, verbose=False): argument
1178 http_conn = self.send_request(host, handler, request_body, verbose)
1278 def send_request(self, host, handler, request_body, debug): argument
1291 self.send_content(connection, request_body)
1312 def send_content(self, connection, request_body): argument
1315 self.encode_threshold < len(request_body) and
1318 request_body = gzip_encode(request_body)
1320 connection.putheader("Content-Length", str(len(request_body)))
[all …]
/third_party/libsoup/libsoup/
Dsoup-logger.c633 if (msg->request_body->length && in print_request()
634 soup_message_body_get_accumulate (msg->request_body)) { in print_request()
637 request = soup_message_body_flatten (msg->request_body); in print_request()
643 "\n%s", msg->request_body->data); in print_request()
721 if (msg->status_code == SOUP_STATUS_CONTINUE && msg->request_body->data) { in got_informational()
735 "%s", msg->request_body->data); in got_informational()
Dsoup-message-client-io.c126 (msg->request_body->length > 0 || in get_request_headers()
131 msg->request_body->length); in get_request_headers()
Dsoup-message.c161 msg->request_body = soup_message_body_new (); in soup_message_init()
189 soup_message_body_free (msg->request_body); in soup_message_finalize()
307 g_value_set_boxed (value, msg->request_body); in soup_message_get_property()
310 buf = soup_message_body_flatten (msg->request_body); in soup_message_get_property()
349 body = priv->server_side ? msg->request_body : msg->response_body; in soup_message_real_got_body()
1102 soup_message_body_append (msg->request_body, req_use, in soup_message_set_request()
1107 soup_message_body_truncate (msg->request_body); in soup_message_set_request()
1219 soup_message_body_truncate (msg->request_body); in soup_message_restarted()
1537 priv->server_side ? msg->request_body : msg->response_body, in soup_message_set_flags()
Dsoup-form.c164 msg->request_body); in soup_form_decode_multipart()
489 msg->request_body); in soup_form_request_new_from_multipart()
Dsoup-message.h32 SoupMessageBody *request_body; member
Dsoup-message-io.c1216 io->write_body = item->msg->request_body; in soup_message_io_client()
1244 io->read_body = msg->request_body; in soup_message_io_server()
/third_party/gstreamer/gstplugins_good/ext/soup/
Dgstsouphttpclientsink.c686 souphttpsink->request_body); in send_message_locked()
727 souphttpsink->request_body = g_byte_array_free_to_bytes (array); in send_message_locked()
729 NULL, souphttpsink->request_body); in send_message_locked()
748 g_clear_pointer (&souphttpsink->request_body, g_bytes_unref); in send_message_locked()
760 g_clear_pointer (&souphttpsink->request_body, g_bytes_unref); in send_message_locked()
767 g_clear_pointer (&souphttpsink->request_body, g_bytes_unref); in send_message_locked()
Dgstsouphttpclientsink.h49 GBytes *request_body; member
Dgstsouploader.c517 soup_message_body_append (msg->request_body, SOUP_MEMORY_COPY, data, size); in _soup_message_set_request_body_from_bytes()
532 gst_soup_vtable._soup_message_body_append_2 (msg2->request_body, in _soup_message_set_request_body_from_bytes()
/third_party/cef/libcef/common/
Drequest_impl.cc418 if (request->request_body) { in Set()
420 static_cast<CefPostDataImpl*>(postdata_.get())->Set(*request->request_body); in Set()
454 request->request_body = in Get()
456 } else if (request->request_body) { in Get()
457 request->request_body = nullptr; in Get()
/third_party/gstreamer/gstplugins_good/ext/soup/stub/
Dsoup.h152 SoupMessageBody *request_body; member
/third_party/cef/libcef/renderer/
Drender_urlrequest_impl.cc136 if (resource_request->request_body) { in Start()
137 const auto& elements = *resource_request->request_body->elements(); in Start()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dsouphttpsrc.c66 #define soup_server_message_get_request_body(x) (x->request_body)
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dplay.c1608 if (msg->request_body->length) in server_callback()
1609 GST_DEBUG ("%s", msg->request_body->data); in server_callback()

12