Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# Copyright (c) 2014, Facebook, Inc. All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. #
"""A WebRequest handler that integrates HTTP with a thrift `Processor`.
This handler MUST be initialized with a `processor` kwarg in an application config that includes it. """
"""Thrift HTTP POST request.
Translates the POST body to the thrift request, and returns the serialized thrift message in the response body. Sets the approprate HTTP Content-Type header as well. """ |