c0de net 0.1.0Diese Seite auf Deutsch

HTTP_TRACE ​

Sends a TRACE request: the server sends the request back as it received it.

Use it to see what a proxy changes. Many servers don't allow TRACE and answer with 405.

Parameters and results

  • connection STRUCT c0de_net/http/HTTP_CONNECTION: the server
  • endpoint STRING: the path behind the base endpoint (optional, default empty)
  • result result STRING: the raw data of the answer
  • result status INTEGER: the HTTP status
  • result headers HASH STRING: the headers of the answer

Example

c0de
CALL c0de_net/http/HTTP_TRACE
    PARAMETER connection api ;
    RESULT result echo