parameters: (params, boundary)
return_statement: return headers
docstring: Returns a dictionary with Content-Type and Content-Length headers
      for the multipart/form-data encoding of ``params``.
docstring_summary: Returns a dictionary with Content-Type and Content-Length headers
      for the multipart/form-data encoding of ``params``.
docstring_tokens: Returns a dictionary with Content - Type and Content - Length headers for the multipart / form - data encoding of params .
function: def get_headers(params, boundary):
      """Returns a dictionary with Content-Type and Content-Length headers
      for the multipart/form-data encoding of ``params``."""
      headers = {}
      boundary = urllib.quote_plus(boundary)
      headers['Content-Type'] = "multipart/form-data; boundary=%s" % boundary
      headers['Content-Length'] = str(get_body_size(params, boundary))
      return headers
function_tokens: def get_headers ( params , boundary ) : headers = { } boundary = urllib . quote_plus ( boundary ) headers [ 'Content-Type' ] = "multipart/form-data; boundary=%s" % boundary headers [ 'Content-Length' ] = str ( get_body_size ( params , boundary ) ) return headers