/thrift-3.4.0/lib/nodejs/lib/thrift/ |
D | web_server.js | 321 function VerifyCORSAndSetHeaders(request, response) { argument 322 if (request.headers.origin && options.cors) { 323 if (options.cors["*"] || options.cors[request.headers.origin]) { 325 response.setHeader("access-control-allow-origin", request.headers.origin); 342 function processOptions(request, response) { argument 343 if (VerifyCORSAndSetHeaders(request, response)) { 346 response.writeHead("403", "Origin " + request.headers.origin + " not allowed", {}); 354 function processPost(request, response) { argument 356 var uri = url.parse(request.url).pathname; 365 if (!VerifyCORSAndSetHeaders(request, response)) { [all …]
|
D | http_connection.js | 222 https.request(opts, self.responseCallback) : 223 http.request(opts, self.responseCallback);
|
/thrift-3.4.0/lib/rb/lib/thrift/server/ |
D | mongrel_http_server.rb | 32 def process(request, response) argument 33 if request.params["REQUEST_METHOD"] == "POST" 36 transport = IOStreamTransport.new request.body, out
|
D | thin_http_server.rb | 61 request = Rack::Request.new(env) 62 if RackApplication.valid_thrift_request?(request) 63 RackApplication.successful_request(request, processor, protocol_factory)
|
/thrift-3.4.0/lib/swift/Sources/ |
D | THTTPSessionTransport.swift | 70 …func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Err… 72 …let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandle… 114 var request = URLRequest(url: factory.url) variable 115 request.httpMethod = "POST" 116 request.httpBody = requestData 121 … task = try factory.taskWithRequest(request, completionHandler: { (data, response, taskError) in
|
/thrift-3.4.0/ |
D | CONTRIBUTING.md | 11 This is the preferred method of submitting changes. When you submit a pull request through github, 14 for a successful pull request: 19 …1. The pull request title must begin with the Jira THRIFT ticket identifier if it has an associate… 21 THRIFT-9999: an example pull request title 38 …nt to check your changes before they are made public. Every GitHub pull request into Thrift will … 42 …a pull request going from your branch to apache:master. Ensure that the Jira ticket number is at … 63 1. Contribute your code changes using the GitHub pull request method: 71 … changes and incurs additional overhead for committers who must then create a pull request for you. 79 …request yet, or if you have not yet rebased your existing pull request, you can squash all your co… 87 If you already have a pull request outstanding, you will need to do a "force push" to overwrite it … [all …]
|
/thrift-3.4.0/lib/py/src/transport/ |
D | TTwisted.py | 308 def getChild(self, path, request): argument 311 def _cbProcess(self, _, request, tmo): argument 313 request.setResponseCode(http.OK) 314 request.setHeader("content-type", "application/x-thrift") 315 request.write(msg) 316 request.finish() 318 def render_POST(self, request): argument 319 request.content.seek(0, 0) 320 data = request.content.read() 328 d.addCallback(self._cbProcess, request, tmo)
|
D | THttpClient.py | 74 proxy = urllib.request.getproxies()[self.scheme] 78 if urllib.request.proxy_bypass(self.host):
|
/thrift-3.4.0/lib/perl/lib/Thrift/ |
D | HttpClient.pm | 189 my $request = HTTP::Request->new(POST => $self->{url}, undef, $buf); 190 map { $request->header($_ => $self->{headers}->{$_}) } keys %{$self->{headers}}; 191 my $response = $ua->request($request);
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/server/ |
D | TServlet.java | 56 protected void doPost(HttpServletRequest request, HttpServletResponse response) in doPost() argument 70 InputStream in = request.getInputStream(); in doPost() 91 protected void doGet(HttpServletRequest request, HttpServletResponse response) in doGet() argument 93 doPost(request, response); in doGet()
|
D | TExtensibleServlet.java | 104 protected void doPost(HttpServletRequest request, HttpServletResponse response) in doPost() argument 118 InputStream in = request.getInputStream(); in doPost()
|
/thrift-3.4.0/lib/delphi/test/skip/ |
D | skiptest_version1.dpr | 43 REQUEST_EXT = '.request'; 66 Writeln('- performing request from version '+IntToStr(ping.Version1)+' client'); 91 Writeln('- creating new request'); 96 // save request data 124 // load request data 144 Writeln('- processing request'); 150 // process request and write response data 171 // try to read an existing request 178 // create a new request and try to process
|
D | skiptest_version2.dpr | 43 REQUEST_EXT = '.request'; 94 Writeln('- performing request from version '+IntToStr(ping.Version1)+' client'); 119 Writeln('- creating new request'); 124 // save request data 152 // load request data 172 Writeln('- processing request'); 178 // process request and write response data 199 // try to read an existing request 207 // create a new request and try to process
|
/thrift-3.4.0/tutorial/js/src/ |
D | Httpd.java | 106 …public void handle(final HttpRequest request, final HttpResponse response, final HttpContext conte… in handle() argument 108 String method = request.getRequestLine().getMethod().toUpperCase(Locale.ENGLISH); in handle() 112 String target = request.getRequestLine().getUri(); in handle() 114 … if (request instanceof HttpEntityEnclosingRequest && target.equals("/thrift/service/tutorial/")) { in handle() 115 HttpEntity entity = ((HttpEntityEnclosingRequest) request).getEntity(); in handle()
|
/thrift-3.4.0/lib/dart/test/transport/ |
D | t_http_transport_test.dart | 47 var expectedText = 'my request'; 65 transport.writeAll(utf8Codec.encode('my request')); 96 transport.writeAll(utf8Codec.encode('request 1')); 106 transport.writeAll(utf8Codec.encode('request 2')); 169 Future<StreamedResponse> send(BaseRequest request) =>
|
/thrift-3.4.0/lib/js/test/src/test/ |
D | Httpd.java | 111 …public void handle(final HttpRequest request, final HttpResponse response, final HttpContext conte… in handle() argument 113 String method = request.getRequestLine().getMethod().toUpperCase(Locale.ENGLISH); in handle() 117 String target = request.getRequestLine().getUri(); in handle() 119 if (request instanceof HttpEntityEnclosingRequest && target.equals("/service")) { in handle() 120 HttpEntity entity = ((HttpEntityEnclosingRequest) request).getEntity(); in handle()
|
/thrift-3.4.0/tutorial/dart/server/bin/ |
D | main.dart | 72 httpServer.listen((HttpRequest request) async { 73 if (request.uri.path == '/ws') { 74 _webSocket = await WebSocketTransformer.upgrade(request); 77 print('Invalid path: ${request.uri.path}');
|
/thrift-3.4.0/doc/specs/ |
D | SequenceNumbers.md | 14 used in the request. This includes any exception-based reply. 22 sent by the client. The server's only job is to process the request and reply
|
/thrift-3.4.0/lib/haxe/src/org/apache/thrift/transport/ |
D | THttpClient.hx | 70 …hrow new TTransportException(TTransportException.UNKNOWN, "Response buffer is empty, no request."); 115 // the request 117 request_.request(true/*POST*/);
|
/thrift-3.4.0/lib/cpp/src/thrift/async/ |
D | TEvhttpServer.h | 55 static void request(struct evhttp_request* req, void* self);
|
D | TEvhttpServer.cpp | 76 evhttp_set_cb(eh_, "/", request, (void*)this); in TEvhttpServer() 102 void TEvhttpServer::request(struct evhttp_request* req, void* self) { in request() function in apache::thrift::async::TEvhttpServer
|
/thrift-3.4.0/doc/ |
D | committers.md | 37 …If this is a github pull request then add the below comment to automatically close the GitHub requ…
|
/thrift-3.4.0/lib/haxe/src/org/apache/thrift/server/ |
D | TSimpleServer.hx | 93 … // That is to say it may be many minutes between the event firing and the client request 94 … // actually arriving or the client may hang up without ever makeing a request. 99 //Process client request (blocks until transport is readable)
|
/thrift-3.4.0/lib/go/ |
D | README.md | 123 handlers (along with roughly 2 goroutines per request). 140 the last received request to be handled, as the time spent by Stop 143 clients to finish handling the last received request. 146 last received request.
|
/thrift-3.4.0/test/keys/ |
D | README.md | 37 create a signing request: 64 create a signing request:
|