Skip to content

p:http request notes

Norman Walsh edited this page Nov 10, 2019 · 6 revisions

Options

  • href
  • method=GET
  • auth
    • username
    • password
    • method
    • preemptive-auth
    • certificates
  • serialization (map)
  • headers (map)
  • parameters
    • content-type (replaces override-content-type)
    • http-version
    • multipart (boolean)
    • content-encoding (overrides header)
    • transfer-encoding
    • permit-expired-ssl-certificate
    • permit-untrusted-ssl-certificate
    • follow-redirect (number of hops)
    • timeout
    • status-only
    • fail-on-timeout
    • suppress-cookies

Input

  • A document or sequence of documents.
  • Document properties are sent as headers
    • base-uri is not sent
    • serialization is not sent

Results

  • result port (zero or more documents)
  • report port (a map containing the headers of the response)

For multipart responses

  • The headers for each part go in the document properties
  • Header values are normalized to lower-case
Clone this wiki locally