Kōtuku
  • Gallery
  • API
  • Wiki
  • GitHub
    •  Overview
    • Audio
    • Config
    • Core
    • Display
    • Document
    • Font
    • HTTP
    • Network
    • Regex
    • SVG
    • Tiri
    • Vector
    • XML
    • XQuery
    • XRandR
      • Audio
      • MP3
      • Sound
      • File
      • MetaClass
      • Module
      • StorageDevice
      • Task
      • Thread
      • Time
      • Compression
      • CompressedStream
      • Config
      • LZMAStream
      • Script
      • Tiri
      • XML
      • XQuery
      • Controller
      • BlurFX
      • ColourFX
      • CompositeFX
      • ConvolveFX
      • DisplacementFX
      • FilterEffect
      • FloodFX
      • ImageFX
      • LightingFX
      • MergeFX
      • MorphologyFX
      • OffsetFX
      • RemapFX
      • SourceFX
      • TurbulenceFX
      • WaveFunctionFX
      • Scintilla
      • Bitmap
      • Clipboard
      • Display
      • Document
      • Font
      • Image
      • Pointer
      • Surface
      • SVG
      • ClientSocket
      • HTTP
      • NetClient
      • NetLookup
      • NetServer
      • NetSocket
      • Proxy
      • Gradient
      • GradientConic
      • GradientContour
      • GradientDiamond
      • GradientDiffusion
      • GradientDistal
      • GradientGouraud
      • GradientLinear
      • GradientMesh
      • GradientRadial
      • GradientVoronoi
      • Vector
      • VectorClip
      • VectorColour
      • VectorEllipse
      • VectorFilter
      • VectorGradient
      • VectorGroup
      • VectorImage
      • VectorPath
      • VectorPattern
      • VectorPolygon
      • VectorRectangle
      • VectorScene
      • VectorShape
      • VectorSpiral
      • VectorText
      • VectorTransition
      • VectorViewport
      • VectorWave
      • Linux Builds
      • Windows Builds
      • Customising Your Build
      • Kōtuku Objects
      • Kōtuku In Depth
      • Kōtuku Design Patterns
      • Coding With AI
      • Regex Manual
      • XML Comparisons
      • Tiri Reference Manual
      • Config API
      • Defer Syntax
      • GUI API
      • HTTP Server API
      • I/O API
      • JSON API
      • OAuth API
      • Options API
      • Proxy Server API
      • Tempus API
      • URL API
      • VFX API
      • Widgets
      • RIPL Reference Manual
      • Origo
      • Flute / Unit Testing
      • Tuku
      • Embedded Document Format
      • TDL Reference Manual
      • TDL Tools
      • Action Reference Manual
      • System Error Codes

HTTP Module

Functions

Classes

HTTP

Constants

HGS | HOM | HTF | HTM | HTS

HGS Type

Options for defining an HTTP object's state.

NameDescription
HGS::AUTHENTICATEDFollowing successful authentication, this state value will be set.
HGS::AUTHENTICATINGIf authentication is requested from the server, the HTTP object will enter this state.
HGS::COMPLETEDThis state indicates that the HTTP request was completed in a normal manner.
HGS::READING_CONTENTThe client will remain in this state when the server is sending data to the client.
HGS::READING_HEADERThe default state - this value will be indicated when no data is being written to the server and the client is waiting for a complete header from the server.
HGS::SENDING_CONTENTDuring the uploading of data to the server (e.g. POST), the HTTP object will remain in this state.
HGS::SEND_COMPLETEOn successful completion of the send phase, the state changes to SEND_COMPLETE. Successful completion requires either that the number of bytes indicated in ContentLength have been sent, or ERR::Terminate has been returned by the callback functions.
HGS::TERMINATEDIf an HTTP command fails to complete normally - for instance if the connection is broken before completion - then the state is set to TERMINATED.
HTTP module documentation © Paul Manias © 2005-2026

HOM Type

Output mode.

NameDescription
HOM::DATA_FEEDUse the DataFeed() action to send data to the targeted object.
HOM::READ_WRITEUse the Write() action to send data to the targeted object.
HTTP module documentation © Paul Manias © 2005-2026

HTF Type

HTTP flags

NameDescription
HTF::DEBUG_SOCKETLog all HTTP headers and data that goes out through the socket. This should only be used when sending plain-text data.
HTF::DISABLE_SERVER_VERIFYDisable SSL server certificate verification (use with caution).
HTF::MESSAGEWhen activating child objects, send delayed messages to postpone execution rather than making direct calls.
HTF::MOVEDRead-only. Indicates that the HTTP source was moved (HTS::MOVED_PERMANENTLY).
HTF::NO_AUTO_REDIRECTDo not automatically follow 301 responses.
HTF::NO_DIALOGTurn off the username/password dialog.
HTF::NO_HEADDo not send a HEAD prior to executing a PUT or POST (removes the authentication check).
HTF::RAWForcibly turns off chunk detection and chunk handling on incoming data. Also turns off automatic chunk encoding for outgoing data.
HTF::RECV_BUFFEREnables buffering of all received HTTP content into a local buffer. The buffer information can be read at any time during and after the transaction through the RecvBuffer field. Note that this option should only be used for limited data transfers to avoid excessive memory usage.
HTF::REDIRECTEDRead-only. Indicates that the HTTP request was redirected (HTS::TEMP_REDIRECT).
HTF::RESUMEEnables resuming when downloading content. Only applies when a file is being targeted and the file already exists.
HTF::SSLForce SSL connectivity, irrespective of the HTTP port. Note that this flag is automatically set (and remains set for all future transfers) if the Port field is set to 443.
HTTP module documentation © Paul Manias © 2005-2026

HTM Type

The HTTP Method to use when the object is activated.

NameDescription
HTM::BCOPYWebDAV instruction.
HTM::BDELETEWebDAV instruction.
HTM::BMOVEWebDAV instruction.
HTM::BPROPFINDWebDAV instruction.
HTM::BPROPPATCHWebDAV instruction.
HTM::COPYWebDAV instruction.
HTM::DELETEDeletes a file from the HTTP server, location indicated by the Path field.
HTM::GETRetrieves files from the HTTP server. The Path field will indicate which file to retrieve.
HTM::HEADA HEAD request is equivalent to a GET without the content.
HTM::LOCKWebDAV instruction.
HTM::MKCOLWebDAV instruction.
HTM::MOVEWebDAV instruction.
HTM::NOTIFYWebDAV instruction.
HTM::OPTIONSRequest permitted communication options for a given URL or server.
HTM::PATCHApplies partial modifications to a resource.
HTM::POLLWebDAV instruction.
HTM::POSTSends information to the HTTP server.
HTM::PROPFINDWebDAV instruction.
HTM::PROPPATCHWebDAV instruction.
HTM::PUTUploads a file to the HTTP server. The data will be read from the InputFile or InputObject references.
HTM::SEARCHWebDAV instruction.
HTM::SUBSCRIBEWebDAV instruction.
HTM::TRACEPerform a message loop-back test along the path to the target resource.
HTM::UNLOCKWebDAV instruction.
HTM::UNSUBSCRIBEWebDAV instruction.
HTTP module documentation © Paul Manias © 2005-2026

HTS Type

HTTP status codes

NameDescription
HTS::ACCEPTED
HTS::BAD_GATEWAY
HTS::BAD_REQUEST
HTS::CONFLICT
HTS::CONTINUE
HTS::CREATED
HTS::ENTITY_TOO_LARGE
HTS::EXPECTATION_FAILED
HTS::FORBIDDEN
HTS::FOUND
HTS::GATEWAY_TIMEOUT
HTS::GONE
HTS::LENGTH_REQUIRED
HTS::METHOD_NOT_ALLOWED
HTS::MOVED_PERMANENTLY
HTS::MULTIPLE_CHOICES
HTS::NOT_ACCEPTABLE
HTS::NOT_FOUND
HTS::NOT_IMPLEMENTED
HTS::NOT_MODIFIED
HTS::NO_CONTENT
HTS::OKAY
HTS::OUT_OF_RANGE
HTS::PARTIAL_CONTENT
HTS::PAYMENT_REQUIRED
HTS::PRECONDITION_FAILED
HTS::PROXY_AUTHENTICATION
HTS::REQUEST_TIMEOUT
HTS::RESET_CONTENT
HTS::SEE_OTHER
HTS::SERVER_ERROR
HTS::SERVICE_UNAVAILABLE
HTS::SWITCH_PROTOCOLS
HTS::TEMP_REDIRECT
HTS::UNAUTHORISED
HTS::UNSUPPORTED_MEDIA
HTS::UNVERIFIED_CONTENT
HTS::URI_TOO_LONG
HTS::USE_PROXY
HTS::VERSION_UNSUPPORTED
HTTP module documentation © Paul Manias © 2005-2026