pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Protocols
Protocols.HTTP
Protocols.HTTP.Query

Protocols.HTTP.Query()->file()


Method file

Protocols.HTTP.Query.PseudoFile file()
Protocols.HTTP.Query.PseudoFile file(mapping newheaders, void|mapping removeheaders)

Description

Gives back a pseudo-file object, with the methods read() and close(). This could be used to copy the file to disc at a proper tempo.

newheaders , removeheaders is applied as: (oldheaders|newheaders))-removeheaders Make sure all new and remove-header indices are lower case.

See also

datafile()

Module reference for Pike v7.8 release 116, 2008-12-31