delphi - Get POST Data from TIdHTTPProxyServer -



delphi - Get POST Data from TIdHTTPProxyServer -

i'm trying post info tidhttpproxyserver, using onhttpbeforecommand or onhttpdocument events useless. how can that?

btw, i'm using indy 10, other solutions (with synapse, example) cool.

thanks in advance.

post info not available in onhttpbeforecommand event, has not been read socket yet. http headers available in event.

post info available in onhttpdocument event, under next conditions:

the post request uses non-zero content-length header (as tidhttpproxyserver not yet back upwards transfer-encoding header handle compressed/chunked http messages).

the tidhttpproxyservercontext.transfermode property tmfulldocument when onhttpbeforecommand event exits. default, transfermode set same value tidhttpproxyserver.defaulttransfermode property, tmfulldocument default.

the client sends post request straight tidhttpproxyserver, specifying total url target. if client instead sends connect request straight tidhttpproxyserver found tunnel target server , sends post request through tunnel target server (for instance, when establishing ssl sessions https requests), tidhttpproxyserver not expose access data. straight pass-through 1 socket another.

delphi indy indy10

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -