| Extracted from Pike v7.8 release 866 at 2018-02-09.

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

# Method 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()